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 条
  • [1] The Cost of Cache-Oblivious Searching
    Michael A. Bender
    Gerth Stølting Brodal
    Rolf Fagerberg
    Dongdong Ge
    Simai He
    Haodong Hu
    John Iacono
    Alejandro López-Ortiz
    Algorithmica, 2011, 61 : 463 - 505
  • [2] The cost of cache-oblivious searching
    Bender, MA
    Brodal, GS
    Fagerberg, R
    Ge, DD
    He, SM
    Hu, HD
    Iacono, J
    López-Ortiz, A
    44TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 2003, : 271 - 282
  • [3] Cache-Oblivious Hashing
    Rasmus Pagh
    Zhewei Wei
    Ke Yi
    Qin Zhang
    Algorithmica, 2014, 69 : 864 - 883
  • [4] Cache-Oblivious Hashing
    Pagh, Rasmus
    Wei, Zhewei
    Yi, Ke
    Zhang, Qin
    PODS 2010: PROCEEDINGS OF THE TWENTY-NINTH ACM SIGMOD-SIGACT-SIGART SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2010, : 297 - 304
  • [5] Cache-Oblivious Persistence
    Davoodi, Pooya
    Fineman, Jeremy T.
    Iacono, John
    Oezkan, Oezguer
    ALGORITHMS - ESA 2014, 2014, 8737 : 296 - 308
  • [6] Cache-oblivious algorithms
    Leiserson, CE
    ALGORITHMS AND COMPLEXITY, PROCEEDINGS, 2003, 2653 : 5 - 5
  • [7] Cache-Oblivious Algorithms
    Frigo, Matteo
    Leiserson, Charles E.
    Prokop, Harald
    Ramachandran, Sridhar
    ACM TRANSACTIONS ON ALGORITHMS, 2012, 8 (01)
  • [8] Cache-Oblivious Hashing
    Pagh, Rasmus
    Wei, Zhewei
    Yi, Ke
    Zhang, Qin
    ALGORITHMICA, 2014, 69 (04) : 864 - 883
  • [9] Is cache-oblivious DGEMM viable?
    Gunnels, John A.
    Gustavson, Fred G.
    Pingali, Keshav
    Yotov, Kamen
    APPLIED PARALLEL COMPUTING: STATE OF THE ART IN SCIENTIFIC COMPUTING, 2007, 4699 : 919 - +
  • [10] Cache-Oblivious String Dictionaries
    Brodal, Gerth Stolting
    Fagerberg, Rolf
    PROCEEDINGS OF THE SEVENTHEENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2006, : 581 - +