Question: (6 marks) Question 3: Consider a program which contains 1 million instructions is going to run on a computer with CPU of 4.5GHz. The program

 (6 marks) Question 3: Consider a program which contains 1 million

(6 marks) Question 3: Consider a program which contains 1 million instructions is going to run on a computer with CPU of 4.5GHz. The program contains 3 classes of instructions. The CPI and number of instructions of the 3 classes are listed below: R=10+Y,S=10+Z For example, if your student number is "12345678", R=17 and S=18. (a) Find the average CPI of the program running on the given computer. (1 mark) (b) Find the CPU time required to run this program on the given computer (unit = s). (1 mark) (c) Find the throughput of the given computer on running the program. (unit = MIPS) ( 1 mark) (d) There are two designs to improve the overall performance. (i) The first design is to replace a hardware component. After replacing the component, the CPI of class C instructions is reduced, but the CPI of class A and class B instructions are increased as follows. Find the overall speedup to the system. ( 2 marks) (ii) The second design is to overclock the CPU to 6.3GHz (assume it is feasible). Determine whether the first or second design would give a better improvement. Briefly explain (1 mark)

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!