TY - JOUR
T1 - Adaptive disk scheduling with workload-dependent anticipation intervals
AU - Tsakalozos, Konstantinos
AU - Stoumpos, Vassilis
AU - Saidis, Kostas
AU - Delis, Alex
N1 - Funding Information:
This work was partially supported by a European Social Funds and National Resources Pythagoras Grant with No. 7410 and the University of Athens Research Foundation.
PY - 2009/2
Y1 - 2009/2
N2 - Anticipatory scheduling (AS) of I/O requests has become a viable choice for block-device schedulers in open-source OS-kernels as prior work has established its superiority over traditional disk-scheduling policies. An AS-scheduler selectively stalls the block-device right after servicing a request in hope that a new request for a nearby sector will be soon posted. Clearly, this decision may introduce delays if the anticipated I/O does not arrive on time. In this paper, we build on the success of the AS and propose an approach that minimizes the overhead of unsuccessful anticipations. Our suggested approach termed workload-dependent anticipation scheduling (WAS), determines the length of every anticipation period in an on-line fashion in order to reduce penalties by taking into account the evolving spatio-temporal characteristics of running processes as well as properties of the underlying computing system. We harvest the spatio-temporal features of individual processes and employ a system-wide process classification scheme that is re-calibrated on the fly. The resulting classification enables the disk scheduler to make informed decisions and vary the anticipation interval accordingly, on a per-process basis. We have implemented and incorporated WAS into the current Linux kernel. Through experimentation with a wide range of diverse workloads, we demonstrate WAS benefits and establish reduction of penalties over other AS-scheduler implementations.
AB - Anticipatory scheduling (AS) of I/O requests has become a viable choice for block-device schedulers in open-source OS-kernels as prior work has established its superiority over traditional disk-scheduling policies. An AS-scheduler selectively stalls the block-device right after servicing a request in hope that a new request for a nearby sector will be soon posted. Clearly, this decision may introduce delays if the anticipated I/O does not arrive on time. In this paper, we build on the success of the AS and propose an approach that minimizes the overhead of unsuccessful anticipations. Our suggested approach termed workload-dependent anticipation scheduling (WAS), determines the length of every anticipation period in an on-line fashion in order to reduce penalties by taking into account the evolving spatio-temporal characteristics of running processes as well as properties of the underlying computing system. We harvest the spatio-temporal features of individual processes and employ a system-wide process classification scheme that is re-calibrated on the fly. The resulting classification enables the disk scheduler to make informed decisions and vary the anticipation interval accordingly, on a per-process basis. We have implemented and incorporated WAS into the current Linux kernel. Through experimentation with a wide range of diverse workloads, we demonstrate WAS benefits and establish reduction of penalties over other AS-scheduler implementations.
KW - Anticipatory scheduling
KW - Kernel structures
KW - Scheduling of block-devices
UR - http://www.scopus.com/inward/record.url?scp=58549119540&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=58549119540&partnerID=8YFLogxK
U2 - 10.1016/j.jss.2008.06.025
DO - 10.1016/j.jss.2008.06.025
M3 - Article
AN - SCOPUS:58549119540
SN - 0164-1212
VL - 82
SP - 274
EP - 291
JO - Journal of Systems and Software
JF - Journal of Systems and Software
IS - 2
ER -