Explain different types of queue are used during scheduling? Explain each in detail?
Answers
Answered by
0
The process scheduling is the activity of the process manager that handles the removal of the running process from the CPU and the selection of another process on the basis of a particular strategy.
Process Scheduling Queues
The Operating System maintains the following important process scheduling queues −
Job queue − This queue keeps all the processes in the system.
Ready queue − This queue keeps a set of all processes residing in main memory, ready and waiting to execute. A new process is always put in this queue.
Device queues − The processes which are blocked due to unavailability of an I/O device constitute this queue.
Two-State Process Model
Running
When a new process is created, it enters into the system as in the running state.
2
Not Running
Processes that are not running are kept in queue, waiting for their turn to execute. Each entry in the queue is a pointer to a particular process. Queue is implemented by using linked list.
Schedulers
Long-Term Scheduler
Short-Term Scheduler
Medium-Term Scheduler.
or go to the URL given below :
https://www.tutorialspoint.com/operating_system/os_process_scheduling.htm
Process Scheduling Queues
The Operating System maintains the following important process scheduling queues −
Job queue − This queue keeps all the processes in the system.
Ready queue − This queue keeps a set of all processes residing in main memory, ready and waiting to execute. A new process is always put in this queue.
Device queues − The processes which are blocked due to unavailability of an I/O device constitute this queue.
Two-State Process Model
Running
When a new process is created, it enters into the system as in the running state.
2
Not Running
Processes that are not running are kept in queue, waiting for their turn to execute. Each entry in the queue is a pointer to a particular process. Queue is implemented by using linked list.
Schedulers
Long-Term Scheduler
Short-Term Scheduler
Medium-Term Scheduler.
or go to the URL given below :
https://www.tutorialspoint.com/operating_system/os_process_scheduling.htm
Similar questions