Real-time computing with lock-free shared objects

被引:39
|
作者
Anderson, JH
Ramamurthy, S
Jeffay, K
机构
[1] Department of Computer Science, University of North Carolina, Chapel Hill
来源
ACM TRANSACTIONS ON COMPUTER SYSTEMS | 1997年 / 15卷 / 02期
关键词
critical sections; deadline monotonic; earliest deadline first; hard real time; lock free; rate monotonic; scheduling; synchronization; wait free;
D O I
10.1145/253145.253159
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This article considers the use of lock-free shared objects within hard real-time systems. As the name suggests, loch-free shared objects are distinguished by the fact that they are accessed without locking. As such, they do not give rise to priority inversions, a key advantage over conventional, lock-based object-sharing approaches. Despite this advantage, it is not immediately apparent that lock-free shared objects can be employed if tasks must adhere to strict timing constraints. In particular, lock-free object implementations permit concurrent operations to interfere with each other, and repeated interferences can cause a given operation to take an arbitrarily long time to complete. The main contribution of this article is to show that such interferences can be bounded by judicious scheduling. This work pertains to periodic, hard real-time tasks that share lock-free objects on a uniprocessor. In the first part of the article, scheduling conditions are derived for such tasks, for both static and dynamic priority schemes. Based on these conditions, it is formally shown that lock-free shared objects often incur less overhead than object implementations based on wait-free algorithms or lock-based schemes. In the last part of the article, this conclusion is validated experimentally through work involving a real-time desktop videoconferencing system.
引用
下载
收藏
页码:134 / 165
页数:32
相关论文
共 50 条
  • [31] Lock-free AntNets and their adaptability evaluations
    Oida, K
    Kataoka, A
    ELECTRONICS AND COMMUNICATIONS IN JAPAN PART I-COMMUNICATIONS, 2001, 84 (02): : 51 - 61
  • [32] Lock-Free Incremental Coordinate Descent
    Mai, Vien V.
    Johansson, Mikael
    2017 IEEE 56TH ANNUAL CONFERENCE ON DECISION AND CONTROL (CDC), 2017,
  • [33] Lock-Free Bucketized Cuckoo Hashing
    Li, Wenhai
    Cheng, Zhiling
    Chen, Yuan
    Li, Ao
    Deng, Lingfeng
    EURO-PAR 2023: PARALLEL PROCESSING, 2023, 14100 : 275 - 288
  • [34] Lock-Free Transactional Adjacency List
    Painter, Zachary
    Peterson, Christina
    Dechev, Damian
    LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING, LCPC 2017, 2019, 11403 : 203 - 219
  • [35] LOCK-FREE GARBAGE COLLECTION FOR MULTIPROCESSORS
    HERLIHY, MP
    MOSS, JEB
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 1992, 3 (03) : 304 - 311
  • [36] Formal Verification of Lock-Free Algorithms
    Schellhorn, Gerhard
    Baeumler, Simon
    NINTH INTERNATIONAL CONFERENCE ON APPLICATION OF CONCURRENCY TO SYSTEM DESIGN, PROCEEDINGS, 2009, : 13 - 18
  • [37] Lock-free AntNets and their adaptability evaluations
    Oida, Kazumasa
    Kataoka, Akira
    Electronics and Communications in Japan, Part I: Communications (English translation of Denshi Tsushin Gakkai Ronbunshi), 2001, 84 (02): : 51 - 61
  • [38] LFTHREADS A lock-free thread library
    Gidenstam, Anders
    Papatriantafilou, Marina
    PRINCIPLES OF DISTRIBUTED SYSTEMS, PROCEEDINGS, 2007, 4878 : 217 - +
  • [39] A Lock-Free Algorithm for Concurrent Bags
    Sundell, Hakan
    Gidenstam, Anders
    Papatriantafilou, Marina
    Tsigas, Philippas
    SPAA 11: PROCEEDINGS OF THE TWENTY-THIRD ANNUAL SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, 2011, : 335 - 344
  • [40] Efficient Lock-Free Durable Sets
    Zuriel, Yoav
    Friedman, Michal
    Sheffi, Gali
    Cohen, Nachshon
    Petrank, Erez
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2019, 3 (OOPSLA):