On the Power-of-d-choices with Least Loaded Server Selection

Motivated by distributed schedulers that combine the power-of-d-choices with late binding and systems that use replication with cancellation-on-start, we study the performance of the LL(d) policy which assigns a job to a server that currently has the least workload among d randomly selected servers in large-scale homogeneous clusters. We consider general job size distributions and propose a partial integro-differential equation to describe the evolution of the system. This equation relies on the earlier proven ansatz for LL(d) which asserts that the workload distribution of any finite set of queues becomes independent of one another as the number of servers tends to infinity. Based on this equation we propose a fixed point iteration for the limiting workload distribution and study its convergence. For exponential job sizes we present a simple closed form expression for the limiting workload distribution that is valid for any work-conserving service discipline as well as for the limiting response time distribution in case of first-come-first-served scheduling. We further show that for phase-type distributed job sizes the limiting workload and response time distribution can be expressed via the unique solution of a simple set of ordinary differential equations. Numerical and analytical results that compare response time of the classic power-of-d-choices algorithm and the LL(d) policy are also presented and the accuracy of the limiting response time distribution for finite systems is illustrated using simulations.

[1]  R. D. Driver,et al.  Ordinary and Delay Differential Equations , 1977 .

[2]  R. L. Dobrushin,et al.  Queueing system with selection of the shortest of two queues: an assymptotic approach , 1996 .

[3]  Alan Scheller-Wolf,et al.  Redundancy-d: The Power of d Choices for Redundancy , 2017, Oper. Res..

[4]  Patrick Wendell,et al.  Sparrow: distributed, low latency scheduling , 2013, SOSP.

[5]  Yi Lu,et al.  Asymptotic independence of queues under randomized load balancing , 2012, Queueing Syst. Theory Appl..

[6]  M. Abramowitz,et al.  Handbook of Mathematical Functions With Formulas, Graphs and Mathematical Tables (National Bureau of Standards Applied Mathematics Series No. 55) , 1965 .

[7]  Michael Mitzenmacher,et al.  How Useful Is Old Information? , 2000, IEEE Trans. Parallel Distributed Syst..

[8]  Sem C. Borst,et al.  Queues with Workload-Dependent Arrival and Service Rates , 2004, Queueing Syst. Theory Appl..

[9]  M. Bramson PR ] 8 O ct 2 01 0 Submitted to the Annals of Applied Probability STABILITY OF JOIN THE SHORTEST QUEUE NETWORKS By , 2010 .

[10]  A. Tarski A LATTICE-THEORETICAL FIXPOINT THEOREM AND ITS APPLICATIONS , 1955 .

[11]  Peter Buchholz,et al.  PH and MAP Fitting with Aggregated Traffic Traces , 2014, MMB/DFT.

[12]  Reza Aghajani,et al.  The PDE Method for the Analysis of Randomized Load Balancing Networks , 2019, PERV.

[13]  Michael Mitzenmacher,et al.  The Power of Two Choices in Randomized Load Balancing , 2001, IEEE Trans. Parallel Distributed Syst..

[14]  Vaidyanathan Ramaswami,et al.  Introduction to Matrix Analytic Methods in Stochastic Modeling , 1999, ASA-SIAM Series on Statistics and Applied Mathematics.

[15]  Lawrence M. Graves The Theory of Functions of Real Variables , 2009 .

[16]  Eli Upfal,et al.  Balanced Allocations , 1999, SIAM J. Comput..

[17]  Serguei Foss,et al.  On the stability of a partially accessible multi‐station queue with state‐dependent routing , 1998, Queueing Syst. Theory Appl..

[18]  Axel Thümmler,et al.  Efficient phase-type fitting with aggregated traffic traces , 2007, Perform. Evaluation.

[19]  Yi Lu,et al.  Randomized load balancing with general service time distributions , 2010, SIGMETRICS '10.

[20]  Yi Lu,et al.  Decay of Tails at Equilibrium for FIFO Join the Shortest Queue Networks , 2011, ArXiv.

[21]  Alan Scheller-Wolf,et al.  The Power of d Choices for Redundancy , 2016, SIGMETRICS.

[22]  Sem C. Borst,et al.  Universality of Power-of-d Load Balancing Schemes , 2016, PERV.