Wait-free snapshots in real-time systems: algorithms and performance

被引:1
|
作者
Ermedahl, A [1 ]
Hansson, H [1 ]
Papatriantafilou, M [1 ]
Tsigas, P [1 ]
机构
[1] Uppsala Univ, Dept Comp Syst, S-75105 Uppsala, Sweden
关键词
D O I
10.1109/RTCSA.1998.726426
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Snap-shot mechanisms are used to read a globally consistent set of variable values. Such a mechanism can be used to salve a variety of communication and synchronization problems, including system monitoring and control of real-time applications. Methods based on locking (e.g. using semaphores) are penalized by blacking, which typically leads to difficulties in guaranteeing deadlines of high priority tasks. Lock-free methods, which take a snap-shot and then check if it corresponds to a consistent system state, have unpredictable timing-behavior since they may have to retry an unpredictable number of times. Clearly, a method which combines the predictability of locking-based methods with the low interference (no blocking) of lock-free methods is desirable. In this paper we present one such method, based and the concept of wait-freeness. A wait-free method is a lock-free method which is guaranteed to correctly complete in a bounded number of steps. The price to pay for this predictability in the timing domain is the need for more than one copy of the shared objects. In addition to proving our method correct, we evaluate it analytically by formulating and comparing schedulability equations for snapshots in systems using lack-based, lock-free, and our wait-free method. We also outline ideas to study the effects of using the different snapshot methods in distributed (CAN-based) systems. Our evaluations indicate that our method is an efficient and safe alternative to traditional lock-based and lock-free methods.
引用
收藏
页码:257 / 266
页数:10
相关论文
共 50 条
  • [1] Improving wait-free algorithms for interprocess communication in embedded real-time systems
    Huang, H
    Pillai, P
    Shin, KG
    [J]. USENIX ASSOCIATION PROCEEDINGS OF THE GENERAL TRACK, 2002, : 303 - 316
  • [2] Wait-free queue algorithms for the real-time Java specification
    Tsigas, Philippas
    Zhang, Yi
    Cederman, Daniel
    Dellsén, Tord
    [J]. Proc. IEEE Real Time Embedded Technol. Appl. Symp. RTAS, (373-383):
  • [3] Wait-free objects for real-time systems? - (Position paper)
    Raynal, M
    [J]. ISORC 2002: FIFTH IEEE INTERNATIONAL SYMPOSIUM ON OBJECT-ORIENTED REAL-TIME DISTRIBUTED COMPUTING, PROCEEDINGS, 2002, : 413 - 420
  • [4] Wait-free queue algorithms for the real-time Java']Java specification
    Tsigas, Philippas
    Zhang, Yi
    Cederman, Daniel
    Dellsén, Tord
    [J]. PROCEEDINGS OF THE 12TH IEEE REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM, 2006, : 373 - +
  • [5] Space-optimal, wait-free real-time synchronization
    Cho, Hyeonjoong
    Ravindran, Binoy
    Jensen, E. Douglas
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 2007, 56 (03) : 373 - 384
  • [6] A space-optimal wait-free real-time synchronization protocol
    Cho, HJ
    Ravindran, B
    Jensen, ED
    [J]. 17th Euromicro Conference on Real-Time Systems, Proceedings, 2005, : 79 - 88
  • [7] ARE WAIT-FREE ALGORITHMS FAST
    ATTIYA, H
    LYNCH, N
    SHAVIT, N
    [J]. JOURNAL OF THE ACM, 1994, 41 (04) : 725 - 763
  • [8] Wait-free object-sharing schemes for real-time uniprocessors and multiprocessors
    Anderson, JH
    Jain, R
    Ramamurthy, S
    [J]. 18TH IEEE REAL-TIME SYSTEMS SYMPOSIUM, PROCEEDINGS, 1997, : 111 - 122
  • [9] STM-HRT: A Robust and Wait-Free STM for Hard Real-Time Multicore Embedded Systems
    Cotard, Sylvain
    Queudet, Audrey
    Bechennec, Jean-Luc
    Faucou, Sebastien
    Trinquet, Yvon
    [J]. ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2015, 14 (04)
  • [10] Space efficient wait-free buffer sharing in multiprocessor real-time systems based on timing information
    Sundell, H
    Tsigas, P
    [J]. SEVENTH INTERNATIONAL CONFERENCE ON REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS, PROCEEDINGS, 2000, : 433 - 440