会议论文详细信息
17th International Workshop on Advanced Computing and Analysis Techniques in Physics Research
The CptnHook Profiler - A tool to investigate usage patterns of mathematical functions.
物理学;计算机科学
Piparo, D.^1 ; Innocente, V.^1
CERN, Geneva 23
CH-1211, Switzerland^1
关键词: Input values;    LHC experiments;    Mathematical functions;    Mathematical library;    Production workflows;    Recompilation;    Scientific applications;    Usage patterns;   
Others  :  https://iopscience.iop.org/article/10.1088/1742-6596/762/1/012038/pdf
DOI  :  10.1088/1742-6596/762/1/012038
学科分类:计算机科学(综合)
来源: IOP
PDF
【 摘 要 】
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.
【 预 览 】
附件列表
Files Size Format View
The CptnHook Profiler - A tool to investigate usage patterns of mathematical functions. 1507KB PDF download
  文献评价指标  
  下载次数:5次 浏览次数:34次