A comparison of cache aware and cache oblivious static search trees using program instrumentation

  • Authors:
  • Richard E. Ladner;Ray Fortna;Bao-Hoang Nguyen

  • Affiliations:
  • Department of Computer Science & Engineering, University of Washington, Box 352350, Seattle, WA;Department of Computer Science & Engineering, University of Washington, Box 352350, Seattle, WA;Department of Computer Science & Engineering, University of Washington, Box 352350, Seattle, WA

  • Venue:
  • Experimental algorithmics
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

An experimental comparison of cache aware and cache oblivious static search tree algorithms is presented. Both cache aware and cache oblivious algorithms outperform classic binary search on large data sets because of their better utilization of cache memory. Cache aware algorithms with implicit pointers perform best overall, but cache oblivious algorithms do almost as well and do not have to be tuned to the memory block size as cache aware algorithms require. Program instrumentation techniques are used to compare the cache misses and instruction counts for implementations of these algorithms.