Wednesday, 3 June 2020

UGC NET Computer Science December 2019 | Question 59

Question 59
A non-pipelined system takes 30ns to process a task. The same task can be processed in a four-segment pipeline with a clock evcle of 10ns. Determine the speed up of the pipeline for 100 tasks.
  1. 1. 5
  2. 2. 4
  3. 3. 3.91
  4. 4. 2.91
Explanation
Speed up ratio (S):
It is defined as the speedup of a pipeline processing with respect to the equivalent non-pipeline processing.

Formula for calculating Speed up ratio is : ntn/(n+k-1)tp
Number of tasks, n = 100

For Nonpipeline:
Time taken by nonpipeline to process a task, tn = 30 ns

Total time taken by nonpipeline to process 100 task = ntn
= 100 * 30
= 3000 ns

For Pipeline:
Number of segment pipeline k = 4
Time period of 1 clock cycle, tp = 10 ns

Total time requires to complete n tasks in k segment pipeline with tp clock cycle time:
= (n + k - 1)tp
= (100 + 4 -1)10
= 1030

Speed up Ratio:
When total time taken by the pipeline to process 100 tasks is divided by the total time requires to complete n tasks in k segment pipeline with tp clock cycle time then speed up ratio is obtained.
= 3000/1030
= 2.9161

So, option 4 is correct answer

PreviousNext
UGC NET CS December 2019 - Question 58UGC NET CS December 2019 - Question 60

No comments:

Post a Comment

UGC NET Computer Science December 2019 | Question 16

Question 16 In a certain coding language. 'AEIOU' is written as 'TNHDZ'. Using the same coding language. 'BFJPV' wil...

Popular Posts