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 KDomissions 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), , , : (.
!