Processor A has a CPI 1.2 and a clock rate of 1 GHz. Processor B has a CPI of 2.
ID: 3854246 • Letter: P
Question
Processor A has a CPI 1.2 and a clock rate of 1 GHz. Processor B has a CPI of 2.0 and a clock rate of 2 GHz. Processor C has a dock rate of 2.5 GHz (400 ps/cycle) and a CPI of 2.6. All three processors implement the same instruction set. Determine the time per instruction for each processor and write it in the correct spot. Which processor is faster? How many times faster is it than the slowest processor? Show your work! Processor A time per instruction___ Processor B time per instruction____ Processor C time per instruction ____ Which is fastest? How many times faster than the slowest?Explanation / Answer
CPU Time = seconds/program = instructions/program * cycles/instruction * second/cycle
T = I * CPI * C
and
GHz = 109 Hz; Second = 109 nanosecond
Processor A time per instruction = CPI * C = 1.2 * 10-9 = 1.2 nanoseconds
Processor B time per instruction = CPI * C = 2 / 2 * 109 = 1 nanoseconds
Processor C time per instruction = CPI * C = 2.6 / 2.5 * 109 = 1.04 nanoseconds
Processor A is faster.
Processor B is slowest.
Processor A is 1.2 times faster than the slowest.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.