Relaxed balance for search trees with local rebalancing

被引:6
|
作者
Larsen, KS
Ottmann, T
Soisalon-Soininen, E
机构
[1] Univ So Denmark, Odense Univ, Dept Math & Comp Sci, DK-5230 Odense M, Denmark
[2] Univ Freiburg, Inst Comp Sci, D-79110 Freiburg, Germany
[3] Aalto Univ, Lab Informat Proc Sci, FIN-02150 Espoo, Finland
[4] Univ Wisconsin, Dept Comp Sci, Madison, WI 53706 USA
关键词
D O I
10.1007/PL00013303
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Search trees with relaxed balance were introduced with the aim of facilitating fast updating on shared-memory asynchronous parallel architectures. To obtain this, rebalancing has been uncoupled from the updating, so extensive locking in connection with updates is avoided. Rebalancing is taken care of by background processes, which do only a constant amount of work at a time before they release locks. Thus, the rebalancing and the associated locks are very localized in time as well as in space. In particular, there is no exclusive locking of whole paths. This means that the amount of parallelism possible is not limited by the height of the tree. Search trees with relaxed balance have been obtained by adapting standard sequential search trees to this new paradigm; clearly using similar techniques in each case, but no general result has been obtained. We show how any search tree with local bottom-up rebalancing can be used in a relaxed variant, preserving the complexity of the rebalancing from the sequential case. Additionally, we single out the one high level locking mechanism that a parallel implementation must provide in order to guarantee consistency. Though the ideas have come from search trees, the result presented here applies to tree structures in general, where operations initiated at the leave's progress towards the root in constant-sized steps.
引用
收藏
页码:743 / 763
页数:21
相关论文
共 50 条
  • [1] Relaxed balance for search trees with local rebalancing
    Kim S. Larsen
    Thomas Ottmann
    Eljas Soisalon-Soininen
    Acta Informatica, 2001, 37 : 743 - 763
  • [2] Search trees with relaxed balance and near-optimal height
    Fagerberg, R
    Jensen, RE
    Larsen, KS
    ALGORITHMS AND DATA STRUCTURES, 2001, 2125 : 414 - 425
  • [3] AVL trees with relaxed balance
    Larsen, KS
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2000, 61 (03) : 508 - 522
  • [4] EFFICIENT REBALANCING OF CHROMATIC SEARCH-TREES
    BOYAR, J
    LARSEN, KS
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1994, 49 (03) : 667 - 682
  • [5] Deletion without Rebalancing in Multiway Search Trees
    Sen, Siddhartha
    Tarjan, Robert E.
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2014, 39 (01):
  • [6] Deletion Without Rebalancing in Binary Search Trees
    Sen, Siddhartha
    Tarjan, Robert E.
    Kim, David Hong Kyun
    ACM TRANSACTIONS ON ALGORITHMS, 2016, 12 (04)
  • [7] EFFICIENT REBALANCING OF CHROMATIC SEARCH-TREES
    BOYAR, J
    LARSEN, KS
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 621 : 151 - 164
  • [8] Deletion without Rebalancing in Multiway Search Trees
    Sen, Siddhartha
    Tarjan, Robert E.
    ALGORITHMS AND COMPUTATION, PROCEEDINGS, 2009, 5878 : 832 - 841
  • [9] Chromatic binary search trees - A structure for concurrent rebalancing
    Nurmi, O
    SoisalonSoininen, E
    ACTA INFORMATICA, 1996, 33 (06) : 547 - 557
  • [10] Partial match queries in relaxed multidimensional search trees
    C. Martínez
    A. Panholzer
    H. Prodinger
    Algorithmica, 2001, 29 : 181 - 204