• DocumentCode
    140845
  • Title

    Optimal hierarchical layouts for cache-oblivious search trees

  • Author

    Lindstrom, Peter ; Rajan, D.

  • Author_Institution
    Center for Appl. & Sci. Comput., Lawrence Livermore Nat. Lab.Livermore, Livermore, CA, USA
  • fYear
    2014
  • fDate
    March 31 2014-April 4 2014
  • Firstpage
    616
  • Lastpage
    627
  • Abstract
    This paper proposes a general framework for generating cache-oblivious layouts for binary search trees. A cache-oblivious layout attempts to minimize cache misses on any hierarchical memory, independent of the number of memory levels and attributes at each level such as cache size, line size, and replacement policy. Recursively partitioning a tree into contiguous subtrees and prescribing an ordering amongst the subtrees, Hierarchical Layouts generalize many commonly used layouts for trees such as in-order, pre-order and breadth-first. They also generalize the various flavors of the van Emde Boas layout, which have previously been used as cache-oblivious layouts. Hierarchical Layouts thus unify previous attempts at deriving layouts for search trees. The paper then derives a new locality measure (the Weighted Edge Product) that mimics the probability of cache misses at multiple levels, and shows that layouts that reduce this measure perform better. We analyze the various degrees of freedom in the construction of Hierarchical Layouts, and investigate the relative effect of each of these decisions in the construction of cache-oblivious layouts. Optimizing the Weighted Edge Product for complete binary search trees, we introduce the MINWEP layout, and show that it outperforms previously used cache-oblivious layouts by almost 20%.
  • Keywords
    cache storage; probability; tree searching; MINWEP layout; binary search trees; breadth-first; cache misses minimization; cache misses probability; cache-oblivious layouts; cache-oblivious search trees; contiguous subtrees; hierarchical memory; in-order; locality measure; optimal hierarchical layouts; pre-order; van Emde Boas layout; weighted edge product; weighted edge product optimization; Binary search trees; Layout; Size measurement; Vegetation; Weight measurement;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering (ICDE), 2014 IEEE 30th International Conference on
  • Conference_Location
    Chicago, IL
  • Type

    conf

  • DOI
    10.1109/ICDE.2014.6816686
  • Filename
    6816686