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
相关论文
共 31 条
  • [1] ADELSONVELSKII GM, 1962, SOV MATH DOKL, V3, P1259
  • [2] Aho A. V., 1983, DATA STRUCTURES ALGO
  • [3] ANDERSSON A, 1989, LECT NOTES COMPUT SC, V382, P393
  • [4] ARAGON CR, 1989, P 30 ANN IEEE S FDN, P540
  • [5] Bayer R., 1972, Acta Informatica, V1, P173, DOI 10.1007/BF00288683
  • [6] Bayer R., 1972, Acta Informatica, V1, P290, DOI 10.1007/BF00289509
  • [7] ON THE AVERAGE NUMBER OF REBALANCING OPERATIONS IN WEIGHT-BALANCED TREES
    BLUM, N
    MEHLHORN, K
    [J]. THEORETICAL COMPUTER SCIENCE, 1980, 11 (03) : 303 - 320
  • [8] EFFICIENT REBALANCING OF CHROMATIC SEARCH-TREES
    BOYAR, J
    LARSEN, KS
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1994, 49 (03) : 667 - 682
  • [9] Amortization results for chromatic search trees, with an application to priority queues
    Boyar, J
    Fagerberg, R
    Larsen, KS
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1997, 55 (03) : 504 - 521
  • [10] FAGERBERG R, 1996, COMMUNICATION