In a two-level cache system, the access times of and caches are and clock cycles, respectively. The miss penalty from the cache to main memory is clock cycles. The miss rate of cache is twice that of . The average memory access time (AMAT) of this cache system is cycles. The miss rates of and respectively are
View worked solution
Answer: A
To find the miss rates of the and caches, we can use the formula for the Average Memory Access Time () of a two-level hierarchical cache system:
Where:
- cycle (access time of cache)
- cycles (access time of cache)
- cycles (miss penalty from to main memory)
- cycles
- is the miss rate of
- is the miss rate of
We are given that the miss rate of is twice that of :
Substituting these values into the equation:
Subtract from both sides:
This gives us the quadratic equation:
Solving for using the quadratic formula :
Since the miss rate must be positive:
Now, calculate :
Thus, the miss rates of and are approximately and , respectively.
Free practice · Your answers on this page are not saved.
