Memory Hierarchy
What generally happens to hit time as cache capacity increases, and why?
- AIt shortens, because more data inside means less time searching
- BIt stays the same, because hit time depends only on line size
- CIt tends to lengthen, as wiring and selection logic grow
Show answer and explanation
Answer: C. It tends to lengthen, as wiring and selection logic grow
A larger cache lowers the miss rate, but the memory array grows, wires lengthen, and the index decoding and output selection circuits get bigger, so hit time tends to increase. That is why L1 is kept small, around tens of KB, while large capacity is provided by L2 and L3 in a multilevel hierarchy. Hit time does not shorten, nor does it depend on line size alone. Capacity is set by balancing miss rate against hit time.
- A. Making it larger does not shorten the search; it lengthens it.
- B. Hit time also depends on capacity and associativity.
- C. Correct. Larger wiring and selection circuits tend to lengthen hit time.