The Locality of Memory Checking

被引:3
|
作者
Wang, Weijie [1 ]
Lu, Yujie [1 ]
Papamanthou, Charalampos [1 ]
Zhang, Fan [1 ]
机构
[1] Yale Univ, New Haven, CT 06520 USA
基金
美国国家科学基金会;
关键词
Memory checking; foundations of cryptography;
D O I
10.1145/3576915.3623195
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Motivated by the extended deployment of authenticated data structures (e.g., Merkle Patricia Tries) for verifying massive amounts of data in blockchain systems, we begin a systematic study of the I/O efficiency of such systems. We first explore the fundamental limitations of memory checking, a previously-proposed abstraction for verifiable storage, in terms of its locality-a complexity measure that we introduce for the first time and is defined as the number of non-contiguous memory regions a checker must query to verifiably answer a read or a write query. Our central result is an Omega( log n/log log n) lower bound for the locality of any memory checker. Then we turn our attention to (dense and sparse) Merkle trees, one of the most celebrated memory checkers, and provide stronger lower bounds for their locality. For example, we show that any dense Merkle tree layout will have average locality at least 1/3 log n. Furthermore, if we allow node duplication, we show that if any write operation has at most polylog complexity, then the read locality cannot be less than log n/log log n. Our lower bounds help us construct two new locality-optimized authenticated data structures (DupTree and PrefixTree) which we implement and evaluate on random operations and real workloads, and which are shown to outperform traditional Merkle trees, especially as the number of leaves increases.
引用
收藏
页码:1820 / 1834
页数:15
相关论文
共 50 条
  • [31] Impact of data transformations on memory bank locality
    Kandemir, M
    DESIGN, AUTOMATION AND TEST IN EUROPE CONFERENCE AND EXHIBITION, VOLS 1 AND 2, PROCEEDINGS, 2004, : 506 - 511
  • [32] Dynamic addressing memory Arrays with physical locality
    Hsu, S
    Lu, SL
    Lai, SC
    Krishnamurthy, R
    Lai, K
    35TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE (MICRO-35), PROCEEDINGS, 2002, : 161 - 170
  • [33] Predicting locality phases for dynamic memory optimization
    Shen, Xipeng
    Zhong, Yutao
    Ding, Chen
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2007, 67 (07) : 783 - 796
  • [34] Mobile memory: Improving memory locality in very large reconfigurable fabrics
    Yan, R
    Goldstein, SC
    10TH ANNUAL IEEE SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES, PROCEEDINGS, 2002, : 195 - 204
  • [35] Exploiting Data Locality in Memory for ORAM to Reduce Memory Access Overheads
    Kuang, Jinxi
    Shen, Minghua
    Lu, Yutong
    Xiao, Nong
    PROCEEDINGS OF THE 59TH ACM/IEEE DESIGN AUTOMATION CONFERENCE, DAC 2022, 2022, : 703 - 708
  • [36] Checking Behaviours, Prospective Memory and Executive Functions
    Palmer, Lorna Elise
    Durkin, Kevin
    Rhodes, Sinead M.
    BEHAVIOUR CHANGE, 2015, 32 (02) : 74 - 92
  • [37] Verified Runtime Assertion Checking for Memory Properties
    Ly, Dara
    Kosmatov, Nikolai
    Loulergue, Frederic
    Signoles, Julien
    TESTS AND PROOFS (TAP 2020), 2020, 12165 : 100 - 121
  • [38] A memory-efficient emptiness checking algorithm
    Department of Computer Science and Engineering, Shanghai Jiaotong University, Shanghai 200030, China
    J. Inf. Comput. Sci., 2006, 4 (803-810):
  • [39] The relevance of memory processes for the understanding of compulsive checking
    Ecker, W
    ZEITSCHRIFT FUR KLINISCHE PSYCHOLOGIE UND PSYCHOTHERAPIE, 2001, 30 (01): : 45 - 54
  • [40] DEADLOCK CHECKING TEST FOR MEMORY-ELEMENT
    SKLIAREVICH, AN
    AVTOMATIKA I VYCHISLITELNAYA TEKHNIKA, 1977, (01): : 17 - 22