The power of two choices in randomized load balancing

被引:571
作者
Mitzenmacher, M [1 ]
机构
[1] Harvard Univ, Cambridge, MA 02138 USA
基金
美国国家科学基金会;
关键词
load balancing; queuing theory; distributed systems; limiting systems; choices;
D O I
10.1109/71.963420
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We consider the following natural model: Customers arrive as a Poisson stream of rate gimeln, gimel < 1, at a collection of n servers. Each customer chooses some constant d servers independently and uniformly at random from the n servers and waits for service at the one with the fewest customers. Customers are served according to the first-in first-out (FIFO) protocol and the service time for a customer is exponentially distributed with mean 1. We call this problem the supermarket model. We wish to know how the system behaves and in particular we are interested in the effect that the parameter d has on expected time a customer spends in the system in equilibrium. Our approach uses a limiting, deterministic model representing the behavior as n --> infinity to approximate the behavior of finite systems. The analysis of the deterministic model is interesting in its own right. Along with a theoretical justification of this approach, we provide simulations that demonstrate that the method accurately predicts system behavior, even for relatively small systems. Our analysis provides surprising implications: Having d = 2 choices leads to exponential improvements in the expected time a customer spends in the system over d = 1, whereas having d = 3 choices is only a constant factor better than d = 2. We discuss the possible implications for system design.
引用
收藏
页码:1094 / 1104
页数:11
相关论文
共 37 条
  • [1] Abraham R., 1983, MANIFOLDS TENSOR ANA
  • [2] ACHOLIOPTAS D, 1997, P 38 IEEE S FDN COMP
  • [3] Adler M., 1995, Proceedings of the Twenty-Seventh Annual ACM Symposium on the Theory of Computing, P238, DOI 10.1145/225058.225131
  • [4] [Anonymous], P 22 IEEE ANN S FDN
  • [5] [Anonymous], 1996, THESIS U CALIFORNIA
  • [6] Balanced allocations
    Azar, Y
    Broder, AZ
    Karlin, AR
    Upfal, E
    [J]. SIAM JOURNAL ON COMPUTING, 1999, 29 (01) : 180 - 200
  • [7] BESTAVROS A, 1997, P ICDCS 97 IEEE INT
  • [8] DAHLIN MD, 1995, THESIS U CALIFORNIA
  • [9] DEIMLING K, 1977, LECT NOTES MATH, V96
  • [10] A COMPARISON OF RECEIVER-INITIATED AND SENDER-INITIATED ADAPTIVE LOAD SHARING
    EAGER, DL
    LAZOWSKA, ED
    ZAHORJAN, J
    [J]. PERFORMANCE EVALUATION, 1986, 6 (01) : 53 - 68