Assume that a pipelining is implemented and the data given are
b = 3; Pj = 0.4; Pt = 0.6;
where
b = jump penalty (loss of cycles due to jump).
Pj = probability that the instruction is a jump.
Pt = probability that the jump is taken.
What will be the average instruction time?
Answers
Answered by
33
Explanation:
An average instruction takes 200 ns of CPU time and one memory access. The TLB hit ratio is 80% and page fault ratio is 20%.
Answered by
1
The average instruction time will be 0.5
Explanation:
Given:
Jump penalty (loss of cycles due to jump) i.e. b = 3
The probability that the instruction is a jump, i.e. Pj = 0.4
The probability that the jump is taken, i.e. Pt = 0.6
Solution:
The average instruction time will be given by = Pt / (Pj * b)
= 0.6 / (3 * 0.4)
= 0.5
hence, The average instruction time will be 0.5
Similar questions
Social Sciences,
2 months ago
Hindi,
2 months ago
English,
2 months ago
Computer Science,
5 months ago
Accountancy,
10 months ago
Math,
10 months ago