A Larger but Slower Second-Level Cache

An engineering team is comparing two designs for a processor's memory hierarchy. Every read checks the first-level cache, L1, in 1 ns. L1 serves 80% of all reads. Reads that miss L1 then check the second-level cache, L2. A read that also misses L2 requires an additional 80 ns from main memory.


The current L2 lookup takes 6 ns and serves 75% of the reads that reach it. A proposed larger L2 would take 10 ns per lookup and serve 90% of the reads that reach it. Assume the L1 hit rate remains 80%, all accesses occur sequentially without overlap, and no other delays apply.


Calculate the mean time per read for the current design and the proposed design. Give both answers in ns, to one decimal place.


Read requests check L1 cache first, then L2 after an L1 miss, and RAM after an L2 miss.


Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Memory Questions: