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)?
- A. (9, 9)
- B. (10, 9)
- C. (9, 8)
- 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.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A virtually indexed cache is 64 KB, 4-way set-associative with 32-byte blocks, and pages are 4 KB. How many distinct page colours (values…
- In IEEE 754 single precision with round-to-nearest-even, the value 0.1 (itself rounded to single precision) is added to an accumulator…
- A 16 × 16 unsigned multiplier generates 16 partial products, which are reduced to two rows by a Wallace tree of 3:2 carry-save adders…
- A DMA controller moves a 4 KB block over a 64-bit bus clocked at 100 MHz. Each burst needs 10 cycles of arbitration and then transfers 64…
- A branch is executed 20 times with the outcome pattern T, T, T, N repeated 5 times. A 2-bit saturating counter (states 0–3, predicts taken…
- L1 has a hit time of 1 cycle and a miss rate of 8%. The L2 hit time is 10 cycles and a main-memory access takes 120 cycles. The target…