Adaptive disk scheduling with workload-dependent anticipation intervals

  • Authors:
  • Konstantinos Tsakalozos;Vassilis Stoumpos;Kostas Saidis;Alex Delis

  • Affiliations:
  • University of Athens, Department of Informatics and Telecommunications, Typa Buildings, University Campus, Athens 15784, Greece;University of Athens, Department of Informatics and Telecommunications, Typa Buildings, University Campus, Athens 15784, Greece;University of Athens, Department of Informatics and Telecommunications, Typa Buildings, University Campus, Athens 15784, Greece;University of Athens, Department of Informatics and Telecommunications, Typa Buildings, University Campus, Athens 15784, Greece

  • Venue:
  • Journal of Systems and Software
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.