On the implementation of memory reclamation methods in a lock-free hash trie design

被引:2
|
作者
Moreno, Pedro [1 ,2 ,3 ]
Areias, Miguel [1 ,2 ,3 ]
Rocha, Ricardo [1 ,2 ,3 ]
机构
[1] Univ Porto, CRACS, Rua Campo Alegre 1021, P-4169007 Porto, Portugal
[2] Univ Porto, INESC TEC, Rua Campo Alegre 1021, P-4169007 Porto, Portugal
[3] Univ Porto, Fac Sci, Rua Campo Alegre 1021, P-4169007 Porto, Portugal
关键词
Memory reclamation; Lock-freedom; Hash maps; Hazard pointers;
D O I
10.1016/j.jpdc.2021.04.007
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Hash tries are a trie-based data structure with nearly ideal characteristics for the implementation of hash maps. Starting from a particular lock-free hash map data structure, named Lock-Free Hash Tries, we focus on solving the problem of memory reclamation without losing the lock-freedom property. To the best of our knowledge, outside garbage collected environments, there is no current implementation of hash maps that is able to reclaim memory in a lock-free manner. To achieve this goal, we propose an approach for memory reclamation specific to Lock-Free Hash Tries that explores the characteristics of its structure in order to achieve efficient memory reclamation with low and well-defined memory bounds. We present and discuss in detail the key algorithms required to easily reproduce our implementation by others. Experimental results show that our approach obtains better results when compared with other state-of-the-art memory reclamation methods and provides a competitive and scalable hash map implementation, if compared to lock-based implementations. (C) 2021 Elsevier Inc. All rights reserved.
引用
收藏
页码:1 / 13
页数:13
相关论文
共 50 条
  • [1] Memory Reclamation Methods for Lock-Free Hash Tries
    Moreno, Pedro
    Areias, Miguel
    Rocha, Ricardo
    2019 31ST INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE AND HIGH PERFORMANCE COMPUTING (SBAC-PAD 2019), 2019, : 188 - 195
  • [2] Towards an Elastic Lock-Free Hash Trie Design
    Areias, Miguel
    Rocha, Ricardo
    2021 20TH INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING (ISPDC), 2021, : 9 - 16
  • [3] A Lock-Free Hash Trie Design for Concurrent Tabled Logic Programs
    Areias, Miguel
    Rocha, Ricardo
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2016, 44 (03) : 386 - 406
  • [4] On the correctness and efficiency of a novel lock-free hash trie map design
    Areias, Miguel
    Rocha, Ricardo
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2021, 150 : 184 - 195
  • [5] A Lock-Free Hash Trie Design for Concurrent Tabled Logic Programs
    Miguel Areias
    Ricardo Rocha
    International Journal of Parallel Programming, 2016, 44 : 386 - 406
  • [6] On the correctness of a lock-free compression-based elastic mechanism for a hash trie design
    Areias, Miguel
    Rocha, Ricardo
    COMPUTING, 2022, 104 (10) : 2279 - 2305
  • [7] On the correctness of a lock-free compression-based elastic mechanism for a hash trie design
    Miguel Areias
    Ricardo Rocha
    Computing, 2022, 104 : 2279 - 2305
  • [8] A Lock-free Binary Trie
    Ko, Jeremy
    2024 IEEE 44TH INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS, ICDCS 2024, 2024, : 163 - 174
  • [9] Automatic Memory Reclamation for Lock-Free Data Structures
    Cohen, Nachshon
    Petrank, Erez
    ACM SIGPLAN NOTICES, 2015, 50 (10) : 260 - 279
  • [10] Every Data Structure Deserves Lock-Free Memory Reclamation
    Cohen, Nachshon
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2018, 2