Question: Frequency UnitComplete the following questions on CPU performance and show all of your work. For longer decimal results, round to three decimal places. 1. Suppose

Frequency UnitComplete the following questions on CPU performance and show all of your work. For longer decimal results, round to three decimal places. 1. Suppose you wish to run a program P with 5 x 10 instructions on a 3 GHz machine with a CPl of 2.3. What is the expected CPU time? 2. Suppose you have the following instruction mix. What is the CPI? Instruction Type _Frequency_Cycles ALU 40 Branch 30 3. Consider two different processors P1 and P2 executing the same instruction set with the clock rates and CPls given in the following table 1. If the processors each execute a program in 15 seconds, find the number of cycles and the number of instructions for each processor 2. We are trying to reduce the program execution time by 20%, but this leads to an increase of 25% in the CPI. What clock rate should we have to get this time reduction for each processor P1 4 GHz P2 4.5 GHz 1.5 You may find this table of clock cycle times and clock rates useful: Time Measurement Time Unit Frequency Unit Seconds (s) Hertz (Hz) 10-3 Milliseconds (ms) 10 Kilohertz (kHz) Microseconds (us) Megahertz (MHz) 109 Nanoseconds (ns) 109 Gigahertz (GHz) 10-12 Picoseconds (ps) 1012 Terahertz (THz)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
