Monday, November 21, 2011

CS501 2 Advance Computer Architecture fall 2011 assignment solution

Question No. 1:

Find the execution time for a program that executes 60 million instructions on a processor with an average CPI of 1.0 and a clock period of 33.3 nsec.


Execution time = IC * CPI * T
IC = 60 * 10 6
CPI = 1.0
T = 33.3 nsec  = 33.3 * 10-9

Execution time = 60 * 10 6 * 1.0 * 33.3 * 10-9
= 1.998


Question No. 2:

Consider a program that executes 200 million instructions in 10 seconds. What is the MIPS rating for this program?

MIPS = IC / ( ET * 106 )
IC = 200 millions
ET = 10 sec
MIPS = 200 millions / (10 * 106)
MIPS = 20

No comments:

Post a Comment