loading
Papers

Research.Publish.Connect.

Paper

Paper Unlock

Authors: Thomas B. Puzak and Chun-Hsi Huang

Affiliation: The University of Connecticut, United States

ISBN: 978-972-8865-69-6

Keyword(s): Cache Aware Binary Trees, Binary Tree Spatial Locality, Binary Tree Cache Performance.

Related Ontology Subjects/Areas/Topics: Business Analytics ; Data Engineering ; Data Management and Quality ; Data Semantics ; Information Quality

Abstract: The topological structure of binary search trees does not translate well into the linear nature of a computer’s memory system, resulting in high cache miss rates on data accesses. This paper analyzes the cache performance of search operations on several varieties of binary trees. Using uniform and nonuniform key distributions, the number of cache misses encountered per search is measured for Vanilla, AVL, and two types of Cache Aware Trees. Additionally, concrete measurements of the degree of spatial locality observed in the trees is provided. This allows the trees to be evaluated for situational merit, and for definitive explanations of their performance to be given. Results show that the balancing operations of AVL trees effectively negates any spatial locality gained through naive allocation schemes. Furthermore, for uniform input, this paper shows that large cache lines are only beneficial to trees that consider the cache’s line size in their allocation strategy. Results in the pa per demonstrate that adaptive cache aware allocation schemes that approximate the key distribution of a tree have universally better performance than static systems that favor a particular key distribution. (More)

PDF ImageFull Text

Download
CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 35.175.120.174

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
B. Puzak T.; Huang C. and (2006). AN ANALYSIS OF THE EFFECTS OF SPATIAL LOCALITY ON THE CACHE PERFORMANCE OF BINARY SEARCH TREES.In Proceedings of the First International Conference on Software and Data Technologies - Volume 2: ICSOFT, ISBN 978-972-8865-69-6, pages 94-101. DOI: 10.5220/0001315900940101

@conference{icsoft06,
author={Thomas {B. Puzak} and Chun{-}Hsi Huang},
title={AN ANALYSIS OF THE EFFECTS OF SPATIAL LOCALITY ON THE CACHE PERFORMANCE OF BINARY SEARCH TREES},
booktitle={Proceedings of the First International Conference on Software and Data Technologies - Volume 2: ICSOFT,},
year={2006},
pages={94-101},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0001315900940101},
isbn={978-972-8865-69-6},
}

TY - CONF

JO - Proceedings of the First International Conference on Software and Data Technologies - Volume 2: ICSOFT,
TI - AN ANALYSIS OF THE EFFECTS OF SPATIAL LOCALITY ON THE CACHE PERFORMANCE OF BINARY SEARCH TREES
SN - 978-972-8865-69-6
AU - B. Puzak, T.
AU - Huang, C.
PY - 2006
SP - 94
EP - 101
DO - 10.5220/0001315900940101

Login or register to post comments.

Comments on this Paper: Be the first to review this paper.