Preprint

Accuracy of performance counter measurements

  • Zaparanuks, Dmitrijs Facoltà di scienze informatiche, Università della Svizzera italiana, Svizzera
  • Jovic, Milan Facoltà di scienze informatiche, Università della Svizzera italiana, Svizzera
  • Hauswirth, Matthias Facoltà di scienze informatiche, Università della Svizzera italiana, Svizzera
    2008

10 p.

French Many workload characterization studies 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 diffocult 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). We find significant differences in accuracy of various usage patterns for the different infrastructures and processors. Based on these results we provide guidelines for finding the best measurement approach.
Language
  • English
Classification
Computer science
License
License undefined
Identifiers
  • RERO DOC 10703
Persistent URL
https://susi.usi.ch/usi/documents/318206
Statistics

Document views: 18 File downloads:
  • ITR0805.pdf: 5