Ústav technické a experimentální fyziky Institute of Experimental and Applied Physics

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

NázevTitle
Parallel CPU- and GPU-based connected component algorithms for event building for hybrid pixel detectorsParallel CPU- and GPU-based connected component algorithms for event building for hybrid pixel detectors
Druh výsledkuResult type
Článek v časopiseJournal article
AutořiAuthors
T. Čelko, F. Mraz, B. Bergmann, P. Mánek
DOIDOI
10.1088/1748-0221/20/01/C01041
Časopis / citaceJournal / citation
Journal of Instrumentation. 2025, 20(1), ISSN 1748-0221.
RokYear
2025
JazykLanguage
eng
WoSWoS
001435537100001
ScopusScopus
2-s2.0-85217061254
RIVRIV
RIV/68407700:21670/25:00381994!RIV26-GA0-21670___
ProjektProject
Identifikace částic v experimentech fysiky vysokych energií a ve vesmíru s pokročilými detekčními systémyParticle identification in high-energy physics experiments and space with advanced detection systems

AbstraktAbstract

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.

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.