Performance Evaluation on Parallel Speculation-Based Construction of a Binary Search Tree

被引:0
|
作者
Hirata, Hiroaki [1 ]
Nunome, Atsushi [1 ]
机构
[1] Kyoto Inst Technol, Fac Informat & Human Sci, Sakyo Ku, Kyoto, Kyoto 6068585, Japan
基金
日本学术振兴会;
关键词
Binary search tree; Thread-level speculation; Parallel algorithm; Speculative memory;
D O I
10.1007/s44227-023-00013-w
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Binary search trees (BSTs) are one of the most important data structures in the field of computer science. We may easily write a parallel construction program of a BST by extending the sequential algorithm straightly. However, in such conventional approaches, the order of nodes inserted into a BST is determined dynamically, depending on the occasional state of the parallel thread execution. It results in a BST with a different structure (node position) generated on every execution of the parallel program. On the other hand, we have been developing parallel construction schemes of the BST with the same structure as a BST generated by the sequential algorithm. One is the speculatively parallel construction of a BST. And another is the purely (non-speculatively) parallel construction, but it was derived through the concept of thread-level speculation. This paper evaluates the performances of those construction schemes on several types of shared-memory multiprocessors. For the large enough size of BST, our new parallel programs can construct a BST with always the same structure on a little lower or sometimes higher performance than the program that makes a BST with a different structure on every execution. And in contrast with the general expectation that simply enlarging the size of parallel tasks increases misspeculation and damages the performance, we found that it sometimes enhances the performance of speculatively parallel execution.
引用
收藏
页码:88 / 111
页数:24
相关论文
共 50 条
  • [1] Performance Evaluation on Parallel Speculation-Based Construction of a Binary Search Tree
    Hiroaki Hirata
    Atsushi Nunome
    International Journal of Networked and Distributed Computing, 2023, 11 : 88 - 111
  • [2] A speculation-friendly binary search tree
    Crain, Tyler
    Gramoli, Vincent
    Raynal, Michel
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2019, 31 (04):
  • [3] A Speculation-Friendly Binary Search Tree
    Crain, Tyler
    Gramoli, Vincent
    Raynal, Michel
    ACM SIGPLAN NOTICES, 2012, 47 (08) : 161 - 170
  • [4] A speculation-based approach for performance and dependability analysis: A case study
    Huang, YQ
    Kalbarczyk, ZT
    Iyer, RK
    1998 WINTER SIMULATION CONFERENCE PROCEEDINGS, VOLS 1 AND 2, 1998, : 475 - 482
  • [5] Beyond Binary Search: Parallel In-Place Construction of Implicit Search Tree Layouts
    Berney, Kyle
    Casanova, Henri
    Karsin, Ben
    Sitchinava, Nodari
    IEEE TRANSACTIONS ON COMPUTERS, 2022, 71 (05) : 1104 - 1116
  • [6] Beyond binary search: parallel in-place construction of implicit search tree layouts
    Berney, Kyle
    Casanova, Henri
    Higuchi, Alyssa
    Karsin, Ben
    Sitchinava, Nodari
    2018 32ND IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS), 2018, : 1070 - 1079
  • [7] Speculation-based protocols for improving the performance of read-only transactions
    Ragunathan, T.
    Reddy, P. Krishna
    INTERNATIONAL JOURNAL OF COMPUTATIONAL SCIENCE AND ENGINEERING, 2010, 5 (3-4) : 226 - 242
  • [8] High Performance CGM-based Parallel Algorithms for the Optimal Binary Search Tree Problem
    Tchendji, Vianney Kengne
    Myoupo, Jean Frederic
    Dequen, Gilles
    INTERNATIONAL JOURNAL OF GRID AND HIGH PERFORMANCE COMPUTING, 2016, 8 (04) : 55 - 77
  • [9] Construction of Estimated Level Based Balanced Binary Search Tree
    Chinnaiyan, R.
    Kumar, Abhishek
    2017 INTERNATIONAL CONFERENCE OF ELECTRONICS, COMMUNICATION AND AEROSPACE TECHNOLOGY (ICECA), VOL 1, 2017, : 344 - 348
  • [10] Parallel construction of multidimensional binary search trees
    Al-Furaih, I
    Aluru, S
    Goil, S
    Ranka, S
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2000, 11 (02) : 136 - 148