1 votes 1 votes Consider 4 processes sharing the CPU in a round robin fashion. Assuming that each process takes 5 seconds. What must be the maximum quantum size P. Such that the overhead resulting from process switching is minimized but at same time each process is guaranteed to gets its turn at CPU at-least every 40 seconds ________ (upto 2 decimal place). Operating System process-scheduling + – Aspi R Osa asked Jan 21, 2016 Aspi R Osa 782 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply japurva1 commented Jan 21, 2016 reply Follow Share check this https://gateoverflow.in/1690/gate1998_2-17?show=1690#q1690 1 votes 1 votes shivanisrivarshini commented Jan 24, 2016 reply Follow Share Is that each process takes 5 sec means switching time ha ? 0 votes 0 votes Please log in or register to add a comment.
Best answer 0 votes 0 votes https://gateoverflow.in/1690/gate1998_2-17?show=1690#q1690 Aspi R Osa answered Jan 21, 2016 Aspi R Osa comment Share Follow See all 0 reply Please log in or register to add a comment.
3 votes 3 votes N*St + (N-1)*Q = 40 4*5 + 3*Q = 40 3Q = 20 Q = 6.333 Vikram Bhat answered Jan 21, 2016 Vikram Bhat comment Share Follow See all 4 Comments See all 4 4 Comments reply Shivam Chauhan commented May 7, 2016 reply Follow Share What does this line mean Assuming that each process takes 5 seconds. 0 votes 0 votes Vikram Bhat commented May 7, 2016 reply Follow Share 5 seconds is the context switching time for each process 1 votes 1 votes Arnab Bhadra commented Apr 14, 2017 reply Follow Share Q= 20/3 = 6.67 0 votes 0 votes aehkn commented Dec 6, 2017 reply Follow Share How did you infer that 5s is Switching Time :D In Question it should be clearly mentioned 0 votes 0 votes Please log in or register to add a comment.