RUS  ENG
Full version
JOURNALS // Program Systems: Theory and Applications // Archive

Program Systems: Theory and Applications, 2019 Volume 10, Issue 1, Pages 3–17 (Mi ps335)

This article is cited in 2 papers

Hardware and Software for Supercomputers

The optimal control of two work-stealing deques, moving one after another in a shared memory

E. A. Barkovskya, A. A. Lazutinab, A. V. Sokolovc

a LLC Small innovative enterprise “Arvata”
b Lomonosov Moscow State University
c Institute of Applied Mathematical Research

Abstract: In the parallel work-stealing load balancers, each core owns personal buffer of tasks called deque. One end of the deque is used by its owner to add and retrieve tasks, while the second end is used by other cores to steal tasks. In the paper two representation methods of deques are analyzed: partitioned serial cyclic representation of deques (one of the conventional techniques); and the new approach proposed by our team, without partition of shared memory in advance between deques moving one after another in a circle. Previously we analyzed these methods for representing FIFO queues in network applications, where the “One after another” way gave the best result for some values of the system parameters.
Purpose of this research is to construct and analyze models of the process of work with two circular deques located in shared memory, where they movie one after another in a circle. The mathematical model is constructed in the form of a random walk by integer points in the pyramid. The simulation model is constructed using the Monte Carlo method. The used work-stealing strategy is stealing of one element. We propose the mathematical and simulation models of this process and carry out numerical experiments.

Key words and phrases: work-stealing schedulers, work-stealing deques, data structures, absorbing Markov chains, random walks.

UDC: 004.942

MSC: Primary 68Q85; Secondary 68P05, 68Q87

Received: 28.10.2018
20.11.2018
Accepted: 18.02.2019

DOI: 10.25209/2079-3316-2019-10-1-3-17



© Steklov Math. Inst. of RAS, 2026