GATE Computer ScienceHardGATE CS (PYQ pattern)
A write-back, write-allocate cache has a 2 ns hit time and a 5% miss rate. A miss that evicts a clean block costs 40 ns; a miss that evicts a dirty block costs 70 ns in total (write-back plus fetch). What is the largest fraction of misses that may evict dirty blocks if the average access time must stay at or below 4.5 ns?
- A. 33.3%
- B. 14.3%
- C. 25.0%
- D. 50.0%
Correct answer: A. 33.3%
AMAT = 2 + 0.05 × (40(1 − d) + 70d) = 2 + 0.05 × (40 + 30d) ≤ 4.5 → 40 + 30d ≤ 50 → d ≤ 1/3. Adding the full 70 ns on top of the 40 ns for dirty misses (40 + 70d ≤ 50) gives 14.3%.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- An 8-bit CPU multiplies the two's-complement bytes 0xF6 and 0x0D as signed numbers into a 16-bit product. What is the product, and is the…
- A branch behaves T, T, N, N repeatedly for 32 executions. A 2-bit saturating counter starts at state 0 and predicts taken in states 2 and…
- A 32-bit machine uses a 2-level page table with 4 KB pages and 4-byte entries (10 + 10 + 12 bit split). A process uses exactly 4 MB + 8 KB…
- Which of the following statements about performance are correct? I. A lower CPI always means a faster machine. II. Execution time =…
- A DMA controller in burst mode moves 4-byte words at one word per 40 ns bus cycle from a device producing 10 MB/s (1 MB = 10⁶ B). The CPU…
- A 256 KB, 8-way set-associative write-back cache has 64-byte blocks and 36-bit physical addresses. Each line stores its data, tag, a valid…