GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A write-through, no-write-allocate data cache sends every store to memory. 10% of instructions are stores and 20% are loads (load miss rate 4%, miss penalty 30 cycles). Stores use a write buffer that never fills, so they cost no extra cycles. Ideal CPI is 1.2. What is the CPI?
- A. 1.54
- B. 1.56
- C. 1.44
- D. 4.20
Correct answer: C. 1.44
With an unfilled write buffer only load misses stall: 0.2·0.04·30 = 0.24 extra cycles per instruction, CPI = 1.44. Counting stores as potential misses (0.30 · 0.04 · 30) is the trap.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A zero-address stack machine evaluates the expression (a + b) × (c + d) + (e + f) × (g + h) with every operator commutative, so the…
- A classic 5-stage pipeline (IF, ID, EX, MEM, WB) has no forwarding and no split-cycle register file: a value written in WB can be read in…
- A memory has 8 low-order interleaved banks (bank = address mod 8). A bank is busy for 6 cycles after starting an access; the processor can…
- An accumulator machine has memory contents M[100]=300, M[104]=7, M[150]=75, M[200]=150, M[300]=500 and registers R1 = 100, R2 = 4…
- A loop branch is taken 9 times and then falls through (T×9, N), and the whole 10-outcome pattern repeats 5 times. A 2-bit saturating…
- A control unit has 48 control signals partitioned into 6 groups of mutually exclusive signals of sizes 12, 10, 9, 8, 5 and 4. In a…