GATE Computer ScienceVery hardGATE CS (PYQ pattern)

Each interrupt costs 5000 cycles of fixed overhead (save, vector, restore) and its handler then spends 2000 cycles on every event it services. With interrupt coalescing the device raises one interrupt for every 8 events. On a 1 GHz CPU at least 40% of the cycles must remain for other work. What is the highest sustainable event rate?

  1. A. about 85,714 events/s
  2. B. about 380,952 events/s
  3. C. about 228,571 events/s
  4. D. about 685,714 events/s

Correct answer: C. about 228,571 events/s

Cycles per event = 5000/8 + 2000 = 2625. Available = 0.6 × 10⁹ cycles/s → 228,571 events/s. Without coalescing (7000 per event) it is 85,714; ignoring the 40% reserve gives 380,952; spreading the per-event handler cost over 8 events too gives 685,714.

More Computer Organization and Architecture questions

Exams that ask this topic