19–24 May 2024
Music City Center
US/Central timezone

Improved symplectic particle tracking for modern vectorized architectures

WEPR51
22 May 2024, 16:00
2h
Rock 'n Roll (MCC Exhibit Hall A)

Rock 'n Roll

MCC Exhibit Hall A

Poster Presentation MC5.D11 Code Developments and Simulation Techniques Wednesday Poster Session

Speaker

Nikita Kuklev (Argonne National Laboratory)

Description

With modern accelerators encountering new physics regimes, ‘elegant’ code has added elaborate models of fringe fields, impedances, longitudinal gradient dipoles, and other elements to improve simulation accuracy. However, advanced models come with computational cost penalties. Fundamentally, elegant tracking is serial – it applies models to one particle at a time, preventing many compiler optimizations. This architecture is also inefficient on modern hardware because of two recent trends – a reduction in memory bandwidth per-core and strong push for vectorization (AVX-512, GPUs) to improve throughput. This paper describes our work on overhauling core symplectic tracking routines into a vectorized pipeline that works on ‘tiles’ of particles with size optimized based on cache size, element type, and other factors. We will show tests of HPC libraries like Kokkos, as well as hand-tuned AVX-512 intrinsics, and discuss profiling and testing techniques for finding bottlenecks. Overall, we archive a 2.5x speed-up in symplectic tracking, along with improved memory layout for future work, saving millions of core-hours on APS-U simulations.

Funding Agency

The work is supported by the U.S. Department of Energy, Office of Science, Office of Basic Energy Sciences, under Contract No. DE-AC02-06CH11357.

Region represented North America
Paper preparation format LaTeX

Primary author

Nikita Kuklev (Argonne National Laboratory)

Co-author

Michael Borland (Argonne National Laboratory)

Presentation materials

There are no materials yet.