Balanced Allocations with Heterogeneous Bins: The Power of Memory

01/24/2023
by   Dimitrios Los, et al.
0

We consider the allocation of m balls (jobs) into n bins (servers). In the standard Two-Choice process, at each step t=1,2,…,m we first sample two bins uniformly at random and place a ball in the least loaded bin. It is well-known that for any m ≥ n, this results in a gap (difference between the maximum and average load) of log_2 log n + Θ(1) (with high probability). In this work, we consider the Memory process [Mitzenmacher, Prabhakar and Shah 2002] where instead of two choices, we only sample one bin per step but we have access to a cache which can store the location of one bin. Mitzenmacher, Prabhakar and Shah showed that in the lightly loaded case (m = n), the Memory process achieves a gap of 𝒪(loglog n). Extending the setting of Mitzenmacher et al. in two ways, we first allow the number of balls m to be arbitrary, which includes the challenging heavily loaded case where m ≥ n. Secondly, we follow the heterogeneous bins model of Wieder [Wieder 2007], where the sampling distribution of bins can be biased up to some arbitrary multiplicative constant. Somewhat surprisingly, we prove that even in this setting, the Memory process still achieves an 𝒪(loglog n) gap bound. This is in stark contrast with the Two-Choice (or any d-Choice with d=𝒪(1)) process, where it is known that the gap diverges as m →∞ [Wieder 2007]. Further, we show that for any sampling distribution independent of m (but possibly dependent on n) the Memory process has a gap that can be bounded independently of m. Finally, we prove a tight gap bound of 𝒪(log n) for Memory in another relaxed setting with heterogeneous (weighted) balls and a cache which can only be maintained for two steps.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/15/2022

Balanced Allocations with the Choice of Noise

We consider the allocation of m balls (jobs) into n bins (servers). In t...
research
04/08/2022

The Power of Filling in Balanced Allocations

It is well known that if m balls (jobs) are placed sequentially into n b...
research
10/20/2021

Balanced Allocations: Caching and Packing, Twinning and Thinning

We consider the sequential allocation of m balls (jobs) into n bins (ser...
research
02/09/2023

Balanced Allocations in Batches: The Tower of Two Choices

In balanced allocations, the goal is to place m balls into n bins, so as...
research
03/25/2022

Balanced Allocations in Batches: Simplified and Generalized

We consider the allocation of m balls (jobs) into n bins (servers). In t...
research
11/03/2020

Balanced Partitioning of Several Cache-Oblivious Algorithms

Frigo et al. proposed an ideal cache model and a recursive technique to ...
research
08/21/2023

An Improved Drift Theorem for Balanced Allocations

In the balanced allocations framework, there are m jobs (balls) to be al...

Please sign up or login with your details

Forgot password? Click here to reset