English

Parallel CPU- and GPU-based connected component algorithms for event building for hybrid pixel detectors

Distributed, Parallel, and Cluster Computing 2024-12-17 v1 Instrumentation and Detectors

Abstract

The latest generation of Timepix series hybrid pixel detectors enhance particle tracking with high spatial and temporal resolution. However, their high hit-rate capability poses challenges for data processing, particularly in multidetector configurations or systems like Timepix4. Storing and processing each hit offline is inefficient for such high data throughput. To efficiently group partly unsorted pixel hits into clusters for particle event characterization, we explore parallel approaches for online clustering to enable real-time data reduction. Although using multiple CPU cores improved throughput, scaling linearly with the number of cores, load-balancing issues between processing and I/O led to occasional data loss. We propose a parallel connected component labeling algorithm using a union-find structure with path compression optimized for zero-suppression data encoding. Our GPU implementation achieved a throughput of up to 300 million hits per second, providing a two-order-of-magnitude speedup over compared CPU-based methods while also freeing CPU resources for I/O handling and reducing the data loss.

Keywords

Cite

@article{arxiv.2412.11809,
  title  = {Parallel CPU- and GPU-based connected component algorithms for event building for hybrid pixel detectors},
  author = {Tomáš Čelko and František Mráz and Benedikt Bergmann and Petr Mánek},
  journal= {arXiv preprint arXiv:2412.11809},
  year   = {2024}
}

Comments

14 pages, 5 figures, results presented at 25th International Workshop on Radiation Imaging Detectors