How to calculate throughput of data caches and instructions

Situation

I am trying to answer an architecture question about instruction and data caches that I found in a previous exam article ( not homework! ).

The question seems to provide a lot of information that I did not use in my solution. This makes me think that I missed something, and would be very grateful if someone could help me!

Question (Full)

This is the complete question asked in the document. A summary of key points is provided below.

Calculate miss speed for machine S with separate instruction cache and data cache, each of n bytes. There are Imisses on Kinstructions for the instruction cache and d misses on k instructions for the data cache.

A part of the Xinstructions includes data transfer, and some Yinstructions contain instructions, the rest contain links to data. The hit takes Hcycles, and the penalty miss Mcycles.

Key Question Points

Considering

  • The data and command cache are separate
  • Each cache has bytes. N
  • Iomissions on instructions for command cache K
  • Domissions on instructions for data cache K
  • Command fraction includes data transfer X
  • Team faction includes instructions Y
  • The rest of the instructions contain instructions
  • When hit, take cycles H
  • Miss Chance << → M

Calculate : Miss Rate of Machine

Attempts still

, (I/K)*Y + (D/K)*(1 - X - Y), , , : (.

!

+3
2

, , , , . , no. of misses/total no. of accesses. , , , -

+2

L1 + rateL1 * ( L2 + rateL2 * Miss penatlyL2)

-1

All Articles