GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A direct-mapped L1 has hit time 1 cycle and miss rate 5%. A small victim cache catches 30% of the L1 misses at a cost of 2 cycles (instead of going lower). The remaining 70% go to an L2 with 12-cycle hit time and 25% local miss rate; memory takes 100 cycles. What is the average memory access time in cycles?
- A. 2.325
- B. 2.765
- C. 3.150
- D. 2.045
Correct answer: A. 2.325
AMAT = 1 + 0.05 × (0.3 × 2 + 0.7 × (12 + 0.25 × 100)) = 1 + 0.05 × (0.6 + 25.9) = 2.325. Applying the victim-cache saving to all misses, or forgetting that only the remaining 70% reach L2, gives the other values.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A 5-stage pipeline with full forwarding has a base CPI of 1. 30% of instructions are loads and half of the loads are immediately followed…
- A 4-way set-associative cache of 64 KB uses 32-byte blocks and 32-bit physical addresses. Each block has one valid bit and one dirty bit…
- A processor has an L1 hit time of 1 cycle and an L1 miss rate of 10%. An L2 cache has a hit time of 10 cycles and a local miss rate of…
- The 32-bit word 0xC1D80000 is interpreted as an IEEE 754 single-precision number. Its value is:
- An 8-bit ALU adds the two's complement numbers 0x9C and 0xB5. After the addition the carry (C), overflow (V) and sign (N) flags are…
- A disk delivers 4,096,000 bytes/s to memory through a DMA controller in cycle-stealing mode, one 32-bit word at a time. Each word steals…