GATE Computer ScienceHardGATE CS (PYQ pattern)
A write-back cache has 64-byte blocks, 2 ns hit time and 5% miss rate. Over an 8-byte bus, memory delivers the first 8 bytes 60 ns after a request and each further 8 bytes 10 ns later; writing a block back takes the same time as fetching one. 30% of misses evict a dirty block, which is written back before the new block is fetched, and the processor waits for the whole block. What is the average access time?
- A. 8.50 ns
- B. 15.00 ns
- C. 5.90 ns
- D. 10.45 ns
Correct answer: D. 10.45 ns
Block transfer = 60 + 7 × 10 = 130 ns. Miss penalty = 130 + 0.3 × 130 = 169 ns. AMAT = 2 + 0.05 × 169 = 10.45 ns. Ignoring dirty write-backs gives 8.50; writing back on every miss gives 15.00; waiting only for the first 8 bytes gives 5.90.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- An 8 × 8 matrix is stored in 8 memory banks. A bank is busy for 6 cycles after an access starts (an access started in cycle t completes at…
- The IEEE 754 single-precision word 0xC1E80000 is multiplied by 2⁻¹³¹ (the result is exact). What is the bit pattern of the product?
- A radix-4 (modified) Booth multiplier handles an unsigned 32-bit multiplier. How many partial products must it generate in the worst case…
- Consider a classic in-order 5-stage pipeline in which registers are read in ID, written in WB, and every instruction passes through all…
- A 6-stage pipeline has stage delays 120, 180, 150, 210, 90 and 160 ps with a 30 ps latch after each stage; the unpipelined machine takes…
- A nested loop's inner back-edge branch has the outcome pattern T T T T N (the inner loop runs 5 times) for each of 4 outer iterations (20…