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?
- A. about 85,714 events/s
- B. about 380,952 events/s
- C. about 228,571 events/s
- 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.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A program sums a 64 × 64 matrix of 4-byte ints stored in row-major order starting at address 0, once row by row and once column by column…
- 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…
- Which of these 8-bit two's-complement operations overflow as signed arithmetic? I. 0x80 − 0x01. II. 0x00 − 0x80. III. 0x7F + 0x80. IV…
- An 8-bit x86-style SUB computes 0x01 − 0xFF. In this convention CF = 1 exactly when the unsigned subtraction needs a borrow, OF = signed…
- A two-level memory has a 32 KB cache costing 100 per KB (access 10 ns) and a 4 MB main memory costing 1 per KB (access 100 ns); total…
- A write-back, write-allocate cache has a 2 ns hit time and a 5% miss rate. A miss that evicts a clean block costs 40 ns; a miss that…