Multiprocessor Systems
Multiprocessor Systems
SYSTEMS
LEVEL 2, SOFTWARE ENGINEERING STUDENT
CONTENTS
01 MULTIPROCESSOR SYSTEM
02 MULTICOMPUTER SYSTEMS
03 VIRTUALIZATION
04 DISTRIBUTED SYSTEMS
05 PARALLEL COMPUTING
06 MULTITHREADING
07 SOME DIFFERENCES
08 DEADLOCK
MULTIPROCESSOR SYSTEM
A multiprocessor is a computer system with two or more central
processing units (CPUs), with each one sharing the common main
memory as well as the peripherals.
Has two or more CPUs that allow simultaneous A set of processors connected by the
processing of programs communication network that works jointly to
solve a computation problem
Helps to provide resources to a group of users for Helps to deliver packaged resources to a set of
various task users for a particular task
PARALLEL COMPUTING VS DISTRIBUTED
SYSTEMS
PARALLEL COMPUTING DTRIBUTED SYSTEMS
Occurs in a simple computer Involves multiple computer
Computer can have shared or distributed memory Each computer has its own memory
Processors communicate with each other uing a Computers communicate wit each other via the
bus bus
Increase the performance of the system Perform computation tasks efficiently
DEFINITION OF DEADLOCK
• Ths is a situation where a set of processes are blocked because
each process is holding a resource and waiting for another
resource acquired by some other process
Process 1
Process 2
Waiting for
Assigned to
Resource 2
CONDITIONS FOR DEADLOCK
• Mutual exclusion : One or more resource are non-shareable
• Hold and wait : A process is holding at least one resource and waiting
forresources
• Circular wait: A set of processes are waiting for each other in circular
form
DETECTION OF DEADLOCK
• Resource allocation graph. If this graph contains a cycle, then
there is deadlock . Else, there is none.
P2
R1
P1 P3
R2
P4
DEADLOCK HANDLING
• Deadlock prevention or avoidance
• Deadlock detection and recovery
• Ignore the problem all together
THANK YOU