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
相关论文
共 33 条
  • [1] Alemany J., 1992, Proceedings of the Eleventh Annual ACM Symposium on Principles of Distributed Computing, P125, DOI 10.1145/135419.135446
  • [2] ANDERSON J, 1995, P 9 INT WORKSH DISTR, P168
  • [3] ANDERSON J, 1996, P 17 IEEE REAL TIM S, P92
  • [4] ANDERSON JH, 1995, TR95021 U N CAR DEP
  • [5] ANDERSON JH, 1997, REAL TIME DATABASES
  • [6] ANDERSON JH, 1997, P 16 ANN ACM S PRINC
  • [7] STACK-BASED SCHEDULING OF REALTIME PROCESSES
    BAKER, TP
    [J]. REAL-TIME SYSTEMS, 1991, 3 (01) : 67 - 99
  • [8] FEASIBILITY PROBLEMS FOR RECURRING TASKS ON ONE PROCESSOR
    BARUAH, SK
    HOWELL, RR
    ROSIER, LE
    [J]. THEORETICAL COMPUTER SCIENCE, 1993, 118 (01) : 3 - 20
  • [9] Bershad B. N., 1993, Proceedings the 13th International Conference on Distributed Computing Systems (Cat. No.93CH3282-1), P264, DOI 10.1109/ICDCS.1993.287700
  • [10] DYNAMIC PRIORITY CEILINGS - A CONCURRENCY-CONTROL PROTOCOL FOR REAL-TIME SYSTEMS
    CHEN, MI
    LIN, KJ
    [J]. REAL-TIME SYSTEMS, 1990, 2 (04) : 325 - 346