Abstract
We consider the online scheduling problem for sorting buffers on a line metric, motivated by an application to disc scheduling. Input is an online sequence of requests. Each request is a block of data to be written on a specified track of the disc. To write a block on a particular track, the scheduler has to bring the disc head to that track. The cost of moving the disc head from a track to another is the distance between those tracks. A sorting buffer that can store at most k requests at a time is available to the scheduler. This buffer can be used to rearrange the input sequence. The objective is to minimize the total cost of head movement while serving the requests. On a disc with n uniformly-spaced tracks, we give a randomized online algorithm with a competitive ratio of O(log2 n) in expectation against an oblivious adversary. We show that any deterministic strategy which makes scheduling decisions based only on the contents of the buffer has a competitive ratio of Ω(k) or Ω(log n/loglog n).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Andrews, M., Bender, M., Zhang, L.: New algorithms for disc scheduling. Algorithmica 32(2), 277–301 (2002)
Bar-Yehuda, R., Laserson, J.: 9-approximation algorithm for the sorting buffers problem. In: 3rd Workshop on Approximation and Online Algorithms (2005)
Bartal, Y.: Probabilistic approximations of metric spaces and its algorithmic applications. In: IEEE Symposium on Foundations of Computer Science, pp. 184–193 (1996)
Charikar, M., Khuller, S., Raghavachari, B.: Algorithms for capacitated vehicle routing. SIAM Journal of Computing 31, 665–682 (2001)
Charikar, M., Raghavachari, B.: The finite capacity dial-a-ride problem. In: IEEE Symposium on Foundations of Computer Science, pp. 458–467 (1998)
Englert, M., Westermann, M.: Reordering buffer management for non-uniform cost models. In: Proceedings of the 32nd International Colloquium on Algorithms, Langauages, and Programming, pp. 627–638 (2005)
Fakcharoenphol, J., Rao, S., Talwar, K.: A tight bound on approximating arbitrary metrics by tree metrics. In: 35th Annual ACM Symposium on Theory of Computing, pp. 448–455 (2003)
Kohrt, J., Pruhs, K.: A constant approximation algorithm for sorting buffers. In: Farach-Colton, M. (ed.) LATIN 2004. LNCS, vol. 2976, pp. 193–202. Springer, Heidelberg (2004)
Räcke, H., Sohler, C., Westermann, M.: Online scheduling for sorting buffers. In: Proceedings of the European Symposium on Algorithms, pp. 820–832 (2002)
Silberschatz, A., Galvin, P., Gagne, G.: Applied Operating System Concepts, ch. 13, 1st edn., pp. 435–468. John Wiley and Sons, Chichester (2000)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Khandekar, R., Pandit, V. (2006). Online Sorting Buffers on Line. In: Durand, B., Thomas, W. (eds) STACS 2006. STACS 2006. Lecture Notes in Computer Science, vol 3884. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11672142_48
Download citation
DOI: https://doi.org/10.1007/11672142_48
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-32301-3
Online ISBN: 978-3-540-32288-7
eBook Packages: Computer ScienceComputer Science (R0)