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 条
  • [21] Making Local Algorithms Wait-Free: The Case of Ring Coloring
    Castaneda, Armando
    Delporte, Carole
    Fauconnier, Hugues
    Rajsbaum, Sergio
    Raynal, Michel
    [J]. STABILIZATION, SAFETY, AND SECURITY OF DISTRIBUTED SYSTEMS, SSS 2016, 2016, 10083 : 109 - 125
  • [22] Wait-free implementations in message-passing systems
    Chaudhuri, S
    Herlihy, M
    Tuttle, MR
    [J]. THEORETICAL COMPUTER SCIENCE, 1999, 220 (01) : 211 - 245
  • [23] Survey on wait-free consensus protocol in distributed systems
    Rani, Radha
    Mahato, Dharmendra Prasad
    [J]. INTERNATIONAL JOURNAL OF COMMUNICATION NETWORKS AND DISTRIBUTED SYSTEMS, 2023, 29 (02) : 166 - 208
  • [24] Brief Announcement: Are Lock-Free Concurrent Algorithms Practically Wait-Free?
    Alistarh, Dan
    Censor-Hillel, Keren
    Shavit, Nir
    [J]. PROCEEDINGS OF THE 2014 ACM SYMPOSIUM ON PRINCIPLES OF DISTRIBUTED COMPUTING (PODC'14), 2014, : 50 - 52
  • [25] Performance of algorithms for scheduling real-time systems with overrun and overload
    Gardner, MK
    Liu, JWS
    [J]. PROCEEDINGS OF THE 11TH EUROMICRO CONFERENCE ON REAL-TIME SYSTEMS, 1999, : 287 - 296
  • [26] Wait-free Hyperobjects for Task-parallel Programming Systems
    Wimmer, Martin
    [J]. IEEE 27TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS 2013), 2013, : 803 - 812
  • [27] Real-time performance of sorting algorithms
    Puschner, PP
    [J]. REAL-TIME SYSTEMS, 1999, 16 (01) : 63 - 79
  • [28] Real-Time Performance of Sorting Algorithms
    Peter P. Puschner
    [J]. Real-Time Systems, 1999, 16 : 63 - 79
  • [29] Extending the wait-free hierarchy to multi-threaded systems
    Perrin, Matthieu
    Mostefaoui, Achour
    Bonin, Gregoire
    Courtillat-Piazza, Ludmila
    [J]. DISTRIBUTED COMPUTING, 2022, 35 (04) : 375 - 398
  • [30] Extending the wait-free hierarchy to multi-threaded systems
    Matthieu Perrin
    Achour Mostéfaoui
    Grégoire Bonin
    Ludmila Courtillat-Piazza
    [J]. Distributed Computing, 2022, 35 : 375 - 398