Lock-Free and Wait-Free Slot Scheduling Algorithms

被引:2
|
作者
Aggarwal, Pooja [1 ]
Sarangi, Smruti R. [1 ]
机构
[1] Indian Inst Technol, Dept Comp Sci & Engn, New Delhi 110016, India
关键词
Wait free; lock free; scheduler; slot scheduling;
D O I
10.1109/TPDS.2015.2435786
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper, we consider the design space of parallel non-blocking slot scheduling algorithms. Slot schedulers divide time into discrete quanta called slots, and schedule resources at the granularity of slots. They are typically used in high throughput I/O systems, data centers, video servers, and network drivers. We propose a family of parallel slot scheduling problems of increasing complexity, and then propose parallel lock-free and wait-free algorithms to solve them. In specific, we propose problems that can reserve, as well as free a set of contiguous slots in a non-blocking manner. We show that in a system with 64 threads, it is possible to get speedups of 10X by using lock-free algorithms as compared to a baseline implementation that uses locks. We additionally propose wait-free algorithms, whose mean performance is roughly the same as the version with locks. However, they suffer from significantly lower jitter and ensure a high degree of fairness among threads.
引用
收藏
页码:1387 / 1400
页数:14
相关论文
共 50 条
  • [1] Lock-free and Wait-free Slot Scheduling Algorithms
    Aggarwal, Pooja
    Sarangi, Smruti R.
    IEEE 27TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS 2013), 2013, : 961 - 972
  • [2] Are Lock-Free Concurrent Algorithms Practically Wait-Free?
    Alistarh, Dan
    Censor-Hillel, Keren
    Shavit, Nir
    STOC'14: PROCEEDINGS OF THE 46TH ANNUAL 2014 ACM SYMPOSIUM ON THEORY OF COMPUTING, 2014, : 714 - 723
  • [3] Are Lock-Free Concurrent Algorithms Practically Wait-Free?
    Alistarh, Dan
    Censor-Hillel, Keren
    Shavit, Nir
    JOURNAL OF THE ACM, 2016, 63 (04)
  • [4] Brief Announcement: Are Lock-Free Concurrent Algorithms Practically Wait-Free?
    Alistarh, Dan
    Censor-Hillel, Keren
    Shavit, Nir
    PROCEEDINGS OF THE 2014 ACM SYMPOSIUM ON PRINCIPLES OF DISTRIBUTED COMPUTING (PODC'14), 2014, : 50 - 52
  • [5] A Practical Wait-Free Simulation for Lock-Free Data Structures
    Timnat, Shahar
    Petrank, Erez
    ACM SIGPLAN NOTICES, 2014, 49 (08) : 357 - 368
  • [6] RADIR: Lock-free and Wait-free Bandwidth Allocation Models for Solid State Drives
    Aggarwal, Pooja
    Yasa, Giridhar
    Sarangi, Smruti R.
    2014 21ST INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING (HIPC), 2014,
  • [7] ARE WAIT-FREE ALGORITHMS FAST
    ATTIYA, H
    LYNCH, N
    SHAVIT, N
    JOURNAL OF THE ACM, 1994, 41 (04) : 725 - 763
  • [8] Practical lock-free and wait-free LL/SC/VL implementations using 64-bit CAS
    Michael, MM
    DISTRIBUTED COMPUTING, PROCEEDINGS, 2004, 3274 : 144 - 158
  • [9] Formal Verification of Lock-Free Algorithms
    Schellhorn, Gerhard
    Baeumler, Simon
    NINTH INTERNATIONAL CONFERENCE ON APPLICATION OF CONCURRENCY TO SYSTEM DESIGN, PROCEEDINGS, 2009, : 13 - 18
  • [10] A Wait-Free Queue with Wait-Free Memory Reclamation
    Ramalhete, Pedro
    Correia, Andreia
    ACM SIGPLAN NOTICES, 2017, 52 (08) : 453 - 454