Consider a 5 stage pipeline with if, id, ex, mem and wb latencies 8, 6, 10, 6 and 4 respectively (in ns). If ex stage is made 50% faster, the percentage it will improve the performance cpu is
Answers
Percentage to improve the performance of CPU is 25%
Explanation:
CPU performance is based on the clock cycle.
In the first case since its non-uniform, the clock cycle is set with the maximum latency, i.e. C= 8 ns
In the second case due to a 50 percent increase in IF= 4ms latency.
In this case, the maximum latency is C = 6ns.
Therefore, decrement is between 8ns and 6ns is (6-8)/8*100 = 25%
Thus, percentage it will improve the performance cpu is 25%
Answer:
25%
Explanation:
Percentage to improve the performance of CPU is 25%
Explanation:
CPU performance is based on the clock cycle.
In the first case since its non-uniform, the clock cycle is set with the maximum latency, i.e. C= 8 ns
In the second case due to a 50 percent increase in IF= 4ms latency.
In this case, the maximum latency is C = 6ns.
Therefore, decrement is between 8ns and 6ns is (6-8)/8*100 = 25%
Thus, percentage it will improve the performance cpu is 25%