Definition
A CPU scheduling technique that fixes each process to one of several queues, to treat each type of process differently
Visual IT Encyclopedia › Operating Systems › Process Management
Definition
A CPU scheduling technique that fixes each process to one of several queues, to treat each type of process differently
Setup: one CPU, three ready queues (upper queues run first). Within each queue, processes run in the order they arrived (each queue can use its own method; here all use FCFS). P1–P4 have the same arrivals and run times as the other scheduling examples, and the queue each one goes into is set by the type of process. The time it takes to switch processes is counted as 0. (ms: a thousandth of a second)
0 / 8
Multi-Level Queue (MLQ) Scheduling
Multi-Level Queue (MLQ) scheduling splits the ready queue into several queues and fixes each process in one of them by its type (system, interactive, batch and so on). A lower queue runs only when the queues above it are empty, and even while a lower-queue process is running, the OS stops it when a process arrives in an upper queue (preemption). A process never changes queues once it is in one.
At a bank: there is one counter, but separate VIP and regular lines. Regular customers are served only when the VIP line is empty, and they can't move to the VIP line.