Back to search

University of Cincinnati

B+ TREE CACHE MEMORY PERFORMANCE

Abstract

dc:description

Computer systems use indices to quickly access particular data or files. Various data structures are used to implement different types of indices. One data structure, the B+Tree, is commonly used to index large databases and file systems. B+Trees were developed to efficiently bridge the wide speed difference between a computer’s main memory and its online storage. The large main memory capacity of today’s computers has reduced the importance of bridging that speed difference. Now, the speed difference between a computer’s central processor unit (CPU) and main memory is the main determinant of database or file system index performance. This has led to a reexamination of the B+Tree and a revision of its internal structure. The performances of two styles of B+Tree index structures are compared. This thesis begins with an analytic B+Tree performance model that motivates restructuring B+Tree nodes into two arrays, one of keys and another of child pointers, instead of the traditional array of tuples. We call trees composed of the restructured nodes “two-arrays based B+Trees” or TAB+Trees. Hardware execution of both types of trees with identical contents shows that average execution time improves by at least 8.3%. This overall speed improvement is mostly due to a 9% reduction in cache misses. TAB+Trees are also found to be more scalable in that they incur fewer cache misses when constructed with larger nodes. Trees composed of larger nodes in turn incur fewer data translation look aside buffer (DTLB) search cycles. Since DTLB misses can be almost eliminated with custom memory allocation, second level cache misses are found to be the dominant factor in execution time for large trees. The performances of various sizes of TAB+Trees across a wide variety of secondary cache configurations are simulated, showing predictable behavior. This culminates in a simplified model of B+Tree execution time. We conclude with suggestions for further refinements to TAB+Trees and other data structures similar to B+Trees.

Degree

thesis:*
Name thesis:degree_name
MS
Level thesis:degree_level
masters
Discipline thesis:degree_discipline
Engineering : Computer Engineering
Grantor dc:publisher
University of Cincinnati
Year dc:date
2004

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • GIESKE, EDMUND J.
Advisor dc:contributor.advisor
  • Carter, Dr. Harold

Subjects

dc:subject × 5

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

GIESKE, EDMUND J.. B+ TREE CACHE MEMORY PERFORMANCE. masters thesis, University of Cincinnati, 2004. http://rave.ohiolink.edu/etdc/view?acc_num=ucin1092344402