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:

  1. T < Q

  2. T >> Q

  3. Q approaches 0

  4. Under what condition will the wasted fraction of CPU time be 50%?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!