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?
- A. 1.150
- B. 1.045
- C. 0.864
- 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.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A processor has base CPI 1.2 for non-memory work (60% of instructions) and every load/store (40% of instructions) takes 1 cycle plus…
- A device delivers 2,000,000 bytes/s into a 16-byte FIFO and raises an interrupt each time 12 bytes have accumulated. Each interrupt costs…
- A fully associative cache (block = one word) sees the block reference string 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5, starting empty. How many…
- A 5-stage pipeline resolves conditional branches in ID, with forwarding into ID for ALU results but the branch needs its operand at the…
- A branch alternates T, N, T, N, … for 20 executions, starting with T. A 2-bit saturating counter (states 0-3, predicts taken in states 2…
- A 5-stage pipeline with full forwarding has a measured CPI of 1.40 (ideal 1). 25% of instructions are loads, and 40% of loads are…