Skip to main content

Performance Tuning to Close Ninja Gap for Accelerator Physics Emulation System (APES) on Intel\(^{\textregistered }\) Xeon Phi\(^{\mathrm{TM}}\) Processors

  • Conference paper
  • First Online:
Evolving OpenMP for Evolving Architectures (IWOMP 2018)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 11128))

Included in the following conference series:

  • 716 Accesses

Abstract

Radio frequency field and particle interaction is of critical importance in modern synchrotrons. Accelerator Physics Emulation System (APES) is a C++ code written with the purpose of simulating the particle dynamics in ring-shaped accelerators. During the tracking process, the particles interact with each other indirectly through the EM field excited by the charged particles in the RF cavity. This a hot spot in the algorithm that takes up roughly 90% of the execution time. We show how a set of well-known code restructuring and algorithmic changes coupled with advancements in modern compiler technology can bring down the Ninja gap to provide more than 7x performance improvements. These changes typically require low programming effort, as compared to the very high effort in producing Ninja code.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Acknowledgements

This work is supported by Brookhaven Science Associates, LLC under contract No. DE-AC02-98CH10886 with the US DOE. Part of this work was performed at the 2018 Intel Knights Landing Hack-a-thon hosted by Brookhaven National Laboratory (BNL), which was partially supported by the HEP Center for Computational Excellence (KA24001022), the SOLLVE Exascale Computing Project (17-SC-20-SC), and the Office of Science of the U.S. Department of Energy under Contract No. DE-SC0012704. Authors would like to thank the Intel engineers who helped during the hack-a-thon. This work is partially supported by the ASCAR Office in the DOE, Office of Science, under contract number DE-AC02-05CH11231, and used the resources of National Energy Scientific Computing Center (NERSC).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Tianmu Xin .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Xin, T. et al. (2018). Performance Tuning to Close Ninja Gap for Accelerator Physics Emulation System (APES) on Intel\(^{\textregistered }\) Xeon Phi\(^{\mathrm{TM}}\) Processors. In: de Supinski, B., Valero-Lara, P., Martorell, X., Mateo Bellido, S., Labarta, J. (eds) Evolving OpenMP for Evolving Architectures. IWOMP 2018. Lecture Notes in Computer Science(), vol 11128. Springer, Cham. https://doi.org/10.1007/978-3-319-98521-3_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-98521-3_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-98520-6

  • Online ISBN: 978-3-319-98521-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics