A locality-preserving cache-oblivious dynamic dictionary

被引:27
作者
Bender, MA
Duan, ZY [1 ]
Iacono, J
Wu, J
机构
[1] SUNY Stony Brook, Dept Comp Sci, Stony Brook, NY 11794 USA
[2] Polytech Univ, Dept Comp & Informat Sci, Metrotech Ctr 5, Brooklyn, NY 11201 USA
来源
JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC | 2004年 / 53卷 / 02期
基金
美国国家科学基金会;
关键词
D O I
10.1016/j.jalgor.2004.04.014
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper presents a simple dictionary structure designed for a hierarchical memory. The proposed data structure is cache-oblivious and locality-preserving. A cache-oblivious data structure has memory performance optimized for all levels of the memory hierarchy even though it has no memory-hierarchy- specific parameterization. A locality-preserving dictionary maintains elements of similar key values stored close together for fast access to ranges of data with consecutive keys. The data structure presented here is a simplification of the cache-oblivious B-tree of Bender, Demaine, and Farach-Colton. The structure supports search operations on N data items using O(log(B) N + 1) block transfers at a level of the memory hierarchy with block size B. Insertion and deletion operations use O(log(B) N + log(2) N/B + 1) amortized block transfers. Finally, the data structure returns all k data items in a given search range using O(log(B) N +k/B + 1) block transfers. This data structure was implemented and its performance was evaluated on a simulated memory hierarchy. This paper presents the results of this simulation for various combinations of block and memory sizes. (C) 2004 Elsevier Inc. All rights reserved.
引用
收藏
页码:115 / 136
页数:22
相关论文
共 60 条
[1]  
ADELSONVELSKII GM, 1962, DOKL AKAD NAUK SSSR+, V146, P263
[2]   THE INPUT OUTPUT COMPLEXITY OF SORTING AND RELATED PROBLEMS [J].
AGGARWAL, A ;
VITTER, JS .
COMMUNICATIONS OF THE ACM, 1988, 31 (09) :1116-1127
[3]  
Aggarwal A., 1988, Proceedings of the Twentieth Annual ACM Symposium on Theory of Computing, P173, DOI 10.1145/62212.62227
[4]  
AGGARWAL A, 1987, P 28 ANN IEEE S FDN, P204, DOI DOI 10.1109/SFCS.1987.31
[5]  
Aggarwal A., 1987, P 19 ANN ACM S THEOR, P305
[6]   THE UNIFORM MEMORY-HIERARCHY MODEL OF COMPUTATION [J].
ALPERN, B ;
CARTER, L ;
FEIG, E ;
SELKER, T .
ALGORITHMICA, 1994, 12 (2-3) :72-109
[7]  
Andersson A., 2000, Proceedings of the Thirty Second Annual ACM Symposium on Theory of Computing, P335, DOI 10.1145/335305.335344
[8]   Faster deterministic sorting and searching in linear space [J].
Andersson, A .
37TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 1996, :135-141
[9]  
[Anonymous], THESIS MIT CAMBRIDGE
[10]  
[Anonymous], P 40 ANN S FDN COMP