Cargando…

Demonstration of FPGA Acceleration of Monte Carlo Simulation

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 C...

Descripción completa

Detalles Bibliográficos
Autores principales: Barbone, M, Howard, A, Tapper, A, Chen, D, Novak, M, Luk, W
Lenguaje:eng
Publicado: 2023
Materias:
Acceso en línea:https://dx.doi.org/10.1088/1742-6596/2438/1/012023
http://cds.cern.ch/record/2871806
_version_ 1780978566151798784
author Barbone, M
Howard, A
Tapper, A
Chen, D
Novak, M
Luk, W
author_facet Barbone, M
Howard, A
Tapper, A
Chen, D
Novak, M
Luk, W
author_sort Barbone, M
collection CERN
description 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.
id cern-2871806
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2023
record_format invenio
spelling cern-28718062023-09-20T21:01:01Zdoi:10.1088/1742-6596/2438/1/012023http://cds.cern.ch/record/2871806engBarbone, MHoward, ATapper, AChen, DNovak, MLuk, WDemonstration of FPGA Acceleration of Monte Carlo SimulationParticle Physics - PhenomenologyParticle Physics - ExperimentComputing and ComputersWe 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.oai:cds.cern.ch:28718062023
spellingShingle Particle Physics - Phenomenology
Particle Physics - Experiment
Computing and Computers
Barbone, M
Howard, A
Tapper, A
Chen, D
Novak, M
Luk, W
Demonstration of FPGA Acceleration of Monte Carlo Simulation
title Demonstration of FPGA Acceleration of Monte Carlo Simulation
title_full Demonstration of FPGA Acceleration of Monte Carlo Simulation
title_fullStr Demonstration of FPGA Acceleration of Monte Carlo Simulation
title_full_unstemmed Demonstration of FPGA Acceleration of Monte Carlo Simulation
title_short Demonstration of FPGA Acceleration of Monte Carlo Simulation
title_sort demonstration of fpga acceleration of monte carlo simulation
topic Particle Physics - Phenomenology
Particle Physics - Experiment
Computing and Computers
url https://dx.doi.org/10.1088/1742-6596/2438/1/012023
http://cds.cern.ch/record/2871806
work_keys_str_mv AT barbonem demonstrationoffpgaaccelerationofmontecarlosimulation
AT howarda demonstrationoffpgaaccelerationofmontecarlosimulation
AT tappera demonstrationoffpgaaccelerationofmontecarlosimulation
AT chend demonstrationoffpgaaccelerationofmontecarlosimulation
AT novakm demonstrationoffpgaaccelerationofmontecarlosimulation
AT lukw demonstrationoffpgaaccelerationofmontecarlosimulation