Optimal Ball Recycling

07/04/2018
by   Michael A. Bender, et al.
0

Balls-and-bins games have been a wildly successful tool for modeling load balancing problems. In this paper, we study a new scenario, which we call the ball recycling game, defined as follows: Throw m balls into n bins i.i.d. according to a given probability distribution p. Then, at each time step, pick a non-empty bin and recycle its balls: take the balls from the selected bin and re-throw them according to p. This balls-and-bins game closely models memory-access heuristics in databases. The goal is to have a bin-picking method that maximizes the recycling rate, defined to be the expected number of balls recycled per step in the stationary distribution. We study two natural strategies for ball recycling: Fullest Bin, which greedily picks the bin with the maximum number of balls, and Random Ball, which picks a ball at random and recycles its bin. We show that for general p, Random Ball is O(1)-optimal, whereas Fullest Bin can be pessimal. However, when p = u, the uniform distribution, Fullest Bin is optimal to within an additive constant.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/03/2018

The power of thinning in balanced allocation

Balls are sequentially allocated into n bins as follows: for each ball, ...
research
05/18/2015

On the tightness of an SDP relaxation of k-means

Recently, Awasthi et al. introduced an SDP relaxation of the k-means pro...
research
11/20/2020

Learning How to Solve Bubble Ball

"Bubble Ball" is a game built on a 2D physics engine, where a finite set...
research
04/11/2021

Load Balancing with Dynamic Set of Balls and Bins

In dynamic load balancing, we wish to distribute balls into bins in an e...
research
10/11/2021

Long-term balanced allocation via thinning

We study the long-term behavior of the two-thinning variant of the class...
research
07/18/2018

Smoothed Analysis of the Expected Number of Maximal Points in Two Dimensions

The Maximal points in a set S are those that aren't dominated by any o...
research
07/20/2021

Monocular Visual Analysis for Electronic Line Calling of Tennis Games

Electronic Line Calling is an auxiliary referee system used for tennis m...

Please sign up or login with your details

Forgot password? Click here to reset