Question: I / O Burst time needed. If a process never needs I / O , then the I / O Burst for that process would
IO Burst time needed. If a process never needs IO then the IO Burst for that process
would be For ease of implementation, the following approach is suggested:
All processes go into the Ready Queue at their arrival time.
Processes that have a nonzero IO Burst time, upon entering the running queue
for the first time, will be placed into the Blocked queue after of their FIRST
CPU time quantum has been used. This will simulate a process doing some work,
then needing to do IO so it is blocked.
Upon completion of a process IO Burst time in the Blocked queue, it will be
moved back to the Ready queue. At this time, the process will continue to be
scheduled until its CPU Bust is complete that is continue to get time quantums,
based upon its priority, until the remainder of its CPU Burst is exhausted
To simplify odd cases, it is highly suggested that processes with nonzero IO
Burst time should have a CPU Burst time that is twice the time quantum.
Provide output showing processes status. You may need to add additional
output to demonstrate your final product
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
