βοΈ Processor Management in OS π§
Processor Management (or CPU Scheduling) decides which process uses the CPU and when, ensuring smooth and fair execution.
π Types of CPU Scheduling
π₯ Preemptive Scheduling β
π OS can interrupt a running process to give CPU to another (higher priority or ready) process.
β¨ Example: Round Robin, SRTF
π§© Non-Preemptive Scheduling β
π Once a process gets CPU, it runs till completion or waits voluntarily.
β¨ Example: FCFS, SJF
π₯οΈ Goal: Maximize CPU usage β‘, reduce waiting time β³, and keep the system responsive π»
Top comments (0)