Title :
Compiler Supported Sampling through Minimalistic Instrumentation
Author :
Iwainsky, Christian ; Lehr, Jan-Patrick ; Bischof, Christian
Author_Institution :
Inst. for Sci. Comput., Tech. Univ. Darmstadt, Darmstadt, Germany
Abstract :
Sampling is becoming increasingly important for performance analysis as an alternative to or enhancement of instrumentation based measurement methods, although instrumentation is still necessary to guarantee capture of specific events, such as communication calls. Typically, sampling is superior to instrumentation in terms of overhead as the sampling frequency can be controlled. However, sampling has overhead cost for determining the call context depends on the state of the call stack at sample time. We propose a hybrid approach, where sampling is supported by maintaining support information through instrumentation. The viability and potential performance benefits of this approach are explored using examples from the SPEC CPU benchmarks and a selected C++ application.
Keywords :
program compilers; sampling methods; C++ application; SPEC CPU benchmarks; call context; call stack; communication calls; compiler supported sampling; instrumentation based measurement methods; minimalistic instrumentation; overhead cost; performance analysis; sampling frequency; Benchmark testing; Context; Performance analysis; Probes; Radiation detectors; Runtime; Instrumentation; Performance Analysis; Sampling; Simplified Shadow Stack;
Conference_Titel :
Parallel Processing Workshops (ICCPW), 2014 43rd International Conference on
DOI :
10.1109/ICPPW.2014.33