Question: Instructions: 1) Use Dinero simulator to solve problems 2) Submit a PDF of your analysis of the data and your results. One sample output per

Instructions:

1) Use Dinero simulator to solve problems

2) Submit a PDF of your analysis of the data and your results. One sample output per question can be attached at the end of the solution as appendix. Do not put all the runs of all the simulation outputs.

Question : Calculation of CPI (use all 3 traces)

Calculate the Effective CPI of a 2-level cache hierarchy with level-1 direct-mapped cache of 4KB and level-2, 2-way set associative cache of 64KB with the block size of 32 bytes for both caches. The base CPI is assumed to be 1.5 and there are 1.45 memory references per instruction. The hit time to level-1 is 1 clock cycle and hit-time to level-2 is 15 clock cycles. The miss penalty for level-2 is assumed to be 60 clock cycles.

[Hint:

Average Memory stalls/instruction =

Misses/instruction (L1) Hit Time (L2) + Misses/Instruction (L2) Miss Penalty (L2)

Misses/Instruction (L1) = Miss Rate (L1) x Memory Access/Instruction

Misses/Instruction (L2) = Miss Rate (L2) x Memory Access/Instruction]

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!