Skip to main navigation Skip to search Skip to main content

Barrier synchronisation for occam-pi

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

This paper introduces a safe language binding for CSP multiway events (barriers) that has been built into occam-π (an extension of the classical occam language with dynamic parallelism, mobile processes and mobile channels). Barriers provide a simple way for synchronising multiple processes and are the fundamental control mechanism underlying both CSP (Communicating Sequential Processes) and BSP (Bulk Synchronous Parallelism). The occam-π barriers are more general than those of BSP (an occam-π system can contain any number of barriers, with some processes ignoring them and some registered with many). On the other hand, they are also, currently, less general than those of CSP (occam-π processes must commit to barrier synchronisation - it cannot be used as part of a choice or ALT). Structured support for resignation, a higher-level CSP design pattern, is also built into occam-π barriers. Applications are outlined for fine-grained modelling of dynamic systems, where the barriers are used for maintaining simulation time and synchronising safe access to shared data between millions of processes. Implementation details and early performance benchmarks (16 nanoseconds per process per barrier synchronisation on a 3.2 GHz. Pentium IV) are also presented, along with some likely directions for future research.

Original languageEnglish
Title of host publicationProceedings of the 2005 International Conference on Parallel and Distributed Processing Techniques and Applications, PDPTA'05
Pages173-179
Number of pages7
Volume1
Publication statusPublished - 2005
Event2005 International Conference on Parallel and Distributed Processing Techniques and Applications - Las Vegas, United States
Duration: 27 Jun 200530 Jun 2005

Conference

Conference2005 International Conference on Parallel and Distributed Processing Techniques and Applications
Abbreviated titlePDPTA'05
Country/TerritoryUnited States
CityLas Vegas
Period27/06/0530/06/05

Keywords

  • Barriers
  • Concurrency
  • CSP
  • Dynamics
  • Fine-grained
  • Occam-pi
  • Simulation
  • Synchronisation
  • Time

ASJC Scopus subject areas

  • Computer Science Applications
  • Information Systems

Fingerprint

Dive into the research topics of 'Barrier synchronisation for occam-pi'. Together they form a unique fingerprint.

Cite this