24-25 - Parallel Processing PDF
24-25 - Parallel Processing PDF
Lecture24 and 25
Parallel Processing
Parallel processing
The time taken for communication is usually very high when compared
with the processing time.
Architectures Classification
Single processor
Single instruction stream
Data stored in single memory
Lockstep systems are fault-tolerant computer systems that run the same set of operations at
the same time in parallel.
Set of processors
Simultaneously execute different instruction
sequences
Distributed Memory
Shared Memory
Performance of Parallel
Architectures
Important questions:
How fast does a parallel computer run at its
maximal potential?
S: speedup;
P: number of processors.
For the ideal situation, in theory:
S = P; which means E = 1.
S= speed up
communication cost
load balancing of processors
costs of creating and scheduling processes
I/O operations (mostly sequential in nature)
Interconnection Network
The growing need for high performance can not always be satisfied by
computers with a single CPU.
The performance we can get with a parallel computer depends not only
on the number of available processors but is limited by characteristics of
the executed programs.