HyperThreading (formally called
If you use this event set, the default is to make the measurements irrespective of CPU operating state (that is, user, system, or interrupt states). By default, the idle state is not included in the measurement. You can use
•Limit measurement to a specific privilege level:
•Include idle:
•Exclude the interruption state:
•Only measure the interruption state:
The metrics available from this event set are described in the following sections. These descriptions do not take into account any
Metrics Available for Intel Itanium 2 and dual core Itanium 2 processor systems
The metrics are:
•TS Per Sec
Number of thread switches each second.
•TS Per Kinst
Number of thread switches every 1000 instructions.
•L3miss
Percentage of all thread switches that were caused by a miss in the Level 3 cache. A large value indicates a “good” use of HyperThreading: while this process is waiting on memory, another process can execute.
•Timer
Percentage of all thread switches due to the “fair share” timer. A large value indicates a “poor” use of HyperThreading: both processes are competing for processor execution cycles.
•Hint
Percentage of all thread switches that were triggered by the “hint@pause” instruction. This is when the measured process voluntarily gives up the processor because it is about to wait for something (like a mutex). A
•Other
Percentage of all other reasons that thread switches occurred.
•
Percentage of thread switches that were triggered after the processor had stalled for 0 to 3 cycles. A large value indicates efficient HyperThreading.
•
Percentage of thread switches that were triggered after the processor had stalled for 4 to 15 cycles. A
•
Percentage of thread switches that were triggered after the processor had stalled for 16 to 63 cycles. A
264 Event Set Descriptions for CPU Metrics