Question

a) Calculate the AMAT for a cache system with one level of cache between the CPU...

a) Calculate the AMAT for a cache system with one level of cache between the CPU and Main
Memory. Assume that the cache has a hit time of 1 cycle and a miss rate of 11%. Assume
that the main memory requires 300 cycles to access (this is the hit time) and that all instructions
and data can be found in the main memory (there are no misses).
b) Let us modify the cache system from part (a) and add an L2 cache between the L1 cache and
the main memory. If this L2 cache has a hit time of 22 cycles and a miss rate of 4%, then what
is the new AMAT?
c) Calculate the speedup obtained by using the modified cache system from part (b) instead of
the original cache system from part (a).

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer a

AMAT = Cache Hit Time + Cache Miss Rate * Miss Penalty

= 1 + 0.11*300

= 1 + 33

= 34 Cycles

Answer b

AMAT = L1 Cache Hit Time + L1 Cache Miss Rate * L1 Miss Penalty

= L1 Cache Hit Time + L1 Cache Miss Rate * (L2 Cache Hit Time + L2 Cache Miss Rate * L2 Miss Penalty )

= 1 + 0.11*(22+0.04*300)

= 1 + 0.11*34

= 4.74 Cycles

Answer c

Speedup = 34/4.74 = 7.17 times

Add a comment
Know the answer?
Add Answer to:
a) Calculate the AMAT for a cache system with one level of cache between the CPU...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT