The natural work-stealing algorithm is stable
- 1 January 2001
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 15525244,p. 178-187
- https://doi.org/10.1109/sfcs.2001.959892
Abstract
In this paper we analyse a very simple dynamic work-stealing algorithm. In the work-generation model, there are n generators which are arbitrarily distributed among a set of n processors. During each time-step, with probability /spl lambda/, each generator generates a unit-time task which it inserts into the queue of its host processor. After the new tasks are generated, each processor removes one task from its queue and services it. Clearly, the work-generation model allows the load to grow more and more imbalanced, so, even when /spl lambda/<1, the system load can be unbounded. The natural work-stealing algorithm that we analyse works as follows. During each time step, each empty processor sends a request to a randomly selected other processor. Any non-empty processor having received at least one such request in turn decides (again randomly) in favour of one of the requests. The number of tasks which are transferred from the non-empty processor to the empty one is determined by the so-called work-stealing function f. We analyse the long-term behaviour of the system as a function of /spl lambda/ and f. We show that the system is stable for any constant generation rate /spl lambda/<1 and for a wide class of functions f. We give a quantitative description of the functions f which lead to stable systems. Furthermore, we give upper bounds on the average system load (as a function of f and n).Keywords
This publication has 28 references indexed in Scilit:
- An Improved Stability Bound for Binary Exponential BackoffTheory of Computing Systems, 2001
- An Improved Stability Bound for Binary Exponential BackoffTheory of Computing Systems, 2001
- Virtual data space – load balancing for irregular applicationsParallel Computing, 2000
- Moment conditions for a sequence with negative drift to be uniformly bounded in LrStochastic Processes and their Applications, 1999
- Analysis of Practical Backoff Protocols for Contention Resolution with Multiple ServersJournal of Computer and System Sciences, 1999
- Analysis of Backoff Protocols for Multiple Access ChannelsSIAM Journal on Computing, 1996
- Cilk: An Efficient Multithreaded Runtime SystemJournal of Parallel and Distributed Computing, 1996
- Scheduling algorithms for strict multithreaded computationsPublished by Springer Nature ,1996
- On the method of bounded differencesPublished by Cambridge University Press (CUP) ,1989
- Hitting-time and occupation-time bounds implied by drift analysis with applicationsAdvances in Applied Probability, 1982