Routine A has 200 million clock cycles and Routine B has 500 million clock cycles. A certain application needsA to be run 5 times and B to be run 4 times.
(I) If the processor can run 60 iterations of the application per minute, determine the clock rate of the processor
(II) If the reference machine can run 15 iterations of the application per minute, what is the SPEC ratio of the processor?
Hello,
Please find
the answer attached as under. Please give a thumbs up rating if you
find the answer useful! Have a rocking day ahead!
(i) The application needs to run A 5 times and B 4 times and the processor needs to do this 60 times per minute. Assuming it to be a single core architecture (No routines executed in parallel), it will take 60*[(5*200) + (4*500)] = 60 * 3000 million clock cycles per minute = 3000 million cycles per second = 3000MHz = 3GHz
(ii) SPEC ratio = Ref time/Run time. Reference time = (1/15) iteration per minute and Run time = (1/60) iterations per minute. Therefore, Spec ratio =
= 4.
Get Answers For Free
Most questions answered within 1 hours.