Mitigating Asymmetric Read and Write Costs in Cuckoo Hashing for Storage Systems

被引:0
作者
Sun, Yuanyuan [1 ]
Hua, Yu [1 ]
Chen, Zhangyu [1 ]
Guo, Yuncheng [1 ]
机构
[1] Huazhong Univ Sci & Technol, Sch Comp, Wuhan Natl Lab Optoelect, Wuhan, Hubei, Peoples R China
来源
PROCEEDINGS OF THE 2019 USENIX ANNUAL TECHNICAL CONFERENCE | 2019年
基金
中国国家自然科学基金;
关键词
ALGORITHMS;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In storage systems, cuckoo hash tables have been widely used to support fast query services. For a read, the cuckoo hashing delivers real-time access with O(1) lookup complexity via open-addressing approach. For a write, most concurrent cuckoo hash tables fail to efficiently address the problem of endless loops during item insertion due to the essential property of hash collisions. The asymmetric feature of cuckoo hashing exhibits fast-read-slow-write performance, which often becomes the bottleneck from single-thread writes. In order to address the problem of asymmetric performance and significantly improve the write/insert efficiency, we propose an optimized Concurrent Cuckoo hashing scheme, called CoCuckoo. To predetermine the occurrence of endless loops, CoCuckoo leverages a directed pseudoforest containing several subgraphs to leverage the cuckoo paths that represent the relationship among items. CoCuckoo exploits the observation that the insertion operations sharing a cuckoo path access the same subgraph, and hence a lock is needed for ensuring the correctness of con-currency control via allowing only one thread to access the shared path at a time; Insertion operations accessing different subgraphs are simultaneously executed without collisions. CoCuckoo improves the throughput performance by a graph-grained locking to support concurrent writes and reads. We have implemented all components of CoCuckoo and extensive experiments using the YCSB benchmark have demonstrated the efficiency and efficacy of our proposed scheme.
引用
收藏
页码:329 / 343
页数:15
相关论文
共 47 条
  • [1] Alstrup S, 2005, LECT NOTES COMPUT SC, V3580, P78
  • [2] Alvarez C., 2002, SPAA, P183
  • [3] [Anonymous], 2011, ACM SOCC
  • [4] [Anonymous], 2014, P ACM EUROSYS
  • [5] [Anonymous], 2013, NSDI
  • [6] [Anonymous], 2009, 7 USENIX C FIL STOR
  • [7] A View of Cloud Computing
    Armbrust, Michael
    Fox, Armando
    Griffith, Rean
    Joseph, Anthony D.
    Katz, Randy
    Konwinski, Andy
    Lee, Gunho
    Patterson, David
    Rabkin, Ariel
    Stoica, Ion
    Zaharia, Matei
    [J]. COMMUNICATIONS OF THE ACM, 2010, 53 (04) : 50 - 58
  • [8] Memory Hierarchy for Web Search
    Ayers, Grant
    Ahn, Jung Ho
    Kozyrakis, Christos
    Ranganathan, Parthasarathy
    [J]. 2018 24TH IEEE INTERNATIONAL SYMPOSIUM ON HIGH PERFORMANCE COMPUTER ARCHITECTURE (HPCA), 2018, : 643 - 656
  • [9] Morton Filters: Faster, Space-Efficient Cuckoo Filters via Biasing, Compression, and Decoupled Logical Sparsity
    Breslow, Alex D.
    Jayasena, Nuwan S.
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2018, 11 (09): : 1041 - 1055
  • [10] Breslow AD, 2016, PROCEEDINGS OF USENIX ATC '16: 2016 USENIX ANNUAL TECHNICAL CONFERENCE, P281