• Cite Icon4
  • https://doi.org/10.1145/297096.297116Copy DOI Icon

Lock bypassing

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

The heap representation of priority queues is one of the most widely used data structures in the design of parallel algorithms. Efficiently exploiting the parallelism of a priority heap has significant influence on the efficiency of a wide range of applications and parallel algorithms. In this paper, we propose an aggressive priority heap operating algorithm, called the lock bypassing algorithm (LB) on shared memory systems. This algorithm minimizes interference of concurrent enqueue and dequeue operations on priority heaps while keeping the strict priority property: a dequeue always returns the minimum of a heap. The unique idea that distinguishes the LB algorithm from previous concurrent algorithms on priority heaps is the use of locking-on-demand and lock-bypassing techniques to minimize locking granularity and to maximize parallelism. The LB algorithm allows an enqueue operation to bypass the locks along its insertion path until it reaches a possible place where it can perform the insertion. Meanwhile a dequeue operation also makes its locking range and locking period as small as possible by carefully tuning its execution procedure. The LB algorithm is shown to be correct in terms of deadlock freedom and heap consistency. The performance of the LB algorithm was evaluated analytically and experimentally in comparison with previous algorithms. Analytical results show that the LB algorithm reduces by half the number of locks waited for in the worst case by previous algorithms. The experimental results show that the LB algorithm outperforms previously designed algorithms by up to a factor of 2 in hold time.

Similar Papers
  • Research Article

Electronic circuits: by E. J. Angelo, Jr. 450 pages, diagrams, 6 × 9 in. New York, McGraw-Hill Book Co. Inc., 1958.Price, $9.00.

  • Nov 01, 1958
  • Journal of the Franklin Institute
  • Research Article
  • Citations12

Sorting strings and constructing digital search trees in parallel

  • Feb 01, 1996
  • Theoretical Computer Science
  • Joseph F Jájá +2
  • Research Article
  • Citations81

Communication Issues in the Design and Analysis of Parallel Algorithms

  • Mar 01, 1981
  • IEEE Transactions on Software Engineering
  • B Lint +1
  • Book Chapter
  • Citations4

Parallel Polynomial and Matrix Computations

  • Jan 01, 1994
  • Dario Bini +1
  • PDF
  • Research Article
  • Citations3

Enhanced Parallel Sine Cosine Algorithm for Constrained and Unconstrained Optimization

  • Apr 03, 2022
  • Mathematics
  • Akram Belazi +5
  • Research Article
  • Citations1

A Parallel Apriori-Transaction Reduction Algorithm Using Hadoop-Mapreduce in Cloud

  • Apr 23, 2018
  • Asian Journal of Research in Computer Science
  • A L Sayeth Saabith +2
  • Conference Article
  • Citations6

Parallel algorithms for rectilinear link distance problems

  • Apr 13, 1993
  • A Lingas +2
  • Book Chapter

Random Sampling Techniques in Parallel Algorithms

  • Jan 01, 1999
  • Rajeev Raman
  • Research Article
  • Citations10

Designing irregular parallel algorithms with mutual exclusion and lock-free protocols

  • Feb 15, 2006
  • Journal of Parallel and Distributed Computing
  • Guojing Cong +1
  • Book Chapter
  • Citations6

Binary trees and parallel scheduling algorithms

  • Jun 10, 1981
  • Eliezer Dekel +1
  • Book Chapter

Scheduling Parallel Factorization Algorithms on a Shared Memory Computer

  • Jan 01, 1991
  • Michel Cosnard
  • Conference Article
  • Citations1

Taking concurrency seriously (position paper)

  • Jan 01, 1988
  • M Herlihy
  • Book Chapter

Communication Issues in Scalable Parallel Computing

  • Jan 01, 2010
  • C.E.R Alves +3
  • Dissertation

Design and implementation of parallel algorithms for automata

  • Jan 01, 1996
  • Xuefeng Xiong
  • Research Article
  • Citations2

Comparison of Two Parallel Offsetting Algorithms Free from Conflicts Between Threads

  • Nov 05, 2021
  • International Journal of Automation Technology
  • Masatomo Inui +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.