Parallel Processing Pipelining Characteristics of Multiprocessors Interconnection Structures Inter Processor Arbitration Inter Processor Communication and Synchronization
Parallel Processing Pipelining Characteristics of Multiprocessors Interconnection Structures Inter Processor Arbitration Inter Processor Communication and Synchronization
Parallel Processing
Pipelining
Characteristics of Multiprocessors
Interconnection Structures
Instruction stream
Characteristics
Control Unit
Instruction stream
Alignment network
Characteristics
- Only one copy of the program exists
- A single controller executes one instruction at a time
MISD
M CU P
M CU P Memory
• •
• •
• •
M CU P Data stream
Instruction stream
Characteristics
- There is no computer at present that can be classified as MISD
MIMD
P M P M ••• P M
Interconnection Network
Shared Memory
Characteristics
- Multiple processing units
- Message-passing multicomputers
Pipelining
A technique of decomposing a sequential process into sub operations, with
each sub process being executed in a special dedicated segment that
operates concurrently with all other segments.
- Each segment performs partial processing dictated by the way the task is
dictated
- The final result is obtained after data has been passed through all
segment
Pipelining
Simplest way to understand pipelining is to imagine that each segment
consist of input register followed by combinational circuit. The o/p of
combinational circuit in a segment is applied to i/p register of next segment
Ai * Bi + Ci for i = 1, 2, 3, ... , 7
Ai Bi MemoryCi
Segment 1
R1 R2
Multiplier
Segment 2
R3 R4
Adder
Segment 3
R5
Input S1 R1 S2 R2 S3 R3 S4 R4
Space-Time Diagram
1 2 3 4 5 6 7 8 9 Clock cycles
Segment 1 T1 T2 T3 T4 T5 T6
2 T1 T2 T3 T4 T5 T6
3 T1 T2 T3 T4 T5 T6
4 T1 T2 T3 T4 T5 T6
Pipeline SpeedUp
Speedup
Sk: Speedup
Sk = n*tn / (k + n - 1)*tp
Pipeline SpeedUp
Then : S= tn/tp
S= ktp/tn = k