Machine-translated by Google. Questions are authored in English.
Top

Discussion

Computer A having clock cycle time of 250 ps and cycle per instruction of 2.0 for some programs, and computer B having clock cycle time of 500 ps and a cycle per instruction of 1.2 for same program. Which one is faster for this program

  • A.Computer A
  • B.Computer B
  • C.Both will have same time
  • D.None of above

Answer: A

Correct answer: Computer A

Compare the time per instruction, which is the clock cycle time multiplied by the cycles per instruction:

\[ A: 250\ \text{ps}\times 2.0=500\ \text{ps} \qquad B: 500\ \text{ps}\times 1.2=600\ \text{ps} \]

A takes 500 ps per instruction against B's 600, so A is the faster machine by a factor of 600/500 = 1.2. Note that B has the better CPI and A the better clock; neither figure decides the question by itself.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.