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 条
  • [1] Energy-Efficient Scheduling of Real-Time Tasks with Lock-Free Objects
    Wu, Jun
    [J]. 2014 IEEE 12TH INTERNATIONAL CONFERENCE ON DEPENDABLE, AUTONOMIC AND SECURE COMPUTING (DASC)/2014 IEEE 12TH INTERNATIONAL CONFERENCE ON EMBEDDED COMPUTING (EMBEDDEDCOM)/2014 IEEE 12TH INTERNATIONAL CONF ON PERVASIVE INTELLIGENCE AND COMPUTING (PICOM), 2014, : 225 - 230
  • [2] A framework for implementing objects and scheduling tasks in lock-free real-time systems
    Anderson, JH
    Ramamurthy, S
    [J]. 17TH IEEE REAL-TIME SYSTEMS SYMPOSIUM, PROCEEDINGS, 1996, : 94 - 105
  • [3] IASA: an energy-efficient scheduling algorithm for real-time tasks with lock-free objects
    Wu, Jun
    [J]. INTERNATIONAL JOURNAL OF EMBEDDED SYSTEMS, 2016, 8 (5-6) : 504 - 518
  • [4] Lock-Free Synchronization for Dynamic Embedded Real-Time Systems
    Cho, Hyeonjoong
    Ravindran, Binoy
    Jensen, E. Douglas
    [J]. ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2010, 9 (03)
  • [5] Lock-free synchronization for dynamic embedded real-time systems
    Cho, Hyeonjoong
    Ravindran, Binoy
    Jensen, E. Douglas
    [J]. 2006 DESIGN AUTOMATION AND TEST IN EUROPE, VOLS 1-3, PROCEEDINGS, 2006, : 436 - +
  • [6] Supporting lock-free synchronization in Pfair-scheduled real-time systems
    Holman, P
    Anderson, JH
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2006, 66 (01) : 47 - 67
  • [7] QoS monitoring in real-time streaming overlays based on lock-free data structures
    Franco Tommasi
    Valerio De Luca
    Catiuscia Melle
    [J]. Multimedia Tools and Applications, 2021, 80 : 20929 - 20970
  • [8] QoS monitoring in real-time streaming overlays based on lock-free data structures
    Tommasi, Franco
    De Luca, Valerio
    Melle, Catiuscia
    [J]. MULTIMEDIA TOOLS AND APPLICATIONS, 2021, 80 (14) : 20929 - 20970
  • [9] Faster Lock-Free Atomic Shared Pointers
    Schaefer, Jorg P.
    [J]. INTELLIGENT COMPUTING, VOL 2, 2024, 2024, 1017 : 18 - 38
  • [10] CHARACTERIZING THE PERFORMANCE OF ALGORITHMS FOR LOCK-FREE OBJECTS
    JOHNSON, T
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 1995, 44 (10) : 1194 - 1207