skip to main content
10.1145/3229631.3229640acmotherconferencesArticle/Chapter ViewAbstractPublication PagessamosConference Proceedingsconference-collections
research-article

BLonD++: performance analysis and optimizations for enabling complex, accurate and fast beam dynamics studies

Published: 15 July 2018 Publication History

Abstract

This paper focuses on the performance analysis and optimization for enabling efficient implementations of next generation beam dynamics simulations. Nowadays large worldwide research centers, e.g. CERN, Fermilab etc. are continuously investing in resources and infrastructures for progressing knowledge in the fields of particle physics, thus requiring careful studies and planing for the upcoming upgrades of the synchrotrons and the design of future machines. Consequently, there is an emerging need for simulations that incorporate a collection of complex physics phenomena, produce extremely accurate predictions while keeping the computing resources and run-time to a minimum. A variety of simulator suites have been developed, however, they have been reported to lack in simulation speed, features and ease-of-use. In this paper we introduce the Beam Longitudinal Dynamics (BLonD) simulator suite from a computer engineering perspective. We analyze its performance to understand its current bottlenecks and enhance it further in an attempt to make complex, accurate and fast beam dynamics simulations possible. We show that through careful and targeted analysis and code tuning, the proposed BLonD++ implementation delivers significant gains in terms of performance, i.e. up-to 23X single-core speedup and scalability, thus enabling the deployment of even more complex simulations than the current state-of-art.

References

[1]
2014. CERN Beam Longitudinal Dynamics code BLonD. (2014). https://blond.web.cern.ch/
[2]
2014. The Future Circular Collider study. CERN Courier 54, 3 (Apr 2014), 16--18. http://cds.cern.ch/record/2064538
[3]
2017. Intel® VTune™ Amplifier 2017. (2017). https://software.intel.com/en-us/intel-vtune-amplifier-xe
[4]
2018. Intel® Math Kernel Library. (2018). https://software.intel.com/en-us/mkl
[5]
2018. ITT API Open Source. (2018). https://software.intel.com/en-us/articles/intel-itt-api-open-source
[6]
Michael Borland. 2000. Elegant: A flexible SDDS-compliant code for accelerator simulation. Technical Report. Argonne National Lab., IL (US).
[7]
Leonardo Dagum and Ramesh Menon. 1998. OpenMP: an industry standard API for shared-memory programming. IEEE computational science and engineering 5, 1 (1998), 46--55.
[8]
H Damerau, A Funken, R Garoby, S Gilardoni, B Goddard, K Hanke, A Lombardi, D Manglunki, M Meddahi, B Mikulec, G Rumolo, E Shaposhnikova, M Vretenar, and J Coupard. 2014. LHC Injectors Upgrade, Technical Design Report, Vol. I: Protons. Technical Report CERN-ACC-2014-0337. http://cds.cern.ch/record/1976692
[9]
Vincenzo Forte, Danilo Quartullo, Alessandra Lombardi, and Elena Benedetto. 2015. Longitudinal injection schemes for the CERN PS Booster at 160 MeV including space charge effects. In Proceedings of the 6th International Particle Accelerator Conference (IPAC) in Richmond, VA, USA.
[10]
Matteo Frigo and Steven G Johnson. 1998. FFTW: An adaptive software architecture for the FFT. In Acoustics, Speech and Signal Processing, 1998. Proceedings of the 1998 IEEE International Conference on, Vol. 3. IEEE, 1381--1384.
[11]
Apollinari G., Bejar Alonso I., Bruning O., Fessia P., Lamont M., Rossi L., and Tavian L. 2017. High-Luminosity Large Hadron Collider (HL-LHC): Technical Design Report V. 0.1. CERN, Geneva. http://cds.cern.ch/record/2284929
[12]
Per Hammarlund, Alberto J Martinez, Atiq A Bajwa, David L Hill, Erik Hallnor, Hong Jiang, Martin Dixon, Michael Derr, Mikal Hunsaker, Rajesh Kumar, et al. 2014. Haswell: The fourth-generation intel core processor. IEEE Micro 34, 2 (2014), 6--20.
[13]
Eric Jones, Travis Oliphant, Pearu Peterson, et al. 2001--. SciPy: Open source scientific tools for Python. (2001--). http://www.scipy.org/ {Online; accessed 2018-28-05}.
[14]
Nicolai M Josuttis. 2012. The C++ standard library: a tutorial and reference. Addison-Wesley.
[15]
JR King, IV Pogorelov, KM Amyx, M Borland, and R Soliday. 2017. GPU acceleration and performance of the particle-beam-dynamics code Elegant. arXiv preprint arXiv:1710.07350 (2017).
[16]
JA MacLachlan. 1992. Particle tracking in E {minus} {phi} space for synchrotron design and diagnosis. Technical Report. Fermi National Accelerator Lab., Batavia, IL (United States).
[17]
Danilo Piparo, Vincenzo Innocente, and Thomas Hauth. 2014. Speeding up hep experiment software with a library of fast and auto-vectorisable mathematical functions. In Journal of Physics: Conference Series.
[18]
Boris Schäling. 2011. The boost C++ libraries. Boris Schäling.
[19]
Elena Shaposhnikova, Joël Repond, Helga Timko, Theodoros Argyropoulos, Thomas Bohl, and Alexandre Lasheen. 2016. Identification and Reduction of the CERN SPS Impedance. In Proceedings of the 57th ICFA Advanced Beam Dynamics Workshop on High-Intensity, High Brightness and High Power Hadron Beams, HB2016.
[20]
Andrei Shishlo, Sarah Cousineau, Jeffrey Holmes, and Timofey Gorlov. 2015. The particle accelerator simulation code PyORBIT. Procedia Computer Science 51 (2015), 1272--1281.
[21]
H. Timko, S. Albright, T. Argyropoulos, K. Iliakis, I. Karpov, A. Lasheen, D. Quartullo, J. Repond, M. Schwarz, and J. Esteban Müller. 2018. Beam Longitudinal Dynamics Simulation Suite BLonD. Physical Review Accelerators and Beams (to be published) (2018).
[22]
Helga Timko, Danilo Quartullo, Alexandre Lasheen, and Juan Esteban Müller. {n. d.}. Benchmarking the beam longitudinal dynamics code BLonD. In Proceedings of the 7th International Particle Accelerator Conference (IPAC 2016): Busan, Korea.
[23]
Stéfan van der Walt, S Chris Colbert, and Gael Varoquaux. 2011. The NumPy array: a structure for efficient numerical computation. Computing in Science & Engineering 13, 2 (2011), 22--30.
[24]
Yusong Wang and Michael Borland. 2006. PELEGANT: A parallel accelerator simulation code for electron generation and tracking. In AIP Conference Proceedings, Vol. 877. AIP, 241--247.
[25]
Ahmad Yasin. 2014. A top-down method for performance analysis and counters architecture. In Performance Analysis of Systems and Software (ISPASS), 2014 IEEE International Symposium on. IEEE, 35--44.

Cited By

View all
  • (2022)Enabling Large Scale Simulations for Particle AcceleratorsIEEE Transactions on Parallel and Distributed Systems10.1109/TPDS.2022.319270733:12(4425-4439)Online publication date: 1-Dec-2022
  • (2020)Scale-out beam longitudinal dynamics simulationsProceedings of the 17th ACM International Conference on Computing Frontiers10.1145/3387902.3392616(29-38)Online publication date: 11-May-2020

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
SAMOS '18: Proceedings of the 18th International Conference on Embedded Computer Systems: Architectures, Modeling, and Simulation
July 2018
263 pages
ISBN:9781450364942
DOI:10.1145/3229631
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 15 July 2018

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. beam dynamics
  2. multi-core processors
  3. scientific simulators

Qualifiers

  • Research-article

Conference

SAMOS XVIII
SAMOS XVIII: Architectures, Modeling, and Simulation
July 15 - 19, 2018
Pythagorion, Greece

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 14 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2022)Enabling Large Scale Simulations for Particle AcceleratorsIEEE Transactions on Parallel and Distributed Systems10.1109/TPDS.2022.319270733:12(4425-4439)Online publication date: 1-Dec-2022
  • (2020)Scale-out beam longitudinal dynamics simulationsProceedings of the 17th ACM International Conference on Computing Frontiers10.1145/3387902.3392616(29-38)Online publication date: 11-May-2020

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media