Chap 5 New
Chap 5 New
Chap 5 New
COA chap-5 1
Contents
COA chap-5 2
Parallel Processing
COA chap-5 3
Pipelining
COA chap-5 4
Pipelining
The five registers are loaded with new data
every clock pulse
It takes three clock cycles for each process to
compute a result
With out pipeline 21 clock cycles required to
compute
With pipeline only 9 clock cycles
Pipelining is efficient for those applications that
need to repeat the same task many times with
different sets of data.
COA chap-5 5
Computation in pipelined system
COA chap-5 6
Pipelining speed-up
COA chap-5 8
Relating Pipeline to SIMD
COA chap-5 9
Multiple functional units in
Parallel
COA chap-5 10
Application of Pipeline
organization
COA chap-5 11
Arithmetic pipeline
COA chap-5 12
Example of floating point
Add/Subtract pipeline
COA chap-5 13
COA chap-5 14
4-segment Instruction pipeline
COA chap-5 15
Four segment instruction
pipeline
COA chap-5 16
4-segement Instruction pipeline
COA chap-5 17
Pipeline conflicts
data dependency
Procedural dependency
Resource conflicts
COA chap-5 18
True Data Dependency
COA chap-5 19
Procedural Dependency
COA chap-5 21
Dependencies
COA chap-5 22
Vector Processing
COA chap-5 24
Vector operations
COA chap-5 25
COA chap-5 26
Adding of two vectors…
COA chap-5 28
Multiprocessors…
COA chap-5 29
Multiple Processor Organization
COA chap-5 30
Single Instruction, Single Data
Stream - SISD
Single processor
Single instruction stream
Data stored in single memory
Uni-processor
COA chap-5 31
Parallel Organizations - SISD
COA chap-5 32
Single Instruction, Multiple
Data Stream - SIMD
COA chap-5 33
Parallel Organizations - SIMD
COA chap-5 34
Multiple Instruction, Single
Data Stream - MISD
Sequence of data
Transmitted to set of processors
Each processor executes different instruction
sequence
Never been implemented
COA chap-5 35
Multiple Instruction, Multiple
Data Stream- MIMD
Set of processors
Simultaneously execute different instruction
sequences
Different sets of data
SMPs, clusters and NUMA systems
COA chap-5 36
Parallel Organizations - MIMD
Shared Memory
COA chap-5 37
Parallel Organizations - MIMD
Distributed Memory
COA chap-5 38
Taxonomy of Parallel Processor
Architectures
COA chap-5 39
Processors coupling
COA chap-5 40
Amdahl’s Law
Given a program
f : Fraction of time that represents operations
that must be performed serially
Maximum Possible Speedup: S
COA chap-5 41