GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A program spends 70% of its time computing and 30% stalled on cache misses. A bigger cache cuts the stall time by 40% but lengthens the clock cycle by 5% for the whole program (compute and stall time both scale with the clock). What is the overall speed-up?

  1. A. 1.082
  2. B. 1.193
  3. C. 1.125
  4. D. 1.136

Correct answer: A. 1.082

New time = (0.7 + 0.3 × 0.6) × 1.05 = 0.924; speed-up = 1/0.924 = 1.082. Ignoring the clock penalty gives 1.136; applying it to the stalls only gives 1.093.

More Computer Organization and Architecture questions

Exams that ask this topic