Question: n processes are time - sharing the CPU, each requiring T ms of CPU time to complete. The context switching overhead is S ms .
n processes are timesharing the CPU, each requiring T ms of CPU time to complete. The context switching overhead is S ms
a What should be the quantum size Q such that the gap between the end of one quantum and the start of the next quantum of any process does not exceed M ms
b For n S and M M M determine
The corresponding values of Q
The percentage of CPU time wasted on context switching
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
