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 条
  • [31] Scalable lock-free dynamic memory allocation
    Michael, MM
    ACM SIGPLAN NOTICES, 2004, 39 (06) : 35 - 46
  • [32] Scalable Lock-Free Dynamic Memory Allocation
    Michael, Maged M.
    ACM SIGPLAN NOTICES, 2015, 50 (08) : 11 - 22
  • [33] NBmalloc: Allocating Memory in a Lock-Free Manner
    Gidenstam, Anders
    Papatriantafilou, Marina
    Tsigas, Philippas
    ALGORITHMICA, 2010, 58 (02) : 304 - 338
  • [34] A Memory Efficient Lock-Free Circular Queue
    Miniskar, Narasinga Rao
    Liu, Frank
    Vetter, Jeffrey S.
    2021 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2021,
  • [35] On Extending a Fixed Size, Persistent and Lock-Free Hash Map Design to Store Sorted Keys
    Areias, Miguel
    Rocha, Ricardo
    2018 IEEE INT CONF ON PARALLEL & DISTRIBUTED PROCESSING WITH APPLICATIONS, UBIQUITOUS COMPUTING & COMMUNICATIONS, BIG DATA & CLOUD COMPUTING, SOCIAL COMPUTING & NETWORKING, SUSTAINABLE COMPUTING & COMMUNICATIONS, 2018, : 415 - 422
  • [36] Split-ordered lists: Lock-free extensible hash tables
    Shalev, Ori
    Shavit, Nir
    JOURNAL OF THE ACM, 2006, 53 (03) : 379 - 405
  • [37] Lock-free Concurrent Level Hashing for Persistent Memory
    Chen, Zhangyu
    Hua, Yu
    Ding, Bo
    Zuo, Pengfei
    PROCEEDINGS OF THE 2020 USENIX ANNUAL TECHNICAL CONFERENCE, 2020, : 799 - 812
  • [38] PMap: A Non-volatile Lock-free Hash Map with Open Addressing
    Lamar, Kenneth
    Peterson, Christina
    Dechev, Damian
    Pearce, Roger
    Iwabuchi, Keita
    Pirkelbauer, Peter
    10TH IEEE NON-VOLATILE MEMORY SYSTEMS AND APPLICATIONS SYMPOSIUM (NVMSA 2021), 2021,
  • [39] Parallel Acceleration of IBM Alignment Model based on Lock-Free Hash Table
    Jing, Si-Yuan
    Yan, Gao-Rong
    Chen, Xing-Yuan
    Jin, Peng
    Guo, Zhao-Yi
    PROCEEDINGS OF 2016 12TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND SECURITY (CIS), 2016, : 423 - 427
  • [40] Verification of a Lock-Free Implementation of Multiword LL/SC Object
    Gao, Hui
    Fu, Yan
    Hesselink, Wim H.
    EIGHTH IEEE INTERNATIONAL CONFERENCE ON DEPENDABLE, AUTONOMIC AND SECURE COMPUTING, PROCEEDINGS, 2009, : 31 - +