GateAI
Instruction Pipelining

GATE CSE 2015 Set 1 · Q38

NAT2 marksMedium

Time

Consider a non-pipelined processor with a clock rate of 2.5 gigahertz and average cycles per instruction of four. The same processor is upgraded to a pipelined processor with five stages; but due to the internal pipeline delay, the clock speed is reduced to 2 gigahertz. Assume that there are no stalls in the pipeline. The speed up achieved in this pipelined processor is ________.

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 3.2

Instruction Pipelining

Speedup (SS) of the pipelined processor over the non-pipelined processor is defined as:

S=Average Execution Time per Instruction (Non-pipelined)Average Execution Time per Instruction (Pipelined)S = \frac{\text{Average Execution Time per Instruction (Non-pipelined)}}{\text{Average Execution Time per Instruction (Pipelined)}}
  1. For the non-pipelined processor:

    • Frequency fnon-pipe=2.5 GHzf_{\text{non-pipe}} = 2.5\text{ GHz}

    • CPInon-pipe=4\text{CPI}_{\text{non-pipe}} = 4

    • Average execution time per instruction:

      Tnon-pipe=CPInon-pipefnon-pipe=42.5 GHz=1.6 nsT_{\text{non-pipe}} = \frac{\text{CPI}_{\text{non-pipe}}}{f_{\text{non-pipe}}} = \frac{4}{2.5\text{ GHz}} = 1.6\text{ ns}
  2. For the pipelined processor:

    • Frequency fpipe=2 GHzf_{\text{pipe}} = 2\text{ GHz}

    • With no stalls in the pipeline, ideal CPIpipe=1\text{CPI}_{\text{pipe}} = 1

    • Average execution time per instruction:

      Tpipe=CPIpipefpipe=12 GHz=0.5 nsT_{\text{pipe}} = \frac{\text{CPI}_{\text{pipe}}}{f_{\text{pipe}}} = \frac{1}{2\text{ GHz}} = 0.5\text{ ns}
  3. Speedup:

    S=1.6 ns0.5 ns=3.2S = \frac{1.6\text{ ns}}{0.5\text{ ns}} = 3.2

Hence, the speedup achieved is 3.2 [20].

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Instruction Pipelining previous year question is Q38 of the GATE CSE 2015 Set 1 paper. Find more GATE CSE PYQs on Instruction Pipelining in Computer Organization and Architecture, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Instruction Pipelining PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Instruction Pipelining in GATE CSE

Instruction Pipelining has 25 GATE CSE PYQs across 20 papers from 2011 to 2026. 16 of them are 2-mark NAT questions like this one, and it is the only one in GATE CSE 2015 Set 1.

How GATE tests Instruction Pipelining

More from GATE CSE 2015 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2015 Set 1 · Q38 · NAT

Consider a non-pipelined processor with a clock rate of 2.5 gigahertz and average cycles per instruction of four. The same processor is upgraded to a pipelined processor with five stages; but due to the internal pipeline delay, the clock speed is reduced to 2 gigahertz. Assume that there are no stalls in the pipeline. The speed up achieved in this pipelined processor is …

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.