[Paper Review] LHCb's Forward Tracking algorithm for the Run 3 CPU-based online track-reconstruction sequence
This paper presents the Forward Tracking algorithm, a key component of LHCb's Run 3 CPU-based high-level trigger (HLT2) for real-time, full event reconstruction. It uses SIMD vectorization via AVX2 instructions to accelerate track reconstruction in the SciFi tracker, achieving a 60% throughput improvement without sacrificing reconstruction efficiency or increasing fake track rates, enabling over 500 events per second per computing node.
In Run 3 of the LHC the LHCb experiment faces very high data rates containing beauty and charm hadron decays. Thus the task of the trigger is not to select any beauty and charm events, but to select those containing decays interesting for the LHCb physics programme. LHCb has therefore implemented a real-time data processing strategy to trigger directly on reconstructed events. The first stage of the purely software-based trigger is implemented on GPUs performing a partial event reconstruction. In the second stage of the software trigger, the full, offline-quality event reconstruction is performed on CPUs, with a crucial part being track reconstruction, balancing track finding efficiency, fake track rate and event throughput. LHCb's CPU-based track reconstruction sequence for Run 3 is presented, highlighting the "Forward Tracking", which is the algorithm that reconstructs trajectories of charged particles traversing all of LHCb's tracking detectors. To meet event throughput requirements, the "Forward Tracking" uses SIMD instructions in several core parts of the algorithm, such as the Hough transform and the cluster search. These changes led to an improvement of the algorithm's event throughput by 60%.
Motivation & Objective
- To address the high data rates in LHCb Run 3, which exceed the capacity of traditional hardware triggers due to millions of beauty and charm hadron decays per second.
- To enable real-time, full offline-quality event reconstruction in the HLT2 stage using only CPUs, requiring high event throughput and low latency.
- To reduce redundancy in Long track reconstruction by ensuring Forward Tracking only processes residual VELO tracks not matched by the Matching algorithm.
- To optimize the Forward Tracking algorithm for CPU throughput using data-level parallelism via SIMD instructions without degrading reconstruction quality.
- To achieve an event throughput of over 500 events per second per computing node in the HLT2 reconstruction sequence.
Proposed method
- The Forward Tracking algorithm reconstructs charged particle trajectories by identifying line patterns in SciFi detector hits using a Hough transform-like method.
- It processes multiple hits and histogram bins in parallel using 256-bit AVX2 SIMD registers, enabling single-instruction-multiple-data operations on eight 32-bit floating-point or integer values simultaneously.
- Data structures are organized in a structure-of-arrays layout to maximize memory bandwidth and enable efficient loading into SIMD registers.
- The algorithm focuses on the computationally intensive map-reduce phase, including mapping hits to a reference plane and threshold scanning, for which SIMD optimization yields the largest performance gains.
- Residual VELO tracks (not matched by the Matching algorithm) are used as seeds for the Forward Tracking to extend them into Long tracks using only SciFi hits.
- The full HLT2 reconstruction pipeline includes track fitting with a Kalman filter and particle identification, with Forward Tracking contributing to the overall throughput target.
Experimental results
Research questions
- RQ1How can the Forward Tracking algorithm achieve high event throughput in LHCb's Run 3 HLT2 reconstruction while maintaining high reconstruction efficiency and low fake track rates?
- RQ2What role does SIMD parallelism play in accelerating the most computationally intensive parts of the track reconstruction pipeline?
- RQ3How does the algorithm’s performance scale when processing residual VELO tracks after matching with T tracks?
- RQ4What is the impact of data layout (structure-of-arrays) on the efficiency of SIMD vectorization in track reconstruction?
- RQ5To what extent can AVX2 vectorization improve throughput without compromising reconstruction quality in a real-time, CPU-based trigger system?
Key findings
- The Forward Tracking algorithm achieves a 60% improvement in event throughput by leveraging AVX2 SIMD instructions, with no loss in reconstruction efficiency or increase in fake track fraction.
- The algorithm maintains a Long track reconstruction efficiency of approximately 90% for particles from B meson decays, rising above 95% for momenta above 10 GeV/c.
- The integrated fake track fraction from the Forward Tracking alone is 15%, which is later reduced by subsequent Kalman filtering and a dedicated fake track classifier.
- The HLT2 reconstruction sequence, including Forward Tracking, Kalman filtering, and particle identification, achieves an event throughput of over 500 events per second per computing node.
- The performance gain is primarily realized in the map-reduce phase of the algorithm, where multiple hits and histogram bins are processed in parallel using 256-bit SIMD registers.
- The structure-of-arrays data layout enables efficient loading and storing of data to SIMD registers, which is critical for achieving high throughput with vectorized operations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.