Speeding up HEP experiment software with a library of fast and auto-vectorisable mathematical functions

Abstract : During the first years of data taking at the Large Hadron Collider (LHC), the simulation and reconstruction programs of the experiments proved to be extremely resource consuming. In particular, for complex event simulation and reconstruction applications, the impact of evaluating elementary functions on the runtime is sizeable (up to one fourth of the total), with an obvious effect on the power consumption of the hardware dedicated to their execution. This situation clearly needs improvement, especially considering the even more demanding data taking scenarios after the first LHC long shut down. A possible solution to this issue is the VDT (VectorisD maTh) mathematical library. VDT provides the most common mathematical functions used in HEP in an open source product. The function implementations are fast, can be inlined, provide an approximate accuracy and are usable in vectorised loops. Their implementation is portable across platforms: x86 and ARM processors, Xeon Phi coprocessors and GPGPUs. In this contribution, we describe the features of the VDT mathematical library, showing significant speedups with respect to the LibM library and comparable accuracies. Moreover, taking as examples simulation and reconstruction workflows in production by the LHC experiments, we show the benefits of the usage of VDT in terms of runtime reduction and stability of physics output.
Liste complète des métadonnées

Contributor : Florent de Dinechin <>
Submitted on : Thursday, February 12, 2015 - 5:44:45 PM
Last modification on : Monday, April 30, 2018 - 3:32:04 PM


  • HAL Id : hal-01116217, version 1


Danilo Piparo, Vincenzo Innocente, Thomas Hauth. Speeding up HEP experiment software with a library of fast and auto-vectorisable mathematical functions. Journal of Physics: Conference Series, IOP Publishing, 2014, 513 (5), pp.7. ⟨http://iopscience.iop.org/1742-6596/513/5/052027/⟩. ⟨hal-01116217⟩



Record views