{"title":"Research on improving fairness of Linux scheduler","authors":"Wenbo Wu, Xinyu Yao, Wei Feng, Yong Chen","doi":"10.1109/ICINFA.2013.6720333","DOIUrl":null,"url":null,"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.","PeriodicalId":250844,"journal":{"name":"2013 IEEE International Conference on Information and Automation (ICIA)","volume":"18 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 IEEE International Conference on Information and Automation (ICIA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICINFA.2013.6720333","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4
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.