# The Combinatorics of Barrier Synchronization

**Authors:** Olivier Bodini, Matthieu Dien, Antoine Genitrini, Fr\'ed\'eric, Peschanski

arXiv: 1907.04243 · 2019-07-10

## TL;DR

This paper explores the combinatorial aspects of barrier synchronization, providing formulas and algorithms for counting and randomly generating process executions without explicit state-space construction.

## Contribution

It introduces a systematic combinatorial approach and efficient algorithms for counting and sampling process executions in barrier synchronization.

## Key findings

- Developed a symbolic integral formula for counting executions
- Created a generic algorithm for uniform random sampling
- Proposed efficient algorithms for specific process subclasses

## Abstract

In this paper we study the notion of synchronization from the point of view of combinatorics. As a first step, we address the quantitative problem of counting the number of executions of simple processes interacting with synchronization barriers. We elaborate a systematic decomposition of processes that produces a symbolic integral formula to solve the problem. Based on this procedure, we develop a generic algorithm to generate process executions uniformly at random. For some interesting sub-classes of processes we propose very efficient counting and random sampling algorithms. All these algorithms have one important characteristic in common: they work on the control graph of processes and thus do not require the explicit construction of the state-space.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1907.04243/full.md

## Figures

15 figures with captions in the complete paper: https://tomesphere.com/paper/1907.04243/full.md

## References

19 references — full list in the complete paper: https://tomesphere.com/paper/1907.04243/full.md

---
Source: https://tomesphere.com/paper/1907.04243