The read-copy-update mechanism for supporting real-time applications on shared-memory multiprocessor systems with Linux

被引:26
作者
Guniguntala, D. [1 ,2 ]
McKenney, P. E. [3 ]
Triplett, J. [4 ]
Walpole, J. [5 ]
机构
[1] IBM India Syst & Technol Lab, Bangalore 560071, Karnataka, India
[2] Linux Technol Ctr, Bangalore, Karnataka, India
[3] IBM Beaverton Lab, Beaverton, OR 97006 USA
[4] Portland State Univ, Hillsboro, OR 97124 USA
[5] Portland State Univ, Beaverton, OR 97007 USA
关键词
D O I
10.1147/sj.472.0221
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Read-copy update (RCU) is a synchronization mechanism in the Linux (TM) kernel that provides significant improvements in multiprocessor scalability by eliminating the writer-delay problem of readers-writer locking. RCU implementations to date, however, have had the side effect of expanding non-preemptible regions of code, thereby degrading real-time response. We present here a variant of RCU that allows preemption of read-side critical sections and thus is better suited for real-time applications. We summarize priority-inversion issues with locking, present an overview of the RCU mechanism, discuss our counter-based adaptation of RCU for real-time use, describe an additional adaptation of RCU that permits general blocking in readside critical sections, and present performance results. We also discuss an approach for replacing the readers-writer synchronization with RCU in existing implementations.
引用
收藏
页码:221 / 236
页数:16
相关论文
共 17 条
  • [1] Enabling autonomic behavior in systems software with hot swapping
    Appavoo, J
    Hui, K
    Soules, CAN
    Wisniewski, RW
    Da Silva, DM
    Krieger, O
    Auslander, MA
    Edelsohn, DJ
    Gamsa, B
    Ganger, GR
    McKenney, P
    Ostrowski, M
    Rosenburg, B
    Stumm, M
    Xenidis, J
    [J]. IBM SYSTEMS JOURNAL, 2003, 42 (01) : 60 - 76
  • [2] Arcangeli A, 2003, USENIX ASSOCIATION PROCEEDINGS OF THE FREENIX TRACK, P297
  • [3] Gamsa B, 1999, USENIX ASSOCIATION PROCEEDINGS OF THE THIRD SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION (OSDI '99), P87
  • [4] Gharachorloo K., 1995, THESIS STANFORD U ST
  • [5] Performance of memory reclamation for lockless synchronization
    Hart, Thomas E.
    McKenney, Paul E.
    Brown, Angela Demke
    Walpole, Jonathan
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2007, 67 (12) : 1270 - 1285
  • [6] HENNESSY JP, 1998, Patent No. 4809168
  • [7] EXPERIENCE WITH PROCESSES AND MONITORS IN MESA
    LAMPSON, BW
    REDELL, DD
    [J]. COMMUNICATIONS OF THE ACM, 1980, 23 (02) : 105 - 117
  • [8] McKenney P. E., 1998, P 10 INT C PAR DISTR, P508
  • [9] McKenney P. E., 2004, THESIS OREGON HLTH S
  • [10] MCKENNEY PE, 2006, LINUX WEEKLY NE 1009