Please enable JavaScript.
Coggle requires JavaScript to display documents.
Process Scheduling - Coggle Diagram
Process Scheduling
Process scheduling is the operating system function responsible for deciding the order and manner in which processes use the CPU and system resources.
Its main objective is to optimize performance, ensure fairness, and maintain high CPU utilization.
Scheduling Levels
Scheduling levels determine how the operating system organizes processes according to their priority and execution time.
Real-time scheduling
-
Used in critical systems: aircraft control, medical systems, industrial control.
-
-
Kernel-level scheduling
-
Includes tasks such as process scheduling, memory management, and I/O.
-
-
User-level scheduling
-
-
Seeks fairness, efficiency, and good interactive response.
-
Processor expropriation
Preemption allows the operating system to interrupt a running process to give CPU to another of higher priority
-
-
-
Planning Algorithms
-
FCFS (First-Come, First-Served)
-
-
-
-
-
By priority
-
It can be:
Non-preemptive: the current process ends before the change.
Preemptive: a higher-priority process can interrupt another.
-
-
Multiple queues
Divides processes into queues by priority or type (system, user, interactive…).
Each queue uses its own algorithm (SJF, RR, etc.).
-
-
-