Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3406325.3451033acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
research-article
Open access

How asymmetry helps buffer management: achieving optimal tail size in cup games

Published: 15 June 2021 Publication History

Abstract

The cup game on n cups is a multi-step game with two players, a filler and an emptier. At each step, the filler distributes 1 unit of water among the cups, and then the emptier selects a single cup to remove (up to) 1 unit of water from.
There are several objective functions that the emptier might wish to minimize. One of the strongest guarantees would be to minimize tail size, which is defined to be the number of cups with fill 2 or greater. A simple lower-bound construction shows that the optimal tail size for deterministic emptying algorithms is Θ(n), however.
We present a simple randomized emptying algorithm that achieves tail size Õ(logn) with high probability in n for poly n steps. Moreover, we show that this is tight up to doubly logarithmic factors. We also extend our results to the multi-processor cup game, achieving tail size Õ(logn + p) on p processors with high probability in n. We show that the dependence on p is near optimal for any emptying algorithm that achieves polynomial-bounded backlog.
A natural question is whether our results can be extended to give unending guarantees, which apply to arbitrarily long games. We give a lower bound construction showing that no monotone memoryless emptying algorithm can achieve an unending guarantee on either tail size or the related objective function of backlog. On the other hand, we show that even a very small (i.e., 1 / poly n) amount of resource augmentation is sufficient to overcome this barrier.

References

[1]
Micah Adler, Petra Berenbrink, Tom Friedetzky, Leslie Ann Goldberg, Paul Goldberg, and Mike Paterson. 2003. A Proportionate Fair Scheduling Rule with Good Worst-case Performance. In Proceedings of the Fifteenth Annual ACM Symposium on Parallel Algorithms and Architectures (SPAA). Pages 101–108. isbn:1-58113-661-7 https://doi.org/10.1145/777412.777430
[2]
Amihood Amir, Martin Farach, Ramana M. Idury, Johannes A. La Poutré, and Alejandro A. Schäffer. 1995. Improved Dynamic Dictionary Matching. Inf. Comput., 119, 2, 1995. Pages 258–282. https://doi.org/10.1006/inco.1995.1090
[3]
Amihood Amir, Gianni Franceschini, Roberto Grossi, Tsvi Kopelowitz, Moshe Lewenstein, and Noa Lewenstein. 2014. Managing Unbounded-Length Keys in Comparison-Driven Data Structures with Applications to Online Indexing. SIAM J. Comput., 43, 4, 2014. Pages 1396–1416. https://doi.org/10.1137/110836377
[4]
Yossi Azar and Arik Litichevskey. 2006. Maximizing Throughput in Multi-Queue Switches. Algorithmica, 45, 1, 2006. Pages 69–90. https://doi.org/10.1007/s00453-005-1190-x
[5]
Amotz Bar-Noy, Ari Freund, Shimon Landa, and Joseph Naor. 2003. Competitive On-Line Switching Policies. Algorithmica, 36, 3, 2003. Pages 225–247. https://doi.org/10.1007/s00453-003-1014-9
[6]
Amotz Bar-Noy, Aviv Nisgav, and Boaz Patt-Shamir. 2002. Nearly optimal perfectly periodic schedules. Distributed Comput., 15, 4, 2002. Pages 207–220. https://doi.org/10.1007/s00446-002-0085-1
[7]
S. K. Baruah, N. K. Cohen, C. G. Plaxton, and D. A. Varvel. 1996. Proportionate progress: A notion of fairness in resource allocation. Algorithmica, 15, 6, 01 Jun, 1996. Pages 600–625. issn:1432-0541 https://doi.org/10.1007/BF01940883
[8]
Sanjoy K. Baruah, Johannes Gehrke, and C. Greg Plaxton. 1995. Fast scheduling of periodic tasks on multiple resources. In Proceedings of IPPS '95, The 9th International Parallel Processing Symposium, April 25-28, 1995, Santa Barbara, California, USA. IEEE Computer Society. Pages 280–288. https://doi.org/10.1109/IPPS.1995.395946
[9]
Michael A. Bender, Jake Christensen, Alex Conway, Martin Farach-Colton, Rob Johnson, Meng-Tsung Tsai, and Timothy M. Chan. 2019. Optimal Ball Recycling. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2019, San Diego, California, USA, January 6-9, 2019. SIAM. Pages 2527–2546. https://doi.org/10.1137/1.9781611975482.155
[10]
Michael A. Bender, Rathish Das, Martin Farach-Colton, Rob Johnson, William Kuszmaul, and Shuchi Chawla. 2020. Flushing Without Cascades. In Proceedings of the 2020 ACM-SIAM Symposium on Discrete Algorithms, SODA 2020, Salt Lake City, UT, USA, January 5-8, 2020. SIAM. Pages 650–669. https://doi.org/10.1137/1.9781611975994.40
[11]
Michael A. Bender, Martin Farach-Colton, William Kuszmaul, Moses Charikar, and Edith Cohen. 2019. Achieving optimal backlog in multi-processor cup games. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, STOC 2019, Phoenix, AZ, USA, June 23-26, 2019. ACM. Pages 1148–1157. https://doi.org/10.1145/3313276.3316342
[12]
Michael A. Bender, Sándor P. Fekete, Alexander Kröller, Vincenzo Liberatore, Joseph S. B. Mitchell, Valentin Polishchuk, and Jukka Suomela. 2015. The minimum backlog problem. Theor. Comput. Sci., 605, 2015. Pages 51–61. https://doi.org/10.1016/j.tcs.2015.08.027
[13]
Marijke Hans L. Bodlaender, Cor A. J. Hurkens, Vincent J. J. Kusters, Frank Staals, Gerhard J. Woeginger, and Hans Zantema. 2012. Cinderella versus the Wicked Stepmother. In IFIP International Conference on Theoretical Computer Science. Pages 57–71. isbn:978-3-642-33475-7
[14]
Marijke H. L. Bodlaender, Cor A. J. Hurkens, and Gerhard J. Woeginger. 2011. The Cinderella Game on Holes and Anti-holes. In Proceedings of the 37th International Conference on Graph-Theoretic Concepts in Computer Science (WG). Pages 71–82. isbn:978-3-642-25869-5 https://doi.org/10.1007/978-3-642-25870-1_8
[15]
Marek Chrobak, János Csirik, Csanád Imreh, John Noga, Jirí Sgall, and Gerhard J. Woeginger. 2001. The Buffer Minimization Problem for Multiprocessor Scheduling with Conflicts. In Proceedings of the 28th International Colloquium on Automata, Languages and Programming (ICALP). 2076, Pages 862–874. https://doi.org/10.1007/3-540-48224-5_70
[16]
Peter Damaschke and Zhen Zhou. 2005. On queuing lengths in on-line switching. Theor. Comput. Sci., 339, 2-3, 2005. Pages 333–343. https://doi.org/10.1016/j.tcs.2005.03.025
[17]
Paul Dietz and Daniel Sleator. 1987. Two Algorithms for Maintaining Order in a List. In Proceedings of the Nineteenth Annual ACM Symposium on Theory of Computing (STOC). Pages 365–372. isbn:0-89791-221-7 https://doi.org/10.1145/28395.28434
[18]
Paul F. Dietz and Rajeev Raman. 1991. Persistence, Amortization and Randomization. In Proceedings of the Second Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). Pages 78–88. isbn:0-89791-376-0 http://dl.acm.org/citation.cfm?id=127787.127809
[19]
Johannes Fischer, Pawel Gawrychowski, Ferdinando Cicalese, Ely Porat, and Ugo Vaccaro. 2015. Alphabet-Dependent String Searching with Wexponential Search Trees. In Combinatorial Pattern Matching - 26th Annual Symposium, CPM 2015, Ischia Island, Italy, June 29 - July 1, 2015, Proceedings. Lecture Notes in Computer Science. 9133, Springer. Pages 160–171. https://doi.org/10.1007/978-3-319-19929-0_14
[20]
Rudolf Fleischer and Hisashi Koga. 2004. Balanced Scheduling toward Loss-Free Packet Queuing and Delay Fairness. Algorithmica, 38, 2, 01 Feb, 2004. Pages 363–376. issn:1432-0541 https://doi.org/10.1007/s00453-003-1064-z
[21]
H. Richard Gail, George A. Grover, Roch Guérin, Sidney L. Hantler, Zvi Rosberg, and Moshe Sidi. 1993. Buffer Size Requirements Under Longest Queue First. Perform. Evaluation, 18, 2, 1993. Pages 133–140. https://doi.org/10.1016/0166-5316(93)90033-Q
[22]
Leszek Gasieniec, Ralf Klasing, Christos Levcopoulos, Andrzej Lingas, Jie Min, Tomasz Radzik, Bernhard Steffen, Christel Baier, Mark van den Brand, Johann Eder, Mike Hinchey, and Tiziana Margaria. 2017. Bamboo Garden Trimming Problem (Perpetual Maintenance of Machines with Different Attendance Urgency Factors). In SOFSEM 2017: Theory and Practice of Computer Science - 43rd International Conference on Current Trends in Theory and Practice of Computer Science, Limerick, Ireland, January 16-20, 2017, Proceedings. Lecture Notes in Computer Science. 10139, Springer. Pages 229–240. https://doi.org/10.1007/978-3-319-51963-0_18
[23]
Michael H. Goldwasser. 2010. A survey of buffer management policies for packet switches. SIGACT News, 41, 1, 2010. Pages 100–128. https://doi.org/10.1145/1753171.1753195
[24]
Michael T. Goodrich, Pawel Pszona, Stephen K. Wismath, and Alexander Wolff. 2013. Streamed Graph Drawing and the File Maintenance Problem. In Graph Drawing - 21st International Symposium, GD 2013, Bordeaux, France, September 23-25, 2013, Revised Selected Papers. Lecture Notes in Computer Science. 8242, Springer. Pages 256–267. https://doi.org/10.1007/978-3-319-03841-4_23
[25]
Nan Guan and Wang Yi. 2012. Fixed-Priority Multiprocessor Scheduling: Critical Instant, Response Time and Utilization Bound. In 26th IEEE International Parallel and Distributed Processing Symposium Workshops & PhD Forum, IPDPS 2012, Shanghai, China, May 21-25, 2012. IEEE Computer Society. Pages 2470–2473. https://doi.org/10.1109/IPDPSW.2012.305
[26]
Tsvi Kopelowitz. 2012. On-Line Indexing for General Alphabets via Predecessor Queries on Subsets of an Ordered List. In 53rd Annual IEEE Symposium on Foundations of Computer Science, FOCS 2012, New Brunswick, NJ, USA, October 20-23, 2012. IEEE Computer Society. Pages 283–292. https://doi.org/10.1109/FOCS.2012.79
[27]
William Kuszmaul and Shuchi Chawla. 2020. Achieving Optimal Backlog in the Vanilla Multi-Processor Cup Game. In Proceedings of the 2020 ACM-SIAM Symposium on Discrete Algorithms, SODA 2020, Salt Lake City, UT, USA, January 5-8, 2020. SIAM. Pages 1558–1577. https://doi.org/10.1137/1.9781611975994.96
[28]
Ami Litman, Shiri Moran-Schein, Phillip B. Gibbons, and Paul G. Spirakis. 2005. On distributed smooth scheduling. In SPAA 2005: Proceedings of the 17th Annual ACM Symposium on Parallelism in Algorithms and Architectures, July 18-20, 2005, Las Vegas, Nevada, USA. ACM. Pages 76–85. https://doi.org/10.1145/1073970.1073982
[29]
Ami Litman and Shiri Moran-Schein. 2009. Smooth Scheduling Under Variable Rates or the Analog-Digital Confinement Game. Theor. Comp. Sys., 45, 2, June, 2009. Pages 325–354. issn:1432-4350 https://doi.org/10.1007/s00224-008-9134-x
[30]
Ami Litman and Shiri Moran-Schein. 2011. On Centralized Smooth Scheduling. Algorithmica, 60, 2, 2011. Pages 464–480. https://doi.org/10.1007/s00453-009-9360-x
[31]
Chung Laung Liu. 1969. Scheduling algorithms for multiprocessors in a hard real-time environment. JPL Space Programs Summary, 1969, 1969.
[32]
Chung Laung Liu and James W Layland. 1973. Scheduling algorithms for multiprogramming in a hard-real-time environment. Journal of the ACM (JACM), 20, 1, 1973. Pages 46–61.
[33]
Mark Moir and Srikanth Ramamurthy. 1999. Pfair Scheduling of Fixed and Migrating Periodic Tasks on Multiple Resources. In Proceedings of the 20th IEEE Real-Time Systems Symposium, Phoenix, AZ, USA, December 1-3, 1999. IEEE Computer Society. Pages 294–303. https://doi.org/10.1109/REAL.1999.818857
[34]
Christian Worm Mortensen. 2003. Fully-dynamic two dimensional orthogonal range and line segment intersection reporting in logarithmic time. In Proceedings of the Fourteenth Annual ACM-SIAM Symposium on Discrete Algorithms, January 12-14, 2003, Baltimore, Maryland, USA. ACM/SIAM. Pages 618–627. http://dl.acm.org/citation.cfm?id=644108.644210
[35]
Michael Rosenblum, Michel X. Goemans, and Vahid Tarokh. 2004. Universal Bounds on Buffer Size for Packetizing Fluid Policies in Input Queued, Crossbar Switches. In Proceedings IEEE INFOCOM 2004, The 23rd Annual Joint Conference of the IEEE Computer and Communications Societies, Hong Kong, China, March 7-11, 2004. IEEE. Pages 1126–1134. https://doi.org/10.1109/INFCOM.2004.1356999
[36]
Michael Sutton, Adam Greene, and Pedram Amini. 2007. Fuzzing: brute force vulnerability discovery. Pearson Education.
[37]
Berthold Vöcking. 2003. How asymmetry helps load balancing. J. ACM, 50, 4, 2003. Pages 568–589. https://doi.org/10.1145/792538.792546

Cited By

View all
  • (2022)SIGACT News Online Algorithms Column 38ACM SIGACT News10.1145/3510382.351039652:4(80-96)Online publication date: 3-Jan-2022
  • (2022)Balanced Allocations: The Heavily Loaded Case with Deletions2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS)10.1109/FOCS54457.2022.00081(801-812)Online publication date: Oct-2022
  • (2022)Cutting bamboo down to sizeTheoretical Computer Science10.1016/j.tcs.2022.01.027909:C(54-67)Online publication date: 28-Mar-2022

Index Terms

  1. How asymmetry helps buffer management: achieving optimal tail size in cup games

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    STOC 2021: Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing
    June 2021
    1797 pages
    ISBN:9781450380539
    DOI:10.1145/3406325
    This work is licensed under a Creative Commons Attribution International 4.0 License.

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 15 June 2021

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. cup games
    2. load balancing
    3. randomized algorithms
    4. tail size

    Qualifiers

    • Research-article

    Funding Sources

    Conference

    STOC '21
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 1,469 of 4,586 submissions, 32%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)40
    • Downloads (Last 6 weeks)10
    Reflects downloads up to 06 Oct 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2022)SIGACT News Online Algorithms Column 38ACM SIGACT News10.1145/3510382.351039652:4(80-96)Online publication date: 3-Jan-2022
    • (2022)Balanced Allocations: The Heavily Loaded Case with Deletions2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS)10.1109/FOCS54457.2022.00081(801-812)Online publication date: Oct-2022
    • (2022)Cutting bamboo down to sizeTheoretical Computer Science10.1016/j.tcs.2022.01.027909:C(54-67)Online publication date: 28-Mar-2022

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media