GATE Computer ScienceHardGATE CS (PYQ pattern)
On a processor with base CPI 1.0, the L1 cache has 40 misses per 1000 instructions. Of these, 10 per 1000 instructions also miss in the L2 (global rate). An L2 hit adds 10 cycles to an L1 miss and a memory access adds 100 cycles. What is the CPI?
- A. 1.5
- B. 2.4
- C. 2.1
- D. 5.4
Correct answer: B. 2.4
Every L1 miss pays the L2 access: 0.04 × 10 = 0.4. Only L2 misses pay memory: 0.01 × 100 = 1.0. CPI = 2.4. Charging memory time to all L1 misses gives 5.4.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A physically tagged 64 KB, 4-way cache has 64-byte blocks, 48-bit physical addresses and 4 KB pages. How many tag bits does each line…
- In a custom 8-bit floating-point format there is 1 sign bit, 4 exponent bits (bias 7) and 3 fraction bits, with IEEE-like rules (exponent…
- A MIPS-like J instruction has a 26-bit field holding a word address; the target is formed from the top 4 bits of PC + 4, followed by the…
- A processor services interrupts with nested priorities: a higher-priority interrupt (larger number) preempts a running lower-priority…
- Radix-4 Booth recoding of the 8-bit two's-complement multiplier 01101110 (value 110) produces four digits in {−2, −1, 0, +1, +2}. Which…
- Three interrupt handlers have no overhead: A (priority 1, arrives at 0 µs, runs 10 µs), B (priority 3, arrives at 4 µs, runs 5 µs) and C…