GATE / CS ARCHIVE

GATE CSE 2014 SET 1 / QUESTION 55

GATE CSE 2014 Set 1 Q55

Computer Organization & Architecture · Processor Performance · Full GATE CSE 2014 Set 1 paper

GATE 2014 Set 1, Q55 2 marks · NAT
Report issue

Processor Performance

Question 55, GATE 2014: Processors P₁ and P₂ execute the same instruction set. For the same program and input under identical conditions, P₂ takes 25% less time but has 20% higher CPI than P₁. If P₁ runs at 1 GHz, what is P₂’s clock frequency in GHz?
Tap to enlarge
Answer & solution

Official answer: 1.6

1. Method and setup. CPU time is instruction count multiplied by cycles per instruction and divided by cycles per second. Convert “25% less time” to a time ratio of 0.75, not a frequency multiplier of 1.25. Under the intended equal-instruction-count assumption, that count cancels when taking the ratio of execution times.

2. Work through the result and its assumptions. For the same instruction count, time=IC·CPI/frequency. Given T2/T1=0.75 and CPI2/CPI1=1.2, 0.75=1.2(f1/f2). Therefore f2=1.6f1=1.6GHz. This assumes the same executed instruction count for the same program/input, as intended.

Original paper, page 21 · Answer key