There are two processor M1 and M2. M1 uses

There are two processor M1 and M2. M1 uses four pipeline stages with the delay of respectively stage as 6 ns, 4 ns, 7 ns, 5 ns. M2 has got 7 pipeline stages with the delay of cache stage 4 ns. Then pick the correct option for executing 200 instructions on M1 and M2.

(A) M2 is faster by 600 ns
(B) M2 is faster by 595 ns
(C) M2 is faster by 610 ns
(D) M2 is faster by 513 ns

M2 is faster by 595 ns
(6 + 9 + 7 + 6) + 200 × 7 - (28 + 800) = 595 ns

2Comments
Nikhil Chaurasia nikch 3 Jan 2016 12:09 pm

Aren't you considering 201 instructions here??

It should have been (28 + 199*7) - (28+(199*4)) = 597

Parimal Andhalkar parimal_andhalkar 3 Jan 2016 10:00 am

M2 is faster by 597ns