[Paper Review] Advancing RT Core-Accelerated Fixed-Radius Nearest Neighbor Search
This paper enhances FRNN searches on RT cores with (i) real-time BVH update/rebuild ratio optimization, (ii) neighbor-list-free RT core variants, and (iii) ray-traced periodic boundary conditions, yielding substantial speedups and energy efficiency across distributions and radii.
In this work we introduce three ideas that can further improve particle FRNN physics simulations running on RT Cores; i) a real-time update/rebuild ratio optimizer for the bounding volume hierarchy (BVH) structure, ii) a new RT core use, with two variants, that eliminates the need of a neighbor list and iii) a technique that enables RT cores for FRNN with periodic boundary conditions (BC). Experimental evaluation using the Lennard-Jones FRNN interaction model as a case study shows that the proposed update/rebuild ratio optimizer is capable of adapting to the different dynamics that emerge during a simulation, leading to a RT core pipeline up to $\sim 3.4 imes$ faster than with other known approaches to manage the BVH. In terms of simulation step performance, the proposed variants can significantly improve the speedup and energy efficiency (EE) of the base RT core idea; from $\sim1.3 imes$ at small radius to $\sim2.0 imes$ for log normal radius distributions. Furthermore, the proposed variants manage to simulate cases that would otherwise not fit in memory because of the use of neighbor lists, such as clusters of particles with log normal radius distribution. The proposed RT Core technique to support periodic BC is indeed effective as it does not introduce any significant penalty in performance. In terms of scaling, the proposed methods scale both their performance and EE across GPU generations. Throughout the experimental evaluation, we also identify the simulation cases were regular GPU computation should still be preferred, contributing to the understanding of the strengths and limitations of RT cores.
Motivation & Objective
- Address performance and energy efficiency limitations in RT-core FRNN for dynamic particle simulations.
- Develop real-time BVH rebuild/update policies to adapt to changing dynamics.
- Remove the need for neighbor lists through RT-core–based FRNN variants that compute forces directly.
- Enable accurate periodic boundary conditions using ray tracing without extra kernels or duplicated geometry.
Proposed method
- Introduce gradient, an adaptive optimization for BVH rebuild/update ratio using a derived cost model and real-time measurements.
- Propose ORCS-persé and ORCS-forces variants that perform FRNN without neighbor lists, operating within the OptiX RT core pipeline.
- Develop ray-traced periodic boundary condition techniques that handle cross-boundary neighbors via gamma rays without extra geometry.
- Model LJ interactions with fixed radius and variable radius distributions to evaluate performance under diverse distributions.
- Compare against CPU/GPU cell-list baselines and RT-core references across wall and periodic BCs, using n up to 1M.
- Evaluate energy efficiency and scaling across GPU generations.
Experimental results
Research questions
- RQ1Can an adaptive BVH update/rebuild strategy (gradient) maximize RT-core FRNN performance across dynamic simulations?
- RQ2Is it feasible to perform FRNN entirely within RT cores without neighbor lists, for both uniform and variable radius distributions?
- RQ3How can periodic boundary conditions be efficiently supported in RT-core FRNN without additional kernels or replicated domains?
- RQ4What are the performance and energy efficiency trade-offs of the proposed RT-core variants across different particle/radius distributions and boundary conditions?
Key findings
- Gradient adapts to simulation dynamics, offering up to ~3.4x faster RT-core performance than fixed-update schemes in several distributions.
- ORCS-persé achieves near-RT-core–only simulation for constant radius, delivering substantial speedups, especially at small radii.
- ORCS-forces extends to variable radii and can outperform RT-core and CPU baselines in log-normal radius scenarios, with strong speedups for large n.
- RT-core variants provide significant speedups over RT-REF in many configurations, but memory limitations may make CPU/GPU cell-list approaches competitive in some large-radius cases.
- Ray-traced periodic boundary conditions effectively handle cross-boundary interactions without significant performance penalties.
- Performance and energy efficiency scale across GPU generations, highlighting RT-core approaches as viable for future hardware.
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.