Suppose a computer having 5 GHz processor with cycle time of 4ns and main memory access time
200ns with CPI is 1 cycle.
i. Calculate the processor performance without cache.
ii. Calculate the performance with L1 cache, assume L1 hit rate is 85% and access time is 0.4ns.
iii. Calculate the performance with L2 cache, assume L2 hit rate is 80% and access time is 10ns.
iv. Calculate the performance with L3 cache, assume L3 hit rate is 75% and access time is 10ns.
Given,
A computer having 5ghz processor
cycle time = 4hrs
Main Memory = 200ns wit CPI as 1 cycle
(i)Performance without cache =1cycle/instruction
(ii) The Performance with cache, assume hit rate is 85% and access time is 0.4ns.
(iii) The performance with cache, assume hit rate is 80% and access time is 10ns
(iv) The performance with cache, assume hit rate is 75% and access time is 10ns
Comments