GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A processor makes one instruction fetch per instruction and 0.36 data references per instruction. Option S has split 16 KB I- and D-caches with miss rates of 0.4% (instructions) and 11.4% (data). Option U has a 32 KB unified cache with a 3.18% miss rate on all references, but because it has a single port every data reference costs one extra cycle of hit time. Hit time is 1 cycle and the miss penalty 100 cycles in both. What are the average access times (S, U) in cycles per reference?

  1. A. (4.31, 4.44)
  2. B. (4.31, 4.18)
  3. C. (6.70, 4.44)
  4. D. (4.31, 5.44)

Correct answer: A. (4.31, 4.44)

74% of references are fetches (1/1.36) and 26% data (0.36/1.36). S = 0.735 × (1 + 0.4) + 0.265 × (1 + 11.4) = 4.31. U = 0.735 × (1 + 3.18) + 0.265 × (2 + 3.18) = 4.44. The unified cache misses less overall but its structural hazard makes it slower; without the extra cycle it would be 4.18.

More Computer Organization and Architecture questions

Exams that ask this topic