printable version

Exam 2 Review A

[1] [2] [3] [4]

Problem R2a.1.

[10 pts] Complete the following.

a. Suppose we have a 1 GHz processor with a classic 5-stage pipeline, where 30% of instructions stall for one clock cycle (and none for more than one). How many instructions will this processor complete per second? (Show your calculations)

b. Suppose we split each stage of the pipeline, so that we now have a 10-stage pipeline, which allows us to run the processor at 1.8 GHz. Now 30% of instructions stall for two clock cycles, while the other 70% do not stall at all. How many instructions will this processor complete per second? (Show your calculations)