Winter Semester 2026–27 · VIT-AP · BACSE106 · Operating Systems · Dr. Krithika L.B

Priority scheduling and aging

Starvation and how aging fixes it.

Module 2 Session 2.4 Lesson 5 of 6

Priority CPU Scheduling & Aging

An Non-Preemptive, Preemptive Priority Scheduling & Aging Mitigation

Scheduling Mode
Process Configuration
Priority & Aging Concepts
  • Priority Scheduling: CPU is allocated to the process with the highest priority rank.
  • Starvation (Indefinite Blocking): A low-priority process may sit indefinitely in the Ready Queue if higher-priority processes keep arriving continuously.
  • Aging Solution: Gradually improves (boosts) the priority of processes that spend extended time waiting in the Ready Queue.
  • Preemptive Priority: If a newly arriving process has a higher priority than the currently running process, the CPU is preempted immediately.
Simulation Controls
Initializing simulator... Click "Step Forward" or "Play" to start.
Interactive Gantt Chart
Hover or click on any Gantt block or process table row to view step-by-step metric formulas.
Process Execution Metrics
PID Arrival (\(AT\)) Burst (\(BT\)) Initial Priority Completion (\(CT\)) Turnaround (TAT = CT − AT) Waiting (WT = TAT − BT) Response (RT)