Question: n processes are time-sharing the CPU. The average total CPU time is T. The time quantum is Q. The context switching overhead is S. Determine
n processes are time-sharing the CPU. The average total CPU time is T. The time quantum is Q. The context switching overhead is S. Determine the fraction of CPU time wasted on context switching for the following cases:
-
T < Q
-
T >> Q
-
Q approaches 0
-
Under what condition will the wasted fraction of CPU time be 50%?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
