CFS dispatcher
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- LANGCHAO ELECTRONIC INFORMATION IND CO LTD
- Publication Date
- 2015-02-25
Smart Images
Figure 1 Figure 2
Abstract
Description
technical field
[0001] The invention relates to the design field of linux kernel process scheduling algorithm, in particular to a CFS scheduler. Background technique
[0002] The CFS process scheduling algorithm is a product that appeared after linux2.6.23, and its appearance completely replaced the previous O(n) and O(1) scheduling algorithms; in the previous scheduling algorithm, no matter how optimized, there are always some low priorities The process cannot be scheduled by the CPU. In this case, CFS comes into being with a completely fair scheduling strategy.
[0003] The CFS algorithm is the most used process scheduling algorithm in the current Linux system. Because its idea is simple, easy to implement, and effectively solves the problem of process starvation, it effectively takes O(1) and O(n) scheduling algorithm. But the seemingly perfect algorithm also has its shortcomings. Although it perfectly solves the problem of process waiting, it introduces some new probl...