Beruflich Dokumente
Kultur Dokumente
200 Program
ADD r5,r1,r3 Data bus 200 Counter
CPU
IR
Memory ADD r5,r1,r3
Uses single data and address bus externally but internally there
are two separate busses for program and data
CPU Points to
address Program
memory-
program memory not data
data memory
instructions
instructions data
and
data
Many instructions & addressing modes Few instructions & addressing modes
Or
CISC
?
Laundry Example A B C D
Ann, Brian, Cathy, Dave
each have one load of clothes
to wash, dry, and fold
Washer takes 30 minutes
30 30 30 30 30 30 30 Time
T
a A
s
k B
C
O
D
r
d
e
r
Pipelined laundry takes 3.5 hours for 4 loads!
copyright Cranes Software International Ltd
Pipelining doesn’t help latency of single task, it helps
throughput of entire workload
Multiple tasks operating simultaneously using different
resources
Potential speedup = Number pipe stages
Pipeline rate limited by slowest pipeline stage
Unbalanced lengths of pipe stages reduces speedup
Time to “fill” pipeline and time to “drain” reduces speedup