Consider the state transition diagram of the following figure. Suppose that it i
ID: 3872005 • Letter: C
Question
Consider the state transition diagram of the following figure. Suppose that it is time for the OS to dispatch a process and that there are processes in both the Ready state and the Ready/Suspend state, and that at least one process in the Ready/Suspend state has higher scheduling priority than any of the processes in the Ready state. Two extreme policies are followed:
a. Always dispatch from a process in the Ready state, to minimize swapping, and
b. Always give preference to the highest-priority process, even though that may mean swapping when swapping is not necessary.
* Suggest an intermediate policy that tries to balance the concerns of priority and performance.
New Activate Dispatch. Release Ready/ Suspend Running Exit Suspend Timeout Activate Blocked/ Suspend Blocked Suspend (b) With Two Suspend States Figure 3.9 Process State Transition Diagram with Suspend StatesExplanation / Answer
The important intermediate policies that can be taken up for scheduling a process in an operating system for better output are as follows:
I have given three possible policies that you can use for your answer. The last one will be the best option.
I have solved your question. Please do not forget to give a positive like to the answer. Thank you.