Processes 4
Overview
- Multi-level feedback queues
- Scheduling in Window 7 + illustration Scheduling in
- Linux (implementation in labs) Scheduling related processes/threads
Multi-level Feedback Queues
- Different scheduling algorithms can be used for the individual queues (e.g., round robin, SJF, FCFS)
Feedback queues allow priorities to change dynamically[动态的], i.e., jobs can move between queues:
- Move to lower priority queue if too much CPU time is used (prioritise I/O and interactive processes)
- Move to higher priority queue to prevent starvation and avoid inversion[反转] of control
Defining characteristics of feedback queues include:
- The number of queues
- The scheduling algorithms used for the individual queues
- Migration policy[迁移政策] between queues
- Initial access to the queues
Feedback queues are highly configurable[可配置] and offer significant flexibility[灵活性,适应性]