Title :
Research on improving fairness of Linux scheduler
Author :
Wenbo Wu ; Xinyu Yao ; Wei Feng ; Yong Chen
Author_Institution :
Coll. of Inf. Syst. & Manage., Nat. Univ. of Defense Technol., Changsha, China
Abstract :
The Operating System scheduler is designed to allocate the CPU resources appropriately to all processes. The Linux Completely Fair Scheduler (CFS) design ensures fairness among tasks using the thread fair scheduling algorithm. This algorithm ensures allocation of resources based on the number of threads in the system and not within executing programs. Fairness issue of the CFS used in Linux kernel comes up due to the fact that programs with higher number of threads are favored by the scheduler, which based on the number of threads in the system. A novel algorithm as well as its implementation through optimized procedure is proposed as a solution to achieving better fairness by punishing greedy-threaded programs. Several tests are conducted to illustrate fairness issue and to examine the effect of the proposed algorithm.
Keywords :
Linux; greedy algorithms; multi-threading; resource allocation; scheduling; CFS design; CPU resource allocation; Linux completely fair scheduler design; Linux kernel; Linux scheduler fairness improvement; operating system scheduler; optimized procedure; punishing greedy-threaded programs; thread fair scheduling algorithm; Algorithm design and analysis; Heuristic algorithms; Instruction sets; Kernel; Linux; Real-time systems; Resource management; Completely Fair Scheduler; Linux;
Conference_Titel :
Information and Automation (ICIA), 2013 IEEE International Conference on
Conference_Location :
Yinchuan
DOI :
10.1109/ICInfA.2013.6720333