Cargando…

The CptnHook Profiler - A tool to investigate usage patterns of mathematical functions.

Transcendental mathematical functions are one of the main hot-spots of scientific applications. The usage of highly optimised, general purpose mathematical libraries can mitigate this issue. On the other hand, a more comprehensive solution is represented by the replacement of the generic mathematica...

Descripción completa

Detalles Bibliográficos
Autores principales: Piparo, D, Innocente, V
Lenguaje:eng
Publicado: 2016
Materias:
Acceso en línea:https://dx.doi.org/10.1088/1742-6596/762/1/012038
http://cds.cern.ch/record/2265884
_version_ 1780954510280097792
author Piparo, D
Innocente, V
author_facet Piparo, D
Innocente, V
author_sort Piparo, D
collection CERN
description Transcendental mathematical functions are one of the main hot-spots of scientific applications. The usage of highly optimised, general purpose mathematical libraries can mitigate this issue. On the other hand, a more comprehensive solution is represented by the replacement of the generic mathematical functions by specific implementations targeting particular subdomains only. CptnHook is a tool that helps achieving this goal allowing to monitor the input values of mathematical functions used in a given application, categorised according to the stacktraces leading to their invocations. In this contribution we describe the design of CptnHook, the data format of its profile and how it is possible to perform measurements without instrumenting the users code and imposing the need of recompilation. We demonstrate that this approach scales on production workflows of LHC experiments and characterise a set of real life measurements, showing where opportunities for improvement lie and how the tool can be used for advanced debugging. We also illustrate how elegant summaries of the measurements can be produced and how ROOT based analysis of the profiles can be performed.
id oai-inspirehep.net-1499982
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2016
record_format invenio
spelling oai-inspirehep.net-14999822019-10-15T15:17:33Zdoi:10.1088/1742-6596/762/1/012038http://cds.cern.ch/record/2265884engPiparo, DInnocente, VThe CptnHook Profiler - A tool to investigate usage patterns of mathematical functions.Computing and ComputersTranscendental mathematical functions are one of the main hot-spots of scientific applications. The usage of highly optimised, general purpose mathematical libraries can mitigate this issue. On the other hand, a more comprehensive solution is represented by the replacement of the generic mathematical functions by specific implementations targeting particular subdomains only. CptnHook is a tool that helps achieving this goal allowing to monitor the input values of mathematical functions used in a given application, categorised according to the stacktraces leading to their invocations. In this contribution we describe the design of CptnHook, the data format of its profile and how it is possible to perform measurements without instrumenting the users code and imposing the need of recompilation. We demonstrate that this approach scales on production workflows of LHC experiments and characterise a set of real life measurements, showing where opportunities for improvement lie and how the tool can be used for advanced debugging. We also illustrate how elegant summaries of the measurements can be produced and how ROOT based analysis of the profiles can be performed.oai:inspirehep.net:14999822016
spellingShingle Computing and Computers
Piparo, D
Innocente, V
The CptnHook Profiler - A tool to investigate usage patterns of mathematical functions.
title The CptnHook Profiler - A tool to investigate usage patterns of mathematical functions.
title_full The CptnHook Profiler - A tool to investigate usage patterns of mathematical functions.
title_fullStr The CptnHook Profiler - A tool to investigate usage patterns of mathematical functions.
title_full_unstemmed The CptnHook Profiler - A tool to investigate usage patterns of mathematical functions.
title_short The CptnHook Profiler - A tool to investigate usage patterns of mathematical functions.
title_sort cptnhook profiler - a tool to investigate usage patterns of mathematical functions.
topic Computing and Computers
url https://dx.doi.org/10.1088/1742-6596/762/1/012038
http://cds.cern.ch/record/2265884
work_keys_str_mv AT piparod thecptnhookprofileratooltoinvestigateusagepatternsofmathematicalfunctions
AT innocentev thecptnhookprofileratooltoinvestigateusagepatternsofmathematicalfunctions
AT piparod cptnhookprofileratooltoinvestigateusagepatternsofmathematicalfunctions
AT innocentev cptnhookprofileratooltoinvestigateusagepatternsofmathematicalfunctions