Back to search

Massachusetts Institute of Technology

Fair buffer management : achieving optimal backlog in multiprocessor cup games

Abstract

dc:description.abstract

The fair buffer management problem is a game on n cups. In each step, a filler distributes 1 unit of water among the cups, and then an emptier removes up to 1 + [epsilon] water from some cup. The emptier's goal is to minimize the water in the fullest cup (i.e., the backlog). We introduce a randomized algorithm (the smoothed greedy algorithm) that achieves backlog O(lg lg n) with high probability for 2[superscript polylog n] steps. The smoothed greedy algorithm can also be interpreted as a smoothed analysis for the deterministic greedy algorithm. The cup game also has a multi-processor analogue in which p units of water arrive per step (with no more than 1 unit arriving per cup) and then p cups are emptied out of by the emptier. Proving any nontrivial bounds on backlog for the multi-processor problem has remained an open problem for decades. We show that the greedy emptying algorithm achieves backlog (lg n), which is optimal for deterministic algorithms. We also show that the smoothed greedy algorithm achieves backlog O(lg p + lg lg n) with high probability. Moreover, as long as [mathematical expression], then constant backlog can be achieved with probability [mathematical expression]. We also consider stronger guarantees than bounds on backlog. We show that a variant of smoothed greedy achieves a bound of [mathematical expression] on tail size, which is the total number of cups that contain super-constant fills; we prove a matching lower bound of [mathematical expression]. Additionally, we consider whether randomized emptying algorithms can be made effective against non-oblivious fillers. Although fully adaptive fillers can thwart any randomized emptying algorithm, we show that if a small amount of information is kept from the ller (i.e., the lls of cups containing less than 3), then randomized emptying algorithms can be made eective. Finally, we apply the above techniques to eliminating ushing cascades from write-optimized external-memory search trees.

Degree

thesis:*
Name thesis:degree_name
Master
Department dc:contributor.department
EECS
Grantor dc:publisher
Massachusetts Institute of Technology
Year dc:date.issued
2020

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Kuszmaul, William(William Henry)
Advisor dc:contributor.advisor
  • Charles E. Leiserson.

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • MIT theses may be protected by copyright. Please reuse MIT thesis content according to the MIT Libraries Permissions Policy, which is available through the URL provided.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
1192483760

Chain of custody

source
Harvested from
MIT
Base URL
dspace.mit.edu/oai/request
Last updated
2026-12-06
Source record
OAI-PMH GetRecord
citation

Kuszmaul, William(William Henry). Fair buffer management : achieving optimal backlog in multiprocessor cup games. Massachusetts Institute of Technology, 2020. https://hdl.handle.net/1721.1/127348