Title
Designing fast architecture-sensitive tree search on modern multicore/many-core processors
Abstract
In-memory tree structured index search is a fundamental database operation. Modern processors provide tremendous computing power by integrating multiple cores, each with wide vector units. There has been much work to exploit modern processor architectures for database primitives like scan, sort, join, and aggregation. However, unlike other primitives, tree search presents significant challenges due to irregular and unpredictable data accesses in tree traversal. In this article, we present FAST, an extremely fast architecture-sensitive layout of the index tree. FAST is a binary tree logically organized to optimize for architecture features like page size, cache line size, and Single Instruction Multiple Data (SIMD) width of the underlying hardware. FAST eliminates the impact of memory latency, and exploits thread-level and data-level parallelism on both CPUs and GPUs to achieve 50 million (CPU) and 85 million (GPU) queries per second for large trees of 64M elements, with even better results on smaller trees. These are 5X (CPU) and 1.7X (GPU) faster than the best previously reported performance on the same architectures. We also evaluated FAST on the Intel$^\tiny\textregistered$ Many Integrated Core architecture (Intel$^\tiny\textregistered$ MIC), showing a speedup of 2.4X--3X over CPU and 1.8X--4.4X over GPU. FAST supports efficient bulk updates by rebuilding index trees in less than 0.1 seconds for datasets as large as 64M keys and naturally integrates compression techniques, overcoming the memory bandwidth bottleneck and achieving a 6X performance improvement over uncompressed index search for large keys on CPUs.
Year
DOI
Venue
2011
10.1145/2043652.2043655
ACM Trans. Database Syst.
Keywords
Field
DocType
large tree,uncompressed index search,index tree,binary tree,In-memory tree,large key,tree search,many-core processor,architecture-sensitive tree search,index search,tree traversal,smaller tree,modern multicore
Computer architecture,Architecture,Computer science,Multi-core processor,Database
Journal
Volume
Issue
ISSN
36
4
0362-5915
Citations 
PageRank 
References 
8
0.71
33
Authors
9
Name
Order
Citations
PageRank
Changkyu Kim1184898.89
Jatin Chhugani2145279.32
Nadathur Satish3202099.88
Eric Sedlar433415.57
Anthony D. Nguyen5108055.39
Tim Kaldewey639817.18
Victor W. Lee796553.75
Scott A. Brandt8166394.81
Pradeep K. Dubey93432292.69