The Cost of Cache-Oblivious Searching

被引:3
|
作者
Bender, Michael A. [2 ,3 ]
Brodal, Gerth Stolting [4 ]
Fagerberg, Rolf [5 ]
Ge, Dongdong [6 ]
He, Simai [7 ]
Hu, Haodong [8 ]
Iacono, John [9 ]
Lopez-Ortiz, Alejandro [1 ]
机构
[1] Univ Waterloo, Sch Comp Sci, Waterloo, ON N2L 3G1, Canada
[2] SUNY Stony Brook, Dept Comp Sci, Stony Brook, NY 11794 USA
[3] Tokutek Inc, Lexington, MA USA
[4] Aarhus Univ, MADALGO Ctr Mass Data Algorithm, Ctr Danish Natl Res Fdn, Dept Comp Sci, DK-8000 Aarhus C, Denmark
[5] Univ So Denmark, Dept Math & Comp Sci, DK-5230 Odense M, Denmark
[6] Shanghai Jiao Tong Univ, Dept Management Sci & Engn, Antai Sch Econ & Management, Shanghai 200052, Peoples R China
[7] Chinese Univ Hongkong, Dept Syst Engn & Engn Management, Hong Kong, Hong Kong, Peoples R China
[8] Microsoft, Networking & Device Connect Windows Div, Redmond, WA 98052 USA
[9] Polytech Univ, Dept Comp & Informat Sci, Brooklyn, NY 11201 USA
基金
美国国家科学基金会;
关键词
Cache-oblivious B-tree; Cache-oblivious searching; van Emde Boas layout; PARALLEL MEMORY; ALGORITHMS; MODEL;
D O I
10.1007/s00453-010-9394-0
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper gives tight bounds on the cost of cache-oblivious searching. The paper shows that no cache-oblivious search structure can guarantee a search performance of fewer than lg elog (B) N memory transfers between any two levels of the memory hierarchy. This lower bound holds even if all of the block sizes are limited to be powers of 2. The paper gives modified versions of the van Emde Boas layout, where the expected number of memory transfers between any two levels of the memory hierarchy is arbitrarily close to [lg e+O(lg lg B/lg B)]log (B) N+O(1). This factor approaches lg ea parts per thousand 1.443 as B increases. The expectation is taken over the random placement in memory of the first element of the structure. Because searching in the disk-access machine (DAM) model can be performed in log (B) N+O(1) block transfers, this result establishes a separation between the (2-level) DAM model and cache-oblivious model. The DAM model naturally extends to k levels. The paper also shows that as k grows, the search costs of the optimal k-level DAM search structure and the optimal cache-oblivious search structure rapidly converge. This result demonstrates that for a multilevel memory hierarchy, a simple cache-oblivious structure almost replicates the performance of an optimal parameterized k-level DAM structure.
引用
收藏
页码:463 / 505
页数:43
相关论文
共 50 条
  • [41] Processor-Aware Cache-Oblivious Algorithms*
    Tang, Yuan
    Gao, Weiguo
    50TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, 2021,
  • [42] Cache-oblivious index for approximate string matching
    Hon, Wing-Kai
    Lam, Tak-Wah
    Shah, Rahul
    Tam, Siu-Lung
    Vitter, Jeffrey Scott
    COMBINATORIAL PATTERN MATCHING, PROCEEDINGS, 2007, 4580 : 40 - +
  • [43] Cache-oblivious High-performance Similarity Join
    Perdacher, Martin
    Plant, Claudia
    Boehm, Christian
    SIGMOD '19: PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2019, : 87 - 104
  • [44] Brief Announcement: Cache-Oblivious Scheduling of Streaming Applications
    Agrawal, Kunal
    Fineman, Jeremy T.
    PROCEEDINGS OF THE 26TH ACM SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES (SPAA'14), 2014, : 79 - 81
  • [45] A locality-preserving cache-oblivious dynamic dictionary
    Bender, MA
    Duan, ZY
    Iacono, J
    Wu, J
    JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 2004, 53 (02): : 115 - 136
  • [46] Improved Space Bounds for Cache-Oblivious Range Reporting
    Afshani, Peyman
    Zeh, Norbert
    PROCEEDINGS OF THE TWENTY-SECOND ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2011, : 1745 - 1758
  • [47] Cache-oblivious comparison-based algorithms on multisets
    Farzan, A
    Ferragina, P
    Franceschini, G
    Munro, JI
    ALGORITHMS - ESA 2005, 2005, 3669 : 305 - 316
  • [48] Closing the Gap Between Cache-oblivious and Cache-adaptive Analysis
    Bender, Michael A.
    Chowdhury, Rezaul A.
    Das, Rathish
    Johnson, Rob
    Kuszmaul, William
    Lincoln, Andrea
    Liu, Quanquan C.
    Lynch, Jayson
    Xu, Helen
    PROCEEDINGS OF THE 32ND ACM SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES (SPAA '20), 2020, : 63 - 73
  • [49] Compressed Cache-Oblivious String B-tree
    Ferragina, Paolo
    Venturini, Rossano
    ALGORITHMS - ESA 2013, 2013, 8125 : 469 - 480
  • [50] Cache-Oblivious Dynamic Dictionaries with Update/Query Tradeoffs
    Brodal, Gerth Stolting
    Demaine, Erik D.
    Fineman, Jeremy T.
    Iacono, John
    Langerman, Stefan
    Munro, J. Ian
    PROCEEDINGS OF THE TWENTY-FIRST ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2010, 135 : 1448 - +