Process Scheduling Flashcards
is the act of selecting a job or a task that is to be dispatched.
Scheduling or process scheduling
This queue contains all the processes in the system
Job queue
This queue keeps a set of all processes residing in the main memory, ready and waiting to execute. A new process is always added to this queue
Ready queue
This queue contains processes waiting for a device to become available. Note that there are unique queues available for each I/O device.
Device queue
This involves a long-term scheduler, also known as a job scheduler, that determines which programs are admitted to the system for processing.
Thus, it controls the degree of multiprogramming.
If the degree of multiprogramming is stable, then the average rate of process creation must be equal to the average departure rate of processes of the system.
The primary objective of the job scheduler is to provide a balanced mix of jobs.
Long-term scheduling
This involves a short-term scheduler, also known as the dispatcher, that is invoked whenever an event that may lead to the blocking of the current process occurs.
Short-term scheduling
This is a part of the swapping function. The … is in charge of handling the swapped-out processes.
on the other hand, the swapping-in decision is based on the need to manage the degree of multiprogramming. This actually reduces the degree of multiprogramming.
Medium-term scheduling
A running processes becomes suspended if its makes an I/O request, wherein it cannot make any progress towards completion.
In order to remove the process from the memory and make space for other processes, the suspended process is moved to the secondary storage. Hence, the process of swapping
Swapping