Ruslan Kuchumov, Andrey Sokolov, Vladimir Korkhov.
Staccato: shared-memory work-stealing task scheduler with cache-aware memory management
// International Journal of Web and Grid Services, Vol. 15, No. 4. 2019. Pp. 394-407
Ключевые слова: work-stealing scheduler; work-stealing deques; lock-free data structures; cache locality; fork-join parallelism
Work-stealing is one of the popular ways to schedule near-optimal task distribution across multiple CPU cores with low overheads on time, memory and inter-thread synchronisations. In the work-stealing strategy, workers that run out of tasks for execution start claiming tasks from other workers' queues. Double ended queues (deques) based on circular arrays proved to be an effective solution for such scenario. In this paper we investigate ways to improve performance of work-stealing schedulers based on deques by enhancing internal data handling mechanisms. Traditionally, deques are designed with an assumption that task pointers are stored within these data structures, while task objects reside in the heap memory. By modifying task queues so that they can hold task objects instead of pointers we managed to increase the performance more than 2.5 times on CPU-bound applications and decrease last-level cache misses up to 30% compared to Intel TBB and Intel/MIT Cilk work-stealing schedulers.
Индексируется в Web of Science, Scopus, Google Scholar