CERN Accelerating science

Article
Title Demonstration of FPGA Acceleration of Monte Carlo Simulation
Author(s) Barbone, M (Imperial Coll., London) ; Howard, A (Imperial Coll., London) ; Tapper, A (Imperial Coll., London) ; Chen, D (Imperial Coll., London) ; Novak, M (CERN) ; Luk, W (Imperial Coll., London)
Publication 2023
Number of pages 6
In: J. Phys. : Conf. Ser. 2438 (2023) 012023
In: 20th International Workshop on Advanced Computing and Analysis Techniques in Physics Research (ACAT 2021), Daejeon, Korea, 29 Nov - 3 Dec 2021, pp.012023
DOI 10.1088/1742-6596/2438/1/012023
Subject category Particle Physics - Phenomenology ; Particle Physics - Experiment ; Computing and Computers
Abstract We present results from a stand-alone simulation of electron single Coulomb scattering as implemented completely on an Field Programmable Gate Array (FPGA) architecture and compared with an identical simulation on a standard CPU. FPGA architectures offer unprecedented speed-up capability for Monte Carlo simulations, however with the caveats of lengthy development cycles and resource limitation, particularly in terms of on-chip memory and DSP blocks. As a proof of principle of acceleration on an FPGA, we chose a single scattering process of electrons in water at an energy of 6 MeV. The initial code-base was implemented in C++ and optimised for CPU processing. To measure the potential performance gains of FPGAs compared to modern multi-core CPUs we computed 100M histories of a 6 MeV electron interacting in water. Without performing any hardware-specific optimisation, the results show that the FPGA implementation is over 110 times faster than an optimised parallel implementation running on 12 CPU-cores, and over 270 times faster than a sequential single-core CPU implementation. The results on both architectures were statistically equivalent. The successful implementation and acceleration results are very encouraging for the future exploitation of more sophisticated Monte Carlo simulation on FPGAs for High Energy Physics applications.
Copyright/License © 2023-2025 The author(s) (License: CC-BY-3.0)

Corresponding record in: Inspire


 Registre creat el 2023-09-20, darrera modificació el 2023-09-20


Text complet:
Descarregar el text complet
PDF