3 votes 3 votes Operating System operating-system process-scheduling + – Na462 asked Jul 19, 2018 Na462 4.7k views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply aambazinga commented Jul 19, 2018 reply Follow Share If in 1 minute - 6 processes Each process - 8 second proceaspro time => 6 processes - 48 seconds processing time. => In 1 minute, CPU is idle for 60-48=12 seconds. %idle time = 12/60 *100 = 20% 3 votes 3 votes Shaik Masthan commented Jul 20, 2018 reply Follow Share @aambazinga, yes you are right, another way to analyses is per a minute, there are 6 processes arriving on average ===> in 60 sec, 6 processes therefore a new process can arrive in 10 sec but arrived process uses 8 seconds BT ===> 2 seconds, cpu idle per process total idle time = 2*6 = 12 sec total idle time in % = $\frac{12}{60} * 100 $ = 20% 0 votes 0 votes G Phalkey commented Jan 14, 2019 reply Follow Share since rate at which process arriving is constant then we can also calculate cpu idle time of one process like 2/10*200=20% cpu idle time will also be constant!!!!!! 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes A llitle doubt , if in 60 sec 6 process arrives, doest that mean every 10 seconds process arrives ? Won't the last process that arrived at 60th second take 8 seconds more? I mean is this a possibility to the above question? Aditya Sharan answered Oct 24, 2018 Aditya Sharan comment Share Follow See 1 comment See all 1 1 comment reply shubham02 commented Apr 12, 2020 reply Follow Share even if u consider that each process arrives at an interval of 10 sec. then for one process, its processing time is 8 sec. so the CPU will be idle for the next 2 seconds and then the next process will arrive and so on... so idle time in % = 2(idle time)/10(total time considering one process arrival rate) * 100 = 20% 1 votes 1 votes Please log in or register to add a comment.