Cache-based synchronization in shared memory multiprocessors

被引:6
|
作者
Ramachandran, U [1 ]
Lee, JW [1 ]
机构
[1] KOREA INST SCI & TECHNOL, DEPT INFORMAT & COMMUN, SEOUL 130650, SOUTH KOREA
基金
美国国家科学基金会;
关键词
D O I
10.1006/jpdc.1996.0002
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In shared memory multiprocessors, efficient synchronization is imperative to assure good performance. There are two aspects to the ''cost'' of a synchronization operation: the first is the waiting time at synchronization points, and the second is the intrinsic overhead in performing the operation. The overhead has two components. The first component deals with contention resolution for synchronization operation among competing processors. The second component deals with the shared data accesses that the processor has to perform once it enters a synchronization region. We present a mechanism to reduce the overhead of performing synchronization operations in a cache-based shared memory multiprocessor. The mechanism is based on the intuitive notion that parallel programs invariably use synchronization operations to govern the access to shared data. Traditional multiprocessor cache protocols treat synchronization accesses the same way as normal read/write memory accesses, leading to inefficiencies in performing synchronization operations which ultimately limit the scalability of such systems. The key idea in our approach is to combine synchronization with the coherence maintenance for the cached data. Each cache line maintains states for synchronization as well as for cache coherence, and the cache protocol ensures the correctness of the synchronization operations and the coherence of the data at these synchronization points. To assess the performance gain due to the proposed mechanism, simulation studies are performed using a workload model that represents a dynamic scheduling paradigm which forms the core of several parallel programs. Results from simulation studies show that the proposed cache-based synchronization performs significantly better than traditional cache coherence approaches. (C) 1996 Academic Press, Inc.
引用
收藏
页码:11 / 27
页数:17
相关论文
共 50 条
  • [1] EFFICIENT MAPPING OF APPLICATIONS ON CACHE-BASED MULTIPROCESSORS
    NANDA, AK
    BHUYAN, LN
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1993, 19 (03) : 179 - 191
  • [2] THE PERFORMANCE OF CACHE-BASED ERROR RECOVERY IN MULTIPROCESSORS
    JANSSENS, B
    FUCHS, WK
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 1994, 5 (10) : 1033 - 1043
  • [3] CACHE-BASED ERROR RECOVERY FOR SHARED MEMORY MULTIPROCESSOR SYSTEMS
    WU, KL
    FUCHS, WK
    PATEL, JH
    [J]. PROCEEDINGS OF THE 1989 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, VOL 1: ARCHITECTURE, 1989, : I159 - I166
  • [4] EFFICIENT SYNCHRONIZATION ON MULTIPROCESSORS WITH SHARED MEMORY
    KRUSKAL, CP
    RUDOLPH, L
    SNIR, M
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1988, 10 (04): : 579 - 601
  • [6] EFFICIENCY OF CACHE-BASED MEMORY
    BENNETT, M
    BERARD, P
    BOKSENBAUM, C
    VERAN, M
    [J]. REVUE FRANCAISE D AUTOMATIQUE INFORMATIQUE RECHERCHE OPERATIONNELLE, 1976, 10 (05): : 1 - 15
  • [7] SCALABLE CACHE COHERENCE FOR SHARED-MEMORY MULTIPROCESSORS
    THAPAR, M
    DELAGI, BA
    FLYNN, MJ
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1992, 591 : 1 - 12
  • [8] SCALABLE CACHE COHERENCE FOR LARGE SHARED MEMORY MULTIPROCESSORS
    THAPAR, M
    DELAGI, B
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1990, 457 : 592 - 603
  • [9] SYNCHRONIZATION ALGORITHMS FOR SHARED-MEMORY MULTIPROCESSORS
    GRAUNKE, G
    THAKKAR, S
    [J]. COMPUTER, 1990, 23 (06) : 60 - 69
  • [10] Barrier Synchronization Algorithms for Shared Memory Multiprocessors
    ElAarag, Hala
    Caloiaro, Adriano
    Deyo-Svendsen, Matt
    Palmer, John
    Romano, Sam
    Salmon, Sean
    Wuennenberg, Austin
    [J]. IMETI 2008: INTERNATIONAL MULTI-CONFERENCE ON ENGINEERING AND TECHNOLOGICAL INNOVATION, VOL III, POST-CONFERENCE ISSUE, PROCEEDINGS, 2008, : 62 - 67