Question: a) How many cycles does it take to access the main memory if a cache miss has occurred (miss penalty) b) Estimate the MCPI of

 a) How many cycles does it take to access the main

a) How many cycles does it take to access the main memory if a cache miss has occurred (miss penalty)

b) Estimate the MCPI of the benchmark for both processors

Hint : You need to consider both instruction and data memory

c) Estimate the BCPI (contributions due to branch) of the benchmark for both processors

d) Considering just this benchmark, which of these processors is faster? (Assume Base CPI = 1.0 for both)

Hint : Comparing the execution time

(10 points- Correctness) Performance: In this question we will compare the performance of two processors using a certain benchmark Processor L1 SizeL1 D-Cache Miss RateL1 I-Cache Miss RateL1 Hit Time P1 P2 4KB 8KB 3% 3% 6% 0.55ns 0.90ns We are also given that accesses to the main memory takes 90ns. Additionally Processor 2 has to execute 10% more dynamic instructions than Processor I. It is also seen that only 25% of the instructions access memory (ie lw and sw instructions). Profiling the code also showed us that 20% of the instructions were branch instructions. Both processors support branch prediction with 95% of the branches being predicted accurately and mis-predictions having a 1 cycle penalty

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!