GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A program of 10⁹ instructions runs on a 2 GHz machine. 30% of instructions take 1 cycle, 50% take 2 cycles and 20% take 5 cycles. The 5-cycle class is redesigned to take 3 cycles, but the redesign forces a 10% slower clock. What is the new execution time in seconds?

  1. A. 1.150
  2. B. 1.045
  3. C. 0.864
  4. D. 0.950

Correct answer: B. 1.045

New CPI = 0.3 + 1.0 + 0.6 = 1.9 and the clock becomes 2/1.1 = 1.818 GHz: time = 10⁹ × 1.9 / 1.818×10⁹ = 1.045 s. A 10% slower clock means dividing the frequency by 1.1.

More Computer Organization and Architecture questions

Exams that ask this topic