C F C P S (CS61063) : Tutorial 1
C F C P S (CS61063) : Tutorial 1
SYSTEMS (CS61063)
Tutorial 1
Pipelining
No pipeline
pipelined
Pipelining
• Consider a k-segment pipeline and n tasks need to
be executed
• Each task takes tn time unit to complete in a non-
pipeline architecture
• Each sub-task takes tp time unit to complete in a
pipelined architecture
9/16/2020
Pipelining: Problem 2
Consider an instruction pipeline with 4 stages with the stage delays 5 nsec, 6
nsec, 11 nsec, and 8 nsec respectively. The delay of an inter-stage register
stage of the pipeline is 1 nsec. What is the approximate speedup of the
pipeline in the steady state under ideal conditions as compared to the
corresponding non-pipelined implementation?
Then the Speedupoverall is the ratio of the new and old execution times i.e.
how much faster the task will run now using the enhancement against the
unenhanced/original computer.
Amdahl’s Law: Problem 1
A common transformation required in graphics processors is square root.
Suppose Floating Point square root (FPSQR) is responsible for 20% of the
execution time of a critical graphics benchmark.
Proposal 1 : Enhance the FPSQR hardware and speed up this operation by a
factor of 10.
Proposal 2 : Try to make all Floating Point (FP) instructions in the graphics
processor run faster by a factor of 1.7.
If FP instructions are responsible for half of the execution time for the
application, compare these two design alternatives.
Amdahl’s Law: Problem 1
Soln.
Since,