Texonom
Texonom
/
Engineering
Engineering
/Hardware Engineering/Computer/Operating System/UNIX/Unix-like/Linux/Linux Strcutre/Linux Process/Linux Scheduler/
CFS
Search

CFS

Creator
Creator
Seonglae Cho
Created
Created
2023 Sep 20 7:39
Editor
Editor
Seonglae Cho
Edited
Edited
2023 Oct 24 15:24
Refs
Refs
task_struct.sched_entity
struct cfs_rq

Completely Fair Scheduler

O(logN)O(logN)O(logN) complexity. Linux 2.6.23 ~ Linux 6.x (2007)
Introduced by Ingo Molnar, inspired by Con Kolvivas’s work on fair scheduling
CFS Notion
Scheduling Class
CFS Weight
CFS Philosophy
Virtual Runtime
CFS Time slice
 
 
 
 
Completely Fair Scheduler
The Completely Fair Scheduler (CFS) is a process scheduler that was merged into the 2.6.23 release of the Linux kernel and is the default scheduler of the tasks of the SCHED_NORMAL class. It handles CPU resource allocation for executing processes, and aims to maximize overall CPU utilization while also maximizing interactive performance.
Completely Fair Scheduler
https://en.wikipedia.org/wiki/Completely_Fair_Scheduler
Completely Fair Scheduler
github.com
https://github.com/torvalds/linux/blob/0e945134b680040b8613e962f586d91b6d40292d/kernel/sched/idle.c
github.com
https://github.com/torvalds/linux/blob/0e945134b680040b8613e962f586d91b6d40292d/kernel/sched/fair.c
github.com
https://github.com/torvalds/linux/blob/0e945134b680040b8613e962f586d91b6d40292d/kernel/sched/rt.c
 
 
 

Recommendations

Texonom
Texonom
/
Engineering
Engineering
/Hardware Engineering/Computer/Operating System/UNIX/Unix-like/Linux/Linux Strcutre/Linux Process/Linux Scheduler/
CFS
Copyright Seonglae Cho