# Parallel Adaptive Sampling with almost no Synchronization

**Authors:** Alexander van der Grinten, Eugenio Angriman, Henning Meyerhenke

arXiv: 1903.09422 · 2019-03-25

## TL;DR

This paper introduces a highly efficient parallel adaptive sampling method that minimizes synchronization, significantly improving performance in multi-core environments for network analysis tasks.

## Contribution

It presents a synchronization-free parallel sampling algorithm with variants reducing memory use and ensuring deterministic results, demonstrated on betweenness centrality approximation.

## Key findings

- 2.9x faster than straightforward OpenMP parallelization
- 65.3x faster than existing KADABRA implementation
- Effective on a 32-core machine

## Abstract

Approximation via sampling is a widespread technique whenever exact solutions are too expensive. In this paper, we present techniques for an efficient parallelization of adaptive (a. k. a. progressive) sampling algorithms on multi-threaded shared-memory machines. Our basic algorithmic technique requires no synchronization except for atomic load-acquire and store-release operations. It does, however, require O(n) memory per thread, where n is the size of the sampling state. We present variants of the algorithm that either reduce this memory consumption to O(1) or ensure that deterministic results are obtained. Using the KADABRA algorithm for betweenness centrality (a popular measure in network analysis) approximation as a case study, we demonstrate the empirical performance of our techniques. In particular, on a 32-core machine, our best algorithm is 2.9x faster than what we could achieve using a straightforward OpenMP-based parallelization and 65.3x faster than the existing implementation of KADABRA.

## Full text

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

## Figures

21 figures with captions in the complete paper: https://tomesphere.com/paper/1903.09422/full.md

## References

26 references — full list in the complete paper: https://tomesphere.com/paper/1903.09422/full.md

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