DocumentCode :
3369834
Title :
Accuracy of performance counter measurements
Author :
Zaparanuks, Dmitrijs ; Jovic, Milan ; Hauswirth, Matthias
Author_Institution :
Fac. of Inf., Univ. of Lugano, Lugano
fYear :
2009
fDate :
26-28 April 2009
Firstpage :
23
Lastpage :
32
Abstract :
Many experimental performance evaluations depend on accurate measurements of the cost of executing a piece of code. Often these measurements are conducted using infrastructures to access hardware performance counters. Most modern processors provide such counters to count micro-architectural events such as retired instructions or clock cycles. These counters can be difficult to configure, may not be programmable or readable from user-level code, and can not discriminate between events caused by different software threads. Various software infrastructures address this problem, providing access to per-thread counters from application code. This paper constitutes the first comparative study of the accuracy of three commonly used measurement infrastructures (perfctr, perfmon2, and PAPI) on three common processors (Pentium D, Core 2 Duo, and AMD ATHLON 64 X2).
Keywords :
microprocessor chips; performance evaluation; software architecture; AMD ATHLON 64 X2; Core 2 Duo; PAPI; Pentium D; clock cycles; hardware performance counters; micro-architectural events; perfctr; perfmon2; performance counter measurements; performance evaluations; retired instructions; software infrastructures; user-level code; Application software; Costs; Counting circuits; Hardware; Informatics; Kernel; Measurement errors; Microarchitecture; Watches; Yarn;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Performance Analysis of Systems and Software, 2009. ISPASS 2009. IEEE International Symposium on
Conference_Location :
Boston, MA
Print_ISBN :
978-1-4244-4184-6
Type :
conf
DOI :
10.1109/ISPASS.2009.4919635
Filename :
4919635
Link To Document :
بازگشت