Relative performance of preemption-safe locking and non-blocking synchronization on multiprogrammed shared memory multiprocessors

被引:1
|
作者
Michael, MM
Scott, ML
机构
来源
11TH INTERNATIONAL PARALLEL PROCESSING SYMPOSIUM, PROCEEDINGS | 1997年
关键词
D O I
10.1109/IPPS.1997.580906
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Most multiprocessors are multiprogrammed to achieve acceptable response time. Unfortunately, inopportune preemption may significantly degrade the performance of synchronized parallel applications. To address this problem, researchers have developed two principal strategies for concurrent, atomic update of shared data structures: (1) preemption-safe locking and (2) non-blocking (lock-free) algorithms. Preemption-safe locking requires kernel support. Non-blocking algorithms generally require a universal atomic primitive, and are widely regarded as inefficient. We present a comparison of the two alternative strategies, focusing on four simple but important concurrent data structures-stacks, FIFO queues, priority queues and counters-in micro-benchmarks and real applications on a 12-processor SGI Challenge multiprocessor. Our results indicate that data-structure-specific non-blocking algorithms, which exist for stacks, FIFO queues and counters, can work extremely well: not only do they outperform preemption-safe lock-based algorithms on multiprogrammed machines, they also outperform ordinary locks on dedicated machines. At the same time, since general-purpose nonblocking techniques do not yet appear to be practical, preemption-safe locks remain the preferred alternative for complex data structures: they outperform conventional locks by significant margins on multiprogrammed systems.
引用
收藏
页码:267 / 273
页数:7
相关论文
共 10 条
  • [1] Nonblocking algorithms and preemption-safe locking on multiprogrammed shared memory multiprocessors
    Michael, MM
    Scott, ML
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1998, 51 (01) : 1 - 26
  • [2] Safe Non-blocking Synchronization in Ada2x
    Blieberger, Johann
    Burgstaller, Bernd
    RELIABLE SOFTWARE TECHNOLOGIES - ADA-EUROPE 2018, 2018, 10873 : 53 - 69
  • [3] A non-blocking locking method and performance evaluation on network of workstations
    Yu, G
    Wang, GR
    Zheng, HY
    Jin, TY
    Kaneko, K
    Makinouchi, A
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2001, 16 (01) : 25 - 38
  • [4] A Non-Blocking Locking Method and Performance Evaluation on Network of Workstations
    于戈
    王国仁
    郑怀远
    金泰勇
    Journal of Computer Science and Technology, 2001, (01) : 25 - 38
  • [5] A non-blocking locking method and performance evaluation on network of workstations
    Ge Yu
    Guoren Wang
    Huaiyuan Zheng
    Taiyong Jin
    Kunihiko Kaneko
    Akifumi Makinouchi
    Journal of Computer Science and Technology, 2001, 16 : 25 - 38
  • [6] Design of a non-blocking shared-memory copy network for ATM
    Bianchini Jr., Ronald P.
    Kim, Hyong S.
    International journal of digital and analog communication systems, 1993, 6 (01): : 39 - 48
  • [7] Architecture and performance of non-blocking ATM switches with shared internal queueing
    Bianchi, G
    Pattavina, A
    COMPUTER NETWORKS AND ISDN SYSTEMS, 1996, 28 (06): : 835 - 853
  • [8] Performance Analysis of RCU-Style Non-Blocking Synchronization Mechanisms on a Manycore-Based Operating System
    Kim, Changhui
    Choi, Euteum
    Han, Mingyun
    Lee, Seongjin
    Kim, Jaeho
    APPLIED SCIENCES-BASEL, 2022, 12 (07):
  • [9] Rely-guarantee bound analysis of parameterized concurrent shared-memory programsWith an application to proving that non-blocking algorithms are bounded lock-free
    Thomas Pani
    Georg Weissenbacher
    Florian Zuleger
    Formal Methods in System Design, 2021, 57 : 270 - 302
  • [10] Rely-guarantee bound analysis of parameterized concurrent shared-memory programs With an application to proving that non-blocking algorithms are bounded lock-free
    Pani, Thomas
    Weissenbacher, Georg
    Zuleger, Florian
    FORMAL METHODS IN SYSTEM DESIGN, 2021, 57 (02) : 270 - 302