skip to main content
10.1145/2213977.2214031acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
research-article

Optimal online buffer scheduling for block devices

Published:19 May 2012Publication History

ABSTRACT

We introduce a buffer scheduling problem for block operation devices in an online setting. We consider a stream of items of different types to be processed by a block device. The block device can process all items of the same type in a single step. To improve the performance of the system a buffer of size k is used to store items in order to reduce the number of operations required. Whenever the buffer becomes full a buffer scheduling strategy has to select one type and then a block operation on all elements with this type that are currently in the buffer is performed. The goal is to design a scheduling strategy that minimizes the number of block operations required. In this paper we consider the online version of this problem, where the buffer scheduling strategy must make decisions without knowing the future items that appear in the input stream. Our main result is the design of an O(log log k)-competitive online randomized buffer scheduling strategy. The bound is asymptotically tight. As a byproduct of our LP-based techniques, we obtain a randomized offline algorithm that approximates the optimal number of block operations to within a constant factor.

Skip Supplemental Material Section

Supplemental Material

stoc_7a_4.mp4

mp4

132.4 MB

References

  1. Amjad Aboud. Correlation clustering with penalties and approximating the reordering buffer management problem. Master's thesis, Computer Science Department, The Technion | Israel Institute of Technology, 2008.Google ScholarGoogle Scholar
  2. Anna Adamaszek, Artur Czumaj, Matthias Englert, and Harald Racke. Almost tight bounds for reordering buffer management. In Proceedings of the 43rd ACM Symposium on Theory of Computing (STOC), pages 607--616, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Anna Adamaszek, Artur Czumaj, Matthias Englert, and Harald Racke. An O(logk)-competitive algorithm for generalized caching. In Proceedings of the 23rd ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1681--1689, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Yuichi Asahiro, Kenichi Kawahara, and Eiji Miyano. NP-hardness of the sorting buffer problem on the uniform metric. Unpublished manuscript, 2010.Google ScholarGoogle Scholar
  5. Noa Avigdor-Elgrabli and Yuval Rabani. An improved competitive algorithm for reordering buffer management. In Proceedings of the 21st ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 13--21, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Noa Avigdor-Elgrabli and Yuval Rabani. A constant factor approximation algorithm for reordering buffer management. arXiv:1202.4504, 2012.Google ScholarGoogle Scholar
  7. Nikhil Bansal, Niv Buchbinder, Aleksander Madry, and Joseph Naor. A polylogarithmic-competitive algorithm for the k-server problem. In Proceedings of the 52nd IEEE Symposium on Foundations of Computer Science (FOCS), pages 267--276, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Nikhil Bansal, Niv Buchbinder, and Joseph Naor. A primal-dual randomized algorithm for weighted paging. In Proceedings of the 48th IEEE Symposium on Foundations of Computer Science (FOCS), pages 507--517, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Nikhil Bansal, Niv Buchbinder, and Joseph Naor. Ran-domized competitive algorithms for generalized caching. In Proceedings of the 30th ACM Symposium on Theory of Computing (STOC), pages 235--244, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Reuven Bar-Yehuda and Jonathan Laserson. Exploiting locality: Approximating sorting buffers. In Proceedings of the 3rd Workshop on Approximation and Online Algorithms (WAOA), pages 69--81, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Dan Blandford and Guy Blelloch. Index compression through document reordering. In Proceedings of the Data Compression Conference (DCC), pages 342--351, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Niv Buchbinder and Joseph Naor. Online primal-dual algorithms for covering and packing problems. In Proceedings of the 13th European Symposium on Algorithms (ESA), pages 689--701, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Ho-Leung Chan, Nicole Megow, Rob van Stee, and Rene Sitters. The sorting buffer problem is NP-hard.CoRR, abs/1009.4355, 2010.Google ScholarGoogle Scholar
  14. Matthias Englert, Harald Racke, and Matthias Westermann. Reordering buffers for general metric spaces. In Proceedings of the 39th ACM Symposium on Theory of Computing (STOC), pages 556--564, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Matthias Englert, Heiko Roglin, and Matthias Westermann. Evaluation of online strategies for reordering buffers.ACM Journal of Experimental Algorithmics, 14:3:3.3--3:3.14, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Matthias Englert and Matthias Westermann. Reordering buffer management for non-uniform cost models. In Proceedings of the 32nd International Colloquium on Automata, Languages and Programming (ICALP), pages 627--638, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Iftah Gamzu and Danny Segev. Improved online algorithms for the sorting buffer problem. In Proceedings of the 24th Symposium on Theoretical Aspects of Computer Science (STACS), pages 658--669, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Kai Gutenschwager, Sven Spiekermann, and Stefan Vo. A sequential ordering problem in automotive paint shops. International Journal of Production Research, 42(9):1865--1878, 2004.Google ScholarGoogle ScholarCross RefCross Ref
  19. Rohit Khandekar and Vinayaka Pandit. Online and offline algorithms for the sorting buffers problem on the line metric. Journal of Discrete Algorithms, 8(1):24--35, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Jens S. Kohrt and Kirk Pruhs. A constant factor approximation algorithm for sorting buffers. In Proceedings of the 6th Latin American Symposium on Theoretical Informatics (LATIN), pages 193--202, 2004.Google ScholarGoogle Scholar
  21. Jens Krokowski, Harald Racke, Christian Sohler, and Matthias Westermann. Reducing state changes with a pipeline buffer. In Proceedings of the 9th International Fall Workshop Vision, Modeling, and Visualization (VMV), pages 217--224, 2004.Google ScholarGoogle Scholar
  22. Harald Racke, Christian Sohler, and Matthias Westermann. Online scheduling for sorting buffers. In Proceedings of the 10th European Symposium on Algorithms (ESA), pages 820--832, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Optimal online buffer scheduling for block devices

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          STOC '12: Proceedings of the forty-fourth annual ACM symposium on Theory of computing
          May 2012
          1310 pages
          ISBN:9781450312455
          DOI:10.1145/2213977

          Copyright © 2012 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 19 May 2012

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate1,469of4,586submissions,32%

          Upcoming Conference

          STOC '24
          56th Annual ACM Symposium on Theory of Computing (STOC 2024)
          June 24 - 28, 2024
          Vancouver , BC , Canada

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader