Multiword atomic read/write registers on multiprocessor systems

  • Authors:
  • Andreas Larsson;Anders Gidenstam;Phuong H. Ha;Marina Papatriantafilou;Philippas Tsigas

  • Affiliations:
  • Chalmers University of Technology, Göteborg, Sweden;Max Planck Institute for Computer Science;University of Tromsø;Chalmers University of Technology, Göteborg, Sweden;Chalmers University of Technology, Göteborg, Sweden

  • Venue:
  • Journal of Experimental Algorithmics (JEA)
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Modern multiprocessor systems offer advanced synchronization primitives, built in hardware, to support the development of efficient parallel algorithms. In this article, we develop a simple and efficient algorithm, the READERSFIELD algorithm, for atomic registers (variables) of arbitrary length. The simplicity and better complexity of the algorithm is achieved via the utilization of two such common synchronization primitives. In this article, we also experimentally evaluate the performance of our algorithm, together with lock-based approaches and a practical, previously previously known algorithm that is based that is based only on read and write primitives. The experimental evaluation is performed on three well-known parallel architectures. This evaluation clearly shows that both algorithms are practical and that as the size of the register increases the READERSFIELD algorithm performs better, following its analytical evaluation.