PerPI: A Tool to Measure Instruction Level Parallelism
We introduce and describe PerPI, a software tool analyzing the instruction level parallelism (ILP) of a program. ILP measures the best potential of a program to run in parallel on an ideal machine – a machine with infinite resources. PerPI is a programmer-oriented tool the function of which is to improve the understanding of how the algorithm and the (micro-) architecture will interact. PerPI fills the gap between the manual analysis of an abstract algorithm and implementation-dependent profiling tools. The current version provides reproducible measures of the average number of instructions per cycle executed on an ideal machine, histograms of these instructions and associated data-flow graphs for any x86 binary file. We illustrate how these measures explain the actual performance of core numerical subroutines when measured run times cannot be correlated with the classical flop count analysis.
KeywordsRun time performance instruction level parallelism ideal processor BLAS polynomial evaluation mixed precision
Unable to display preview. Download preview PDF.
- 1.Hennessy, J.L., Patterson, D.A.: Computer Architecture – A Quantitative Approach, 4th edn. Morgan Kaufmann (2007)Google Scholar
- 2.Higham, N.J.: Accuracy and Stability of Numerical Algorithms. SIAM (2002)Google Scholar
- 3.Langlois, P., Louvet, N.: More Instruction Level Parallelism Explains the Actual Efficiency of Compensated Algorithms. Technical Report, DALI Research Team (2007), http://hal.archives-ouvertes.fr/hal-00165020
- 4.Luk, C., Cohn, R., Muth, R., Patil, H., Klauser, A., Lowney, G., Wallace, S., Reddi, V., Hazelwood, K.: Pin: Building Customized Program Analysis Tools with Dynamic Instrumentation. In: PLDI 2005: Proceedings of the 2005 ACM SIGPLAN Conference on Programming Language Design and Implementation, pp. 190–200 (2005)Google Scholar
- 10.Touati, S.: Towards a Statistical Methodology to Evaluate Program Speedups and their Optimisation Techniques. Technical Report, PRISM, UVSQ (2009), http://hal.archives-ouvertes.fr/hal-00356529/en/
- 11.Weaver, V., Dongarra, J.: Can Hardware Performance Counters Produce Expected, Deterministic Results? In: 3rd Workshop on Functionality of Hardware Performance Monitoring, Atlanta, GA (December 4, 2010)Google Scholar