GATE Computer ScienceVery hardNIELIT Scientist B

A fully associative cache with FIFO replacement sees the block references 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5. How many misses occur with 3 lines and with 4 lines, as (3 lines, 4 lines)?

  1. A. (9, 9)
  2. B. (10, 9)
  3. C. (9, 8)
  4. D. (9, 10)

Correct answer: D. (9, 10)

FIFO simulation gives 9 misses with 3 lines and 10 with 4 lines, an instance of Belady's anomaly.

More Computer Organization and Architecture questions

Exams that ask this topic