Lab › CPU Scheduling › Priority

Priority Scheduling

Non-preemptive priority scheduling — lower number = higher priority. Includes starvation detection.

Non-Preemptive Priority-Based Starvation Highlight
Priority Scheduling: Each process has a priority. CPU is assigned to the process with the highest priority (lowest number convention). Can be preemptive or non-preemptive.
Problem: Low-priority processes may starve. Solution: Aging — increase priority over time. Lower number = Higher priority (convention)
Process Configuration
ProcessArrival TimeBurst TimePriority (1=Highest)Action