• Home
  • Search
  • Waiting algorithms for synchronization in large-scale multiprocessors
  • Open Access IconOpen Access
  • Cite Icon73
  • https://doi.org/10.1145/152864.152869Copy DOI Icon

Waiting algorithms for synchronization in large-scale multiprocessors

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

Through analysis and experiments, this paper investigates two-phase waiting algorithms to minimize the cost of waiting for synchronization in large-scale multiprocessors. In a two-phase algorithm, a thread first waits by polling a synchronization variable. If the cost of polling reaches a limit L poll and further waiting is necessary, the thread is blocked, incurring an additional fixed cost, B . The choice of L poll is a critical determinant of the performance of two-phase algorithms. We focus on methods for statically determining L poll because the run-time overhead of dynamically determining L poll can be comparable to the cost of blocking in large-scale multiprocessor systems with lightweight threads. Our experiments show that always-block ( L poll = 0) is a good waiting algorithm with performance that is usually close to the best of the algorithms compared. We show that even better performance can be achieved with a static choice of L poll based on knowledge of likely wait-time distributions. Motivated by the observation that different synchronization types exhibit different wait-time distributions, we prove that a static choice of L poll can yield close to optimal on-line performance against an adversary that is restricted to choosing wait times from a fixed family of probability distributions. This result allows us to make an optimal static choice of L poll based on synchronization type. For exponentially distributed wait times, we prove that setting L poll = 1n(e-1) B results in a waiting cost that is no more than e/(e-1) times the cost of an optimal off-line algorithm. For uniformly distributed wait times, we prove that setting L poll =1/2(square root of 5 -1) B results in a waiting cost that is no more than (square root of 5 + 1)/2 (the golden ratio) times the cost of an optimal off-line algorithm. Experimental measurements of several parallel applications on the Alewife multiprocessor simulator corroborate our theoretical findings.

Similar Papers
  • Research Article
  • Citations53

Waiting time distribution of quantum electronic transport in the transient regime

  • May 19, 2014
  • Physical Review B
  • Gao-Min Tang +2
  • Conference Article
  • Citations1

Performance Evaluation of Memory Caches in Multiprocessors

  • Aug 01, 1993
  • Yung-Chin Chen +1
  • Research Article
  • Citations2

A relationship between a family of waiting time distributions and the asymptotic residual waiting time distribution

  • Jan 01, 1985
  • Communications in Statistics - Simulation and Computation
  • Robert M Norton
  • Research Article
  • Citations8

Optimized reduction of uncertainty in bursty human dynamics

  • Jan 05, 2012
  • Physical Review E
  • Hang-Hyun Jo +2
  • Research Article
  • Citations3

Waiting times in classical priority queues via elementary lattice path counting

  • Aug 10, 2016
  • Queueing Systems
  • Lars A Van Vianen +2
  • Research Article
  • Citations54

Stationary waiting time distribution in queues with phase type service and in quasi-birth-and-death processes

  • Jan 01, 1985
  • Communications in Statistics. Stochastic Models
  • V Ramaswami +1
  • Research Article
  • Citations11

FAULT DIAGNOSIS OF MULTIPROCESSOR SYSTEMS BASED ON GENETIC AND ESTIMATION OF DISTRIBUTION ALGORITHMS: A PERFORMANCE EVALUATION

  • Feb 01, 2010
  • International Journal on Artificial Intelligence Tools
  • Elias P Duarte +2
  • Research Article
  • Citations45

Racial/ethnic disparities in emergency department wait times in the United States, 2013-2017.

  • Mar 26, 2021
  • The American Journal of Emergency Medicine
  • Frederick Q Lu +2
  • Conference Article

Work and Sojourn Time in an M/G/1 Retrial Queue with Breakdowns

  • Dec 01, 2014
  • A Aissani
  • Research Article

Hippopotamus algorithm for optimal sizing of hybrid renewable energy system

  • Mar 01, 2026
  • Results in Engineering
  • Nadia Mars +3
  • Research Article
  • Citations1

Directory-based cache coherence scheme using number-balanced binary tree

  • Jan 01, 1993
  • Microprocessing and Microprogramming
  • Dae-Wha Seo +1
  • Research Article
  • Citations3

Optical Interconnection For Multiprocessor Computer Bus Systems

  • Nov 01, 1989
  • Optical Engineering
  • O Stucky +3
  • Research Article
  • Citations1

Tackling efficiency in a high demand orthopaedic clinic.

  • Dec 17, 2023
  • ANZ Journal of Surgery
  • Mitchell Atkinson +4
  • Research Article
  • Citations1

Mean Waiting Time as a Measure of Effectiveness

  • Oct 01, 1968
  • The American Statistician
  • Lloyd Rosenberg
  • Research Article
  • Citations41

Design and optimization of a CMOS power amplifier using innovative fractional-order particle swarm optimization

  • Oct 11, 2019
  • Applied Soft Computing
  • S Ali Hosseini +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.