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 条
  • [42] Study on parallel computing
    Chen, Guo-Liang
    Sun, Guang-Zhong
    Zhang, Yun-Quan
    Mo, Ze-Yao
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2006, 21 (05) : 665 - 673
  • [43] PARALLEL COMPUTING 89
    HAKE, JF
    PARALLEL COMPUTING, 1989, 12 (03) : 387 - 388
  • [44] COMPUTING POWERS IN PARALLEL
    GATHEN, JV
    SIAM JOURNAL ON COMPUTING, 1987, 16 (05) : 930 - 945
  • [45] PERSPECTIVES ON PARALLEL COMPUTING
    DENG, YF
    GLIMM, J
    SHARP, DH
    DAEDALUS, 1992, 121 (01) : 31 - 52
  • [46] Network and Parallel Computing
    Ching-Hsien Hsu
    Valentina Salapura
    International Journal of Parallel Programming, 2016, 44 : 1 - 4
  • [47] Parallel computing in logistics
    Laporte, G
    Musmanno, R
    PARALLEL COMPUTING, 2003, 29 (05) : 553 - 554
  • [48] Mobile parallel computing
    Doolan, Daniel C.
    Tabirca, Sabin
    Yang, Laurence T.
    ISPDC 2006: FIFTH INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING, PROCEEDINGS, 2006, : 161 - +
  • [49] Parallel computing for less
    Ali KaKa Khel, Ijas
    Akhtar Ali, M.
    IEEE Potentials, 18 (02): : 33 - 35
  • [50] Computing in a parallel universe
    Hayes, Brian
    AMERICAN SCIENTIST, 2007, 95 (06) : 476 - 480