Round Robin Scheduling : Operating System -
let suppose scenario given 3 processes :-
p1 -> (cpu burst = 3ms , arrival time = 0ms) , p2 -> (cpu burst = 4ms , arrival time = 0ms), , p3 -> (cpu burst = 5ms , arrival time = 1.5ms) now need schedule these processes round robin scheduling time quantum = 2ms. given i/o operation each process takes 0.5ms .
so if p1 gets blocked i/o request after 1ms , cpu start executing next process ready queue or wait till p1 returns i/o wait time quanta 2ms , can still execute 0.5ms more ?
also when p3 arrive @ 1.5ms , assuming cpu has started execution next process when p1 got blocked due i/o , after 0.5ms of i/o operation completion p1 has come ready queue .....which among p1 , p3 placed first in ready queue ?
Comments
Post a Comment