- http://www.ibm.com/developerworks/linux/library/l-scheduler/
- http://en.wikipedia.org/wiki/Completely_Fair_Scheduler
- http://www.ibm.com/developerworks/linux/library/l-completely-fair-scheduler/
3 Linux Scheduling Policies:
- SCHED_OTHER/SCHED_NORMAL Time-based policy with time slices
- SCHED_FIFO Priority-based policy
- SCHED_RR Priority-based policy with time slices
Linux scheduler queues:
- runqueue
- wait_queue or
- red-black tree
- TASK_RUNNING(runqueue)
- TASK_INTERRUPTIBLE(wait_queue)
- TASK_UNINTERRUPTIBLE(wait_queue)
- TASK_STOPPED
- TASK_ZOMBIE
- O(N)
- O(1)
- Completely Fair Scheduler (CFS)
No comments:
Post a Comment