首页 | 本学科首页   官方微博 | 高级检索  
     

动态时间片缩放:一种优化Linux 任务公平性的方法
引用本文:高旭宏,李曦.动态时间片缩放:一种优化Linux 任务公平性的方法[J].计算机系统应用,2012,21(10):208-213.
作者姓名:高旭宏  李曦
作者单位:[1]中国科学技术大学计算机科学与技术学院,合肥230027 [2]中国科学技术大学苏州研究院,苏州215123
基金项目:基金项目:江苏省产学研前瞻性联合研究项目(BY2009128)
摘    要:处理器动态电压频率调节技术,对Linux系统中并发任务的性能产生不同程度的变化,从而影响并发任务计算资源分配的公平性.提出了一种利用动态时间片缩放来优化任务公平性的方法,并基于Linux操作系统任务调度程序,加入动态时间片缩放模块,该模块通过读取CPU性能监控计数器,在线计算时间片缩放系数,并利用该系数对任务时间片长度进行动态缩放.实验表明,这种方法以较小的系统开销为价,极大地提高了Linux中并发任务计算资源分配的公平性.

关 键 词:动态电压频率调节  Linux任务调度程序  并发任务  公平性  动态时间片缩放
收稿时间:3/3/2012 12:00:00 AM
修稿时间:2012/4/10 0:00:00

Dynamic Time-Slice Scaling: A Scheme to Improve Fairness of Tasks in Linux
GAO Xu-Hong and LI Xi.Dynamic Time-Slice Scaling: A Scheme to Improve Fairness of Tasks in Linux[J].Computer Systems& Applications,2012,21(10):208-213.
Authors:GAO Xu-Hong and LI Xi
Affiliation:1(School of Computer Science and Technology, University of Science and Technology of China, Hefei 230027, China) 2(Suzhou Institute for Advanced Study, University of Technology and Science of China, Suzhou 215123, China)
Abstract:The processor dynamic voltage and frequency scaling(DVFS)leads to unequal performance loss for concurrently running tasks in Linux, affecting the fairness of CPU sharing. This paper proposes a dynamic time-slice scaling scheme to improve the fairness of CPU sharing for concurrently running tasks. The method which is implemented based on Linux task scheduler dynamically scales the length of time-slice for each task using a time-slice scaling factor which is calculated based on the processor performance monitoring unit statistics. Experiment results show that dynamic time-slice sealing scheme can significantly improve the fairness of the CPU sharing with low overhead compared with the conventional Linux scheduler algorithm.
Keywords:dynamic voltage and frequency scaling  Linux task scheduler  concurrently running tasks  fairness  dynamictime-slice scaling
本文献已被 CNKI 维普 等数据库收录!
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号