GATE Computer ScienceHardGATE CS (PYQ pattern)
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 40%, and main memory takes 100 cycles. The average memory access time is:
- A. 42 cycles
- B. 2.4 cycles
- C. 11.0 cycles
- D. 6.0 cycles
Correct answer: D. 6.0 cycles
AMAT = 1 + 0.1 × (10 + 0.4 × 100) = 1 + 0.1 × 50 = 6.0 cycles. Applying the 40% local rate to every access (rather than only to L1 misses) is the usual error.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- 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…
- Six instructions execute in program order: I1: LW R1, 0(R2) I2: ADD R3, R1, R4 I3: SUB R4, R3, R2 I4: SW R3, 4(R1) I5: AND R1, R4, R3 I6…
- A cache has 4 lines of one word each. The word-address trace 0, 4, 0, 4, 1, 5, 1, 5, 2, 6, 3, 7, 0, 4, 1, 5, 8, 0, 8, 4, 2, 6 is applied…
- A 4-bit non-restoring divider divides the unsigned dividend Q = 1101 (13) by the divisor M = 0011 (3). The accumulator A is 5 bits wide…