Iterative computations with ordered read-write locks

被引:10
|
作者
Clauss, Pierre-Nicolas [2 ,3 ]
Gustedt, Jens [1 ,2 ]
机构
[1] INRIA Nancy Grand Est, F-54506 Vandoeuvre Les Nancy, France
[2] INRIA Project Team AlGorille, Nancy, France
[3] Nancy Univ, Nancy, France
关键词
Synchronization; Iterative algorithms; Read-write locks; PARALLEL ALGORITHMS; SHARED-MEMORY;
D O I
10.1016/j.jpdc.2009.09.002
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We introduce the framework of ordered read-write locks, ORWL, that are characterized by two main features: a strict FIFO policy for access, and the attribution of access to lock-handles instead of processes or threads. These two properties together allow applications to have a controlled pro-active access to resources and thereby to achieve a high degree of asynchronicity between different tasks of the same application. For the case of iterative computations with many parallel tasks which access their resources in a cyclic pattern, we provide a generic technique to implement them by means of ORWL. We show that the possible execution patterns for such a system correspond to a combinatorial lattice structure and that this lattice is finite if and only if the configuration contains a potential deadlock. In addition, we provide efficient algorithms: one that allows for a deadlock-free initialization of such a system and another one for the detection of deadlocks in an already initialized system. (C) 2009 Elsevier Inc. All rights reserved.
引用
收藏
页码:496 / 504
页数:9
相关论文
共 50 条
  • [1] Experimenting Iterative Computations with Ordered Read-Write Locks
    Clauss, Pierre-Nicolas
    Gustedt, Jens
    PROCEEDINGS OF THE 18TH EUROMICRO CONFERENCE ON PARALLEL, DISTRIBUTED AND NETWORK-BASED PROCESSING, 2010, : 155 - 162
  • [2] Relaxed Synchronization with Ordered Read-Write Locks
    Gustedt, Jens
    Jeanvoine, Emmanuel
    EURO-PAR 2011: PARALLEL PROCESSING WORKSHOPS, PT I, 2012, 7155 : 387 - 397
  • [3] Formal verification of concurrent programs with read-write locks
    Ming Fu
    Yu Zhang
    Yong Li
    Frontiers of Computer Science in China, 2010, 4 : 65 - 77
  • [4] Formal verification of concurrent programs with read-write locks
    Fu, Ming
    Zhang, Yu
    Li, Yong
    FRONTIERS OF COMPUTER SCIENCE IN CHINA, 2010, 4 (01): : 65 - 77
  • [5] Read-write reductions
    Gafni, Eli
    Distributed Computing and Networking, Proceedings, 2006, 4308 : 349 - 354
  • [6] Physiology of the read-write genome
    Shapiro, James A.
    JOURNAL OF PHYSIOLOGY-LONDON, 2014, 592 (11): : 2319 - 2341
  • [7] Speculative Read Write Locks
    Issa, Shady
    Romano, Paolo
    Lopes, Tiago
    MIDDLEWARE'18: PROCEEDINGS OF THE 2018 ACM/IFIP/USENIX MIDDLEWARE CONFERENCE, 2018, : 214 - 226
  • [8] READ-WRITE NONDESTRUCTIVE READ-OUT MEMORY
    WILEY, DL
    PIERCE, RD
    IEEE TRANSACTIONS ON COMMUNICATION AND ELECTRONICS, 1964, 83 (73): : 378 - &
  • [9] AN OPTICAL READ-WRITE MASS MEMORY
    RAJCHMAN, JA
    APPLIED OPTICS, 1970, 9 (10): : 2269 - &
  • [10] Hardware Read-Write Lock Elision
    Felber, Pascal
    Issa, Shady
    Matveev, Alexander
    Romano, Paolo
    PROCEEDINGS OF THE ELEVENTH EUROPEAN CONFERENCE ON COMPUTER SYSTEMS, (EUROSYS 2016), 2016,