Test-and-Set in Optimal Space

被引:5
|
作者
Giakkoupis, George [1 ]
Helmi, Maryam [2 ]
Higham, Lisa [2 ]
Woelfel, Philipp [2 ]
机构
[1] INRIA Rennes, Rennes, France
[2] Univ Calgary, Calgary, AB, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
Shared Memory Model; Test-and-Set Algorithm; Space Complexity; Obstruction-free; BOUNDS;
D O I
10.1145/2746539.2746627
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The test-and-set object is a fundamental synchronization primitive for shared memory systems. This paper addresses the number of registers (supporting atomic reads and writes) required to implement a one-shot test-and-set object in the standard asynchronous shared memory model with n processes. The best lower bound is log n - 1 [12, 21] for obstruction-free and deadlock-free implementations, and recently a deterministic obstruction-free implementation using O(root n) registers was presented [11]. This paper closes the gap between these existing upper and lower bounds by presenting a deterministic obstruction free implementation of a one-shot test-and-set object from Theta(logn) registers of size Theta(logn) bits. Combining our obstruction-free algorithm with techniques from previous research [11, 12], we also obtain a randomized wait-free test and -set algorithm from Theta(logn) registers, with expected step-complexity Theta(log* n) against the oblivious adversary. The core tool in our algorithm is the implementation of a deterministic obstruction-free sifter object, using only 6 registers. If k processes access a sifter, then when they have terminated, at least one and at most [(2k + 1)/3] processes return "win" and all others return "lose".
引用
收藏
页码:615 / 623
页数:9
相关论文
共 50 条
  • [31] A Construction of Fault Test Constraint Based on the Optimal Fusion Set of Multiple Slices
    Zhang, Yi
    Wang, Gang
    Lin, Pingrong
    [J]. ADVANCED TECHNOLOGIES IN MANUFACTURING, ENGINEERING AND MATERIALS, PTS 1-3, 2013, 774-776 : 1604 - 1608
  • [32] Design of optimal linear space compactors for built-in self test
    Chakrabarty, K
    [J]. WHERE INSTRUMENTATION IS GOING - CONFERENCE PROCEEDINGS, VOLS 1 AND 2, 1998, : 413 - 418
  • [33] Optimal and Efficient Designs for Comparing a Set of Test Treatments with a Set of Controls in a Heteroscedastic One-Way Layout with Covariates
    Dutta, Ganesh
    SahaRay, Rita
    [J]. JOURNAL OF STATISTICAL THEORY AND PRACTICE, 2021, 15 (02)
  • [34] Optimal and Efficient Designs for Comparing a Set of Test Treatments with a Set of Controls in a Heteroscedastic One-Way Layout with Covariates
    Ganesh Dutta
    Rita SahaRay
    [J]. Journal of Statistical Theory and Practice, 2021, 15
  • [35] On the determination and construction of A- and MV-optimal block designs for comparing a set of test treatments to a set of standard treatments
    Jacroux, M
    [J]. JOURNAL OF STATISTICAL PLANNING AND INFERENCE, 2002, 106 (1-2) : 191 - 204
  • [36] Optimal Dissolved Gas Analysis Data Set Selection Based on Phase Space Reconstruction
    Zhang, Peng
    Qi, Bo
    Rong, Zhihai
    Li, Xiuwei
    [J]. 2017 IEEE CONFERENCE ON ELECTRICAL INSULATION AND DIELECTRIC PHENOMENON (CEIDP), 2017, : 229 - 232
  • [37] Optimal set of the modulus of continuity in the sharp Jackson inequality in the space L2
    Berdysheva, EE
    [J]. MATHEMATICAL NOTES, 2004, 76 (5-6) : 620 - 627
  • [38] Optimal Mode Set Selection for Free Space Optical Communications in the Presence of Atmosphere Turbulence
    Zhou, Junhe
    Wu, Jianjie
    Zong, Jinbang
    Hu, Qinsong
    [J]. JOURNAL OF LIGHTWAVE TECHNOLOGY, 2018, 36 (11) : 2222 - 2229
  • [39] Optimal Test Set-up for Generating Rayleigh Fading Channel in Reverberation Chamber
    Tien Manh Nguyen
    Chung, Jae-Young
    Kwon, Jong Hwa
    [J]. 2016 INTERNATIONAL SYMPOSIUM ON ANTENNAS AND PROPAGATION (ISAP), 2016, : 736 - 737
  • [40] Optimal test-set generation for parametric fault detection in switched capacitor filters
    Choi, WY
    Harjani, R
    Vinnakota, B
    [J]. PROCEEDINGS OF THE NINTH ASIAN TEST SYMPOSIUM (ATS 2000), 2000, : 72 - 77