Question: 1. (16 points) A CPU has two implementations: a multi-cycle (CPUm) and a pipelined (CPUp), both have a clock frequency of 1 GHz. We have

 1. (16 points) A CPU has two implementations: a multi-cycle (CPUm)

1. (16 points) A CPU has two implementations: a multi-cycle (CPUm) and a pipelined (CPUp), both have a clock frequency of 1 GHz. We have an application program P that executes 10 billion instructions (109). CPUm has an average CPI on P of 4 instructions/cycle. CPUp has 8 pipeline stages and an average of 0.1 stall cycles/instruction. a. (4 points) Compute the execution time of P on CPUm: b. (4 points) Compute the execution time of P on CPUP: C. (2 points) Compute the speedup. d. (4 points) Modifying CPUp to have a pipeline of 16 stages allows us to reduce the clock cycle time by half, this is CPUP2, but the stall cycles per instruction are now doubled. Compute the execution time of P on CPUp2. e. (2 points) Compute the speedup of CPUP2 over CPUp

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!