18-22 January 2016
UTFSM, Valparaíso (Chile)
Chile/Continental timezone
<div class="simpleTextAnnouncement"><div class="mottoContainer"><div><span></span></div></div><div class="logosContainer"> <div class="logos"> <div> <img src="https://indico.cern.ch/event/397113/images/7073-header.png" alt="logos" /> </div> </div> </div></div>

CptnHook: a lightweight tool to investigate the usage pattern of transcendental mathematical functions

Not scheduled
15m
UTFSM, Valparaíso (Chile)

UTFSM, Valparaíso (Chile)

Avenida España 1680, Valparaíso Chile
Poster Data Analysis - Algorithms and Tools

Speaker

Vincenzo Innocente (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.

Primary authors

Danilo Piparo (CERN) Vincenzo Innocente (CERN)

Presentation Materials

There are no materials yet.

Paper

Your browser is out of date!

Update your browser to view this website correctly. Update my browser now

×