|
PmWiki /
Functions ThrottlingThrottling is the mechanism which reduces the computational overhead associated with instrumenting a program and the size of the trace files. Many applications are constituted by functions which are called thousands of times without consuming a lot of time. However, Extrae does not provide an automatic procedure to exclude these functions thus we built our approach. All instructions are tested with Intel Fortran compiler and we are interested in MPI applications.
Rules for excluding a function:
You are going to see an output such as the following: Input function list: function_names.txt 2467 functions New function list: extrae_functions.txt 88 functions This means that the binary is constituted by 2467 functions and 88 of them are the most important. The file extrae_functions.txt contains the important functions list which should be instrument. Check the file extrae_functions.txt and if you find some functions that you know that are called by system and not for your application, you can remove them from the file
The output is:
The purpose of this mini tutorial is not to learn you how to use Extrae, however in order to declare this file to Extrae configuration, add the following to your XML file: <user-functions enabled="yes" list="/path/to/extrae_functions_for_xml.txt">
<counters enabled="yes" />
</user-functions>
Now you are ready to enjoy the instrumentation of the most important functions. For any questions/bugs email to georgios [period] markomanolis [snail] bsc [period] es This page may have a more recent version on pmwiki.org: PmWiki:FunctionsThrottling, and a talk page: PmWiki:FunctionsThrottling-Talk. |