计算机工程与应用
計算機工程與應用
계산궤공정여응용
COMPUTER ENGINEERING AND APPLICATIONS
2014年
21期
59-62
,共4页
朱永华%沈熠%刘玲
硃永華%瀋熠%劉玲
주영화%침습%류령
Linux内核%任务调度%完全公平调度
Linux內覈%任務調度%完全公平調度
Linux내핵%임무조도%완전공평조도
Linux kernel%process scheduling%complete fair scheduler
针对现有Linux内核使用的完全公平调度器无法有效解决贪婪线程问题,提出一种改进的调度算法和该算法的高效实现,该算法通过惩罚贪婪线程的方法提升调度器的公平性。实验结果证实,贪婪线程问题存在;改进后的调度算法有效减少了存在贪婪线程问题的程序对降低系统整体性能的影响。
針對現有Linux內覈使用的完全公平調度器無法有效解決貪婪線程問題,提齣一種改進的調度算法和該算法的高效實現,該算法通過懲罰貪婪線程的方法提升調度器的公平性。實驗結果證實,貪婪線程問題存在;改進後的調度算法有效減少瞭存在貪婪線程問題的程序對降低繫統整體性能的影響。
침대현유Linux내핵사용적완전공평조도기무법유효해결탐람선정문제,제출일충개진적조도산법화해산법적고효실현,해산법통과징벌탐람선정적방법제승조도기적공평성。실험결과증실,탐람선정문제존재;개진후적조도산법유효감소료존재탐람선정문제적정서대강저계통정체성능적영향。
Fairness issue of the Completely Fair Scheduler(CFS)used in Linux kernel comes up due to the fact that pro-grams with higher number of threads are favored by the scheduler, which are based on the number of thread in the system. A novel algorithm as well as its implementation through optimized procedure is proposed as a solution to achieve better fairness by punishing greedy-threaded programs. Several tests are conducted to illustrate fairness issue and to examine the effect of the proposed algorithm.