Achieving Optimal Backlog in the Vanilla Multi-Processor Cup Game

10/29/2019
by   William Kuszmaul, et al.
0

In each step of the p-processor cup game on n cups, a filler distributes up to p units of water among the cups, subject only to the constraint that no cup receives more than 1 unit of water; an emptier then removes up to 1 unit of water from each of p cups. Designing strategies for the emptier that minimize backlog (i.e., the height of the fullest cup) is important for applications in processor scheduling, buffer management in networks, quality of service guarantees, and deamortization. We prove that the greedy algorithm (i.e., the empty-from-fullest-cups algorithm) achieves backlog O(log n) for any p > 1. This resolves a long-standing open problem for p > 1, and is asymptotically optimal as long as n > 2p. If the filler is an oblivious adversary, then we prove that there is a randomized emptying algorithm that achieve backlog O(log p + loglog n) with probability 1 - 2^-polylog(n) for 2^polylog(n) steps. This is known to be asymptotically optimal when n is sufficiently large relative to p. The analysis of the randomized algorithm can also be reinterpreted as a smoothed analysis of the deterministic greedy algorithm. Previously, the only known bound on backlog for p > 1, and the only known randomized guarantees for any p (including when p = 1), required the use of resource augmentation, meaning that the filler can only distribute at most p(1 - ϵ) units of water in each step, and that the emptier is then permitted to remove 1 + δ units of water from each of p cups, for some ϵ, δ > 0.

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
11/30/2020

The Variable-Processor Cup Game

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

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

The cup game on n cups is a multi-step game with two players, a filler a...
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
11/19/2021

An Improved Analysis of Greedy for Online Steiner Forest

This paper considers the classic Online Steiner Forest problem where one...
research
01/18/2022

Bamboo Trimming Revisited: Simple Algorithms Can Do Well Too

The bamboo trimming problem considers n bamboo with growth rates h_1, h_...

Please sign up or login with your details

Forgot password? Click here to reset