通信学报 ›› 2015, Vol. 36 ›› Issue (1): 159-166.doi: 10.11959/j.issn.1000-436x.2015018

• 学术论文 • 上一篇    下一篇

基于负载特性和服务时间评估改进的AS调度算法

陈金志,姚念民,蔡绍滨,孙美玲   

  1. 哈尔滨工程大学 计算机科学与技术学院,黑龙江 哈尔滨 150000
  • 出版日期:2015-01-25 发布日期:2017-06-21
  • 基金资助:
    国家自然科学基金资助项目;国家自然科学基金资助项目;浙江省教育厅科学基金资助项目;浙江省自然科学基金资助项目

Improved anticipatory scheduling algorithm based on workload characteristic and service time evaluation

Jin-zhong CHEN,Nian-min YAO,Shao-bin CAI,Mei-ling SUN   

  1. College of Computer Science and Technology,Harbin Engineering University,Harbin 150000,China
  • Online:2015-01-25 Published:2017-06-21
  • Supported by:
    The National Natural Science Foundation of China;The National Natural Science Foundation of China;The Natural Science Foundation of Zhejiang Province;Education Department Foundation of Zhejiang Province

摘要:

Linux I/O调度层的预期调度算法AS(anticipatory scheduling)对所有的负载分配相同的预期周期,如果等待的I/O请求没有及时到达,将会带来额外的时延。针对AS算法的不足,提出了一种基于负载特性和服务时间评估改进的AS算法(WPCAS,workload characteristic and service time evluation AS)。WPCAS分为进程归类模块(PC)和服务时间评估模块(STE)两部分。PC模块根据负载特性为每类进程指定不同的预期周期。STE模块根据服务时间决定是否预期下一个请求。通过对比实验表明,WPCAS 在吞吐量、预期成功平均等待时延和伪空闲周期方面都优越于95%-Heuristic和AS算法。

关键词: 存储系统, I/O调度层, AS, WPCAS, 服务时间

Abstract:

Anticipatory scheduling (AS) of Linux I/O schedule layer assigns fixed anticipation period length to each process.It will introduce extra delay if I/O request does not arrive in time.The improved anticipatory scheduling (WPCAS) algorithm is proposed which is based on workload characteristic and service time.WPCAS includes process classifier(PC) module and request service time evaluation (STE) module.PC module assigns different anticipation period lengths in terms of workload characteristic.STE module decides whether to anticipate the coming request according to service time.Experimental results show that WPCAS algorithm is superior to 95%-Heuristic and AS in terms of throughput,average waiting time of anticipation success and deceptive idleness.

Key words: storage system, I/O schedule layer, AS, WPCAS, service time

No Suggested Reading articles found!