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
相关论文
共 21 条
  • [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] Speculative Read Write Locks
    Issa, Shady
    Romano, Paolo
    Lopes, Tiago
    MIDDLEWARE'18: PROCEEDINGS OF THE 2018 ACM/IFIP/USENIX MIDDLEWARE CONFERENCE, 2018, : 214 - 226
  • [6] TLRW: Return of the Read-Write Lock
    Dice, Dave
    Shavit, Nir
    SPAA '10: PROCEEDINGS OF THE TWENTY-SECOND ANNUAL SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, 2010, : 284 - 293
  • [7] On Spin Locks in AUTOSAR: Blocking Analysis of FIFO, Unordered, and Priority-Ordered Spin Locks
    Wieder, Alexander
    Brandenburg, Bjoern B.
    IEEE 34TH REAL-TIME SYSTEMS SYMPOSIUM (RTSS 2013), 2013, : 45 - 56
  • [8] Sorting with Asymmetric Read and Write Costs
    Blelloch, Guy E.
    Fineman, Jeremy T.
    Gibbons, Phillip B.
    Gu, Yan
    Shun, Julian
    SPAA'15: PROCEEDINGS OF THE 27TH ACM SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, 2015, : 1 - 12
  • [9] PrIter: A Distributed Framework for Prioritizing Iterative Computations
    Zhang, Yanfeng
    Gao, Qixin
    Gao, Lixin
    Wang, Cuirong
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2013, 24 (09) : 1884 - 1893
  • [10] Collapsibility of read/write models using discrete morse theory
    Benavides F.
    Rajsbaum S.
    Journal of Applied and Computational Topology, 2018, 1 (3-4) : 365 - 396