How Asymmetry Helps Buffer Management: Achieving Optimal Tail Size in Cup Games

04/12/2021
by   William Kuszmaul, et al.
0

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 Õ(log n) 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 Õ(log n + 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/05/2019

Achieving Optimal Backlog in Multi-Processor Cup Games

The single- and multi- processor cup games can be used to model natural ...
research
10/29/2019

Achieving Optimal Backlog in the Vanilla Multi-Processor Cup Game

In each step of the p-processor cup game on n cups, a filler distributes...
research
11/30/2020

The Variable-Processor Cup Game

The problem of scheduling tasks on p processors so that no task ever get...
research
06/04/2019

Near-Optimal Online Egalitarian learning in General Sum Repeated Matrix Games

We study two-player general sum repeated finite games where the rewards ...
research
01/02/2018

Algorithms, Bounds, and Strategies for Entangled XOR Games

We study the complexity of computing the commuting-operator value ω^* of...
research
05/03/2022

Optimal Time-Backlog Tradeoffs for the Variable-Processor Cup Game

The p-processor cup game is a classic and widely studied scheduling prob...
research
08/09/2023

Controlling Tail Risk in Online Ski-Rental

The classical ski-rental problem admits a textbook 2-competitive determi...

Please sign up or login with your details

Forgot password? Click here to reset