Synchronization transformations for parallel computing

被引:0
|
作者
Diniz, PC
Rinard, MC
机构
[1] Univ So Calif, Inst Informat Sci, Marina Del Rey, CA 90292 USA
[2] MIT, Comp Sci Lab, Cambridge, MA 02139 USA
来源
CONCURRENCY-PRACTICE AND EXPERIENCE | 1999年 / 11卷 / 13期
关键词
D O I
10.1002/(SICI)1096-9128(199911)11:13<773::AID-CPE453>3.0.CO;2-5
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This article describes a framework for synchronization optimizations and a set of transformations for programs that implement critical sections using mutual exclusion locks, The basic synchronization transformations take constructs that acquire and release locks and move these constructs both within and between procedures. They also eliminate, acquire and release constructs that use the same lock and are adjacent in the program. The article also presents a synchronization optimization algorithm, lock elimination, that uses these transformations to reduce the synchronization overhead, This algorithm locates computations that repeatedly acquire and release the same lock, then transforms the computations so that they acquire and release the lock only once. The goal of this algorithm is to reduce the lock overhead by reducing the number of times that computations acquire and release locks. But because the algorithm also increases the sizes of the critical sections, it may decrease the amount of available concurrency. The algorithm addresses this trade-off by providing several different optimization policies. The policies differ in the amount by which they increase the sizes of the critical sections, Experimental results from a parallelizing compiler for object-based programs illustrate the practical utility of the lock elimination algorithm. For three benchmark applications, the algorithm can dramatically reduce the number of times the applications acquire and release locks, which significantly reduces the amount of time processors spend acquiring and releasing locks, The resulting overall performance improvements for these benchmarks range from no observable improvement to up to 30% performance improvement. Copyright (C) 1999 John Wiley & Sons, Ltd.
引用
收藏
页码:773 / 802
页数:30
相关论文
共 50 条
  • [21] Synchronization of rules in membrane computing
    Bogdan Aman
    Gabriel Ciobanu
    Journal of Membrane Computing, 2019, 1 : 233 - 240
  • [22] Subset synchronization in BSP computing
    Hains, G
    INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED PROCESSING TECHNIQUES AND APPLICATIONS, VOLS I-IV, PROCEEDINGS, 1998, : 242 - 246
  • [23] Fast Barrier Synchronization with AWGR-based Optical Switch in High-performance and Parallel Computing
    Ye, Xiaohui
    Potter, Andrew
    Yin, Yawei
    Proietti, Roberto
    Yoo, S. J. B.
    Akella, Venkatesh
    2011 OPTICAL FIBER COMMUNICATION CONFERENCE AND EXPOSITION (OFC/NFOEC) AND THE NATIONAL FIBER OPTIC ENGINEERS CONFERENCE, 2011,
  • [24] Parallel computing - an approach for scientific computing
    Carstea, Ion T.
    NEW ASPECTS OF ENGINEERING EDUCATION, 2008, : 178 - +
  • [25] Synchronization Algebras with Mobility for Graph Transformations
    Lanese, Ivan
    Montanari, Ugo
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2005, 138 (01) : 43 - 60
  • [26] Note on clock synchronization and Edwards transformations
    Kosinski, Piortr
    FOUNDATIONS OF PHYSICS LETTERS, 2006, 19 (04) : 389 - 397
  • [27] The synchronization of chaotic systems applying the parallel synchronization method
    Karimi, Sohrab
    Effati, Sohrab
    Ghane, F. H.
    PHYSICA SCRIPTA, 2019, 94 (10)
  • [28] Computation Optimization for Digital Signal Processing Operations in Homogeneous Computing Environments and Structural Transformations of Their Parallel Algorithms
    Klimova, O., V
    MECHANICS, RESOURCE AND DIAGNOSTICS OF MATERIALS AND STRUCTURES (MRDMS-2020): PROCEEDING OF THE 14TH INTERNATIONAL CONFERENCE ON MECHANICS, RESOURCE AND DIAGNOSTICS OF MATERIALS AND STRUCTURES, 2020, 2315
  • [29] Computing single parameter transformations
    Smith, DM
    COMMUNICATIONS IN STATISTICS-SIMULATION AND COMPUTATION, 2003, 32 (03) : 605 - 618
  • [30] Computing with graphs and graph transformations
    Blostein, Dorothea
    Schürr, Andy
    Software - Practice and Experience, 1999, 29 (03): : 197 - 217