Correct and Efficient Work-Stealing for Weak Memory Models

被引:32
|
作者
Nhat Minh Le [1 ]
Pop, Antoniu
Cohen, Albert
Nardelli, Francesco Zappa
机构
[1] INRIA, Paris, France
关键词
lock-free algorithm; work-stealing; relaxed memory model; proof;
D O I
10.1145/2517327.2442524
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Chase and Lev's concurrent deque is a key data structure in shared-memory parallel programming and plays an essential role in work-stealing schedulers. We provide the first correctness proof of an optimized implementation of Chase and Lev's deque on top of the POWER and ARM architectures: these provide very relaxed memory models, which we exploit to improve performance but considerably complicate the reasoning. We also study an optimized x86 and a portable C11 implementation, conducting systematic experiments to evaluate the impact of memory barrier optimizations. Our results demonstrate the benefits of hand tuning the deque code when running on top of relaxed memory models.
引用
收藏
页码:69 / 79
页数:11
相关论文
共 50 条
  • [1] Balanced Double Queues for GC Work-Stealing on Weak Memory Models
    Horie, Michihiro
    Horii, Hiroshi
    Ogata, Kazunori
    Onodera, Tamiya
    [J]. ACM SIGPLAN NOTICES, 2018, 53 (05) : 109 - 119
  • [2] Dynamic memory ABP work-stealing
    Hendler, D
    Lev, Y
    Shavit, N
    [J]. DISTRIBUTED COMPUTING, PROCEEDINGS, 2004, 3274 : 188 - 200
  • [3] Efficient Work-Stealing with Blocking Deques
    Liu, Chi
    Song, Ping
    Liu, Yi
    Hao, Qinfen
    [J]. 2014 IEEE INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS, 2014 IEEE 6TH INTL SYMP ON CYBERSPACE SAFETY AND SECURITY, 2014 IEEE 11TH INTL CONF ON EMBEDDED SOFTWARE AND SYST (HPCC,CSS,ICESS), 2014, : 149 - 152
  • [4] Towards Efficient Work-stealing in Virtualized Environments
    Peng, Yaqiong
    Wu, Song
    Jin, Hai
    [J]. 2015 15TH IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND GRID COMPUTING, 2015, : 41 - 50
  • [5] Hierarchical Work-Stealing
    Quintin, Jean-Noel
    Wagner, Frederic
    [J]. EURO-PAR 2010 PARALLEL PROCESSING, PT I, 2010, 6271 : 217 - 229
  • [6] The Models and Methods of Optimal Control of Three Work-Stealing Deques Located in a Shared Memory
    E. A. Aksenova
    E. A. Barkovsky
    A. V. Sokolov
    [J]. Lobachevskii Journal of Mathematics, 2019, 40 : 1763 - 1770
  • [7] Energy-Efficient Work-Stealing Language Runtimes
    Ribic, Haris
    Liu, Yu David
    [J]. ACM SIGPLAN NOTICES, 2014, 49 (04) : 513 - 527
  • [8] An Efficient Work-Stealing Scheduler for Task Dependency Graph
    Lin, Chun-Xun
    Huang, Tsung-Wei
    Wong, Martin D. F.
    [J]. 2020 IEEE 26TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS), 2020, : 64 - 71
  • [9] Robinhood: Towards Efficient Work-Stealing in Virtualized Environments
    Peng, Yaqiong
    Wu, Song
    Jin, Hai
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2016, 27 (08) : 2363 - 2376
  • [10] Friendly Barriers: Efficient Work-Stealing With Return Barriers
    Kumar, Vivek
    Blackburn, Stephen M.
    Grove, David
    [J]. ACM SIGPLAN NOTICES, 2014, 49 (07) : 165 - 176