Question
Problem #5 (a) A computer has separate instruction and data caches. The data cache has a hit rate of 95% and the instruction cache has
Problem #5 (a) A computer has separate instruction and data caches. The data cache has a hit rate of 95% and the instruction cache has a hit rate of 98%. Assume that 25% of instructions are loads and stores. If a processor has a CPI of 1.5 without any memory stalls and the miss penalty is 100 cycles for all misses, determine how much faster a processor would run with a perfect cache that never missed. (b) A system has level-1 cache and level-2 cache. The hit rate for level-1 cache is 90% and the hit rate of level-2 cache is 80%. An access to level-1 cache requires one cycle, an access to level-2 cache requires four cycles, and an access to main memory requires 50 cycles. What is the average memory access time?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started