Gate2017 cs Q44

  • Option : A
  • Explanation :
    Given,
    For Navie pipeline (NP)
    Number of stages (k) = 5
    Tp = max (stage delay + buffer delay)
    Tp = max 7, 6, 22, 12, 5 = 22 n sec.
    Number of instructions (n) = 20
    So, erection time for navie pipeline
    ETNP = k + (n −1) × Tp = 5 + 20 −1 × 22 = 528n sec
    Now, for efficient pipeline
    k = 6, n = 20, Tp = 14nsec.
    EEP = k + (n −1) ×Tp = 6 + 20 −1 ×14 = 350n sec.
    Therefore, Speedup = 528/350= 1.508
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *