CS FundamentalsHardGATE CS

A TLB has 128 entries and pages are 4 KB. A process's working set is 2 MB and is accessed uniformly at random. Approximately what fraction of accesses will miss in the TLB (fully associative, LRU)?

  1. A. about 25%
  2. B. about 50%
  3. C. 0%
  4. D. about 75%

Correct answer: D. about 75%

TLB reach = 128 × 4 KB = 512 KB, a quarter of the 2 MB working set. With uniform random access, only about 1/4 of accesses find their page in the TLB, so about 3/4 miss.

More Operating Systems questions

Exams that ask this topic