User Tools

Site Tools


realtime:documentation:howto:tools:perf-smi-cost

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
realtime:documentation:howto:tools:perf-smi-cost [2018/07/13 10:50]
ebugden Move perf SMI cost tool description to tools
realtime:documentation:howto:tools:perf-smi-cost [2018/07/13 11:02]
ebugden Remove s in SMIs from link
Line 1: Line 1:
 ====== Perf stat - SMI cost ====== ====== Perf stat - SMI cost ======
  
-Perf's stat tool has an option that can measure the cost of SMIs (--smi-cost) if the necessary MSRs exist on the CPU. This option calculates the percentage of cycles spent handling SMIs. If the --no-metric-only option is also used, the tool can be used to determine the average number of cycles taken to handle an SMI during the measurement period. These Perf options are available as of the 4.13 linux kernel and will only work on Intel x86 processors from after around 2008 (as of the Nehalem microarchitecture).+Perf's stat tool has an option that can measure the cost of [[realtime:​documentation:​howto:​debugging:​smi-latency:​start|SMI]]s ​(--smi-cost) if the necessary MSRs exist on the CPU. This option calculates the percentage of cycles spent handling SMIs. If the --no-metric-only option is also used, the tool can be used to determine the average number of cycles taken to handle an SMI during the measurement period. These Perf options are available as of the 4.13 linux kernel and will only work on Intel x86 processors from after around 2008 (as of the Nehalem microarchitecture).
  
 ===== Installation ===== ===== Installation =====
Line 57: Line 57:
  
 <WRAP center round todo 60%> <WRAP center round todo 60%>
-Give an example of results and explain how to read them because the perf documentation is so confusing?+Give an example of results and explain how to read them because the perf documentation is confusing?
 </​WRAP>​ </​WRAP>​
  
realtime/documentation/howto/tools/perf-smi-cost.txt ยท Last modified: 2018/08/21 15:41 by ebugden