2 2 votes Find each of the following cases with detailed explanation by an example schedule.d Operating System process-scheduling round-robin-scheduling + – Prabhanjan_1 1.6k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
Best answer 7 7 votes For case 1 and 2 , we can justify that the efficiency is T/T+S only since no context switch occurs because of timer interrupt which interrupts to preempt a process from running state to ready and then schedules another process.But the measured time for which the process runs given is T time units only.So we have to find efficiency keeping in mind this constraint of measurement. Also for case 5 , we can justify the CPU efficiency will be 0 as time quantum approaches to 0.So useful time spent by any process on the CPU will also be 0 approximately.So this results in CPU efficiency of 0. I hope this clears your query on different cases on round robin scheduling CPU efficiency based on varying time quanta. Habibkhan answered Nov 1, 2016 • selected Nov 1, 2016 by Prabhanjan_1 Habibkhan comment Share Follow See all 6 Comments 6 6 Comments reply Prabhanjan_1 commented Nov 1, 2016 reply Follow flag @habib pic is not clear,edit the pic by just zoom in (expand it) before upload. 0 0 replyShare Habibkhan commented Nov 1, 2016 reply Follow flag Is it clear now?? 0 0 replyShare Prabhanjan_1 commented Nov 1, 2016 reply Follow flag still not , just crop the image by removing extra spaces left and right side and then upload. 0 0 replyShare Prabhanjan_1 commented Nov 1, 2016 reply Follow flag @habib "time T before blocking input/output" what does this mean? 0 0 replyShare Habibkhan commented Nov 1, 2016 reply Follow flag Means before the process goes into blocked state ,or in other words I/O wait state. 0 0 replyShare Prabhanjan_1 commented Nov 1, 2016 reply Follow flag Nice explaination Habib :) 0 0 replyShare Please log in or register to add a comment.