Improving the program performance through prioritized disk operation

Tsozen Yeh, Shuwen Yang
{"title":"Improving the program performance through prioritized disk operation","authors":"Tsozen Yeh, Shuwen Yang","doi":"10.1109/HPCSim.2012.6266976","DOIUrl":null,"url":null,"abstract":"Computers are indispensable to modern human society. Often computers host multiple programs running simultaneously. However, among those programs, some maybe more time-critical than others to users. Consequently, users would hope those time-critical programs to finish their execution as soon as possible. Generally speaking, the course of program execution includes CPU operation and hard disk operation (disk I/O). For the CPU operation, modern computer systems have the ability to adjust the CPU scheduling sequence according to program priority. Nevertheless, for the disk I/O, it is not quite the same. Most computer systems do not have effective ways to conduct disk I/O based on program priority. Compared with CPU, disk I/O speed is still about six orders of magnitude behind, making time-critical and high-priority programs involving disk I/O hard to achieve high performance as users would expect. Currently, Complete Fair Queuing (CFQ) is the default disk scheduler in the Linux operating system. Unfortunately, it only offers prioritized disk I/O to some extent. We propose and implement a new disk scheduler, namely Prioritized Complete Fair Queuing (PCFQ), by adding schemes of supporting truly prioritized disk I/O into CFQ in the Linux kernel. We compare the performance between PCFQ and CFQ under different situations. Our experimental results demonstrate that, for programs with high priority, PCFQ outperforms CFQ in all cases by reducing up to extra 59.7% of the program execution time on top of what CFQ can accomplish.","PeriodicalId":428764,"journal":{"name":"2012 International Conference on High Performance Computing & Simulation (HPCS)","volume":"52 39","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-07-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 International Conference on High Performance Computing & Simulation (HPCS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/HPCSim.2012.6266976","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Computers are indispensable to modern human society. Often computers host multiple programs running simultaneously. However, among those programs, some maybe more time-critical than others to users. Consequently, users would hope those time-critical programs to finish their execution as soon as possible. Generally speaking, the course of program execution includes CPU operation and hard disk operation (disk I/O). For the CPU operation, modern computer systems have the ability to adjust the CPU scheduling sequence according to program priority. Nevertheless, for the disk I/O, it is not quite the same. Most computer systems do not have effective ways to conduct disk I/O based on program priority. Compared with CPU, disk I/O speed is still about six orders of magnitude behind, making time-critical and high-priority programs involving disk I/O hard to achieve high performance as users would expect. Currently, Complete Fair Queuing (CFQ) is the default disk scheduler in the Linux operating system. Unfortunately, it only offers prioritized disk I/O to some extent. We propose and implement a new disk scheduler, namely Prioritized Complete Fair Queuing (PCFQ), by adding schemes of supporting truly prioritized disk I/O into CFQ in the Linux kernel. We compare the performance between PCFQ and CFQ under different situations. Our experimental results demonstrate that, for programs with high priority, PCFQ outperforms CFQ in all cases by reducing up to extra 59.7% of the program execution time on top of what CFQ can accomplish.
通过优先化磁盘操作来提高程序性能
计算机是现代人类社会不可或缺的。计算机通常同时运行多个程序。然而,在这些程序中,对用户来说,有些程序可能比其他程序更需要时间。因此,用户希望那些时间紧迫的程序尽快完成它们的执行。一般来说,程序执行的过程包括CPU操作和硬盘操作(磁盘I/O)。对于CPU的运行,现代计算机系统具有根据程序优先级调整CPU调度顺序的能力。然而,对于磁盘I/O,情况就不太一样了。大多数计算机系统没有基于程序优先级执行磁盘I/O的有效方法。与CPU相比,磁盘I/O速度仍然落后大约6个数量级,这使得涉及磁盘I/O的时间关键型高优先级程序难以达到用户期望的高性能。目前,完全公平排队(Complete Fair Queuing, CFQ)是Linux操作系统中的默认磁盘调度程序。不幸的是,它在某种程度上只提供了优先级的磁盘I/O。我们提出并实现了一种新的磁盘调度程序,即优先级完全公平队列(PCFQ),通过在Linux内核的CFQ中添加支持真正优先的磁盘I/O的方案。我们比较了PCFQ和CFQ在不同情况下的性能。我们的实验结果表明,对于具有高优先级的程序,PCFQ在所有情况下都优于CFQ,在CFQ可以完成的基础上,PCFQ最多减少59.7%的程序执行时间。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信