User Tools

Site Tools


realtime:documentation:howto:debugging:cyclictest-smi-count

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
realtime:documentation:howto:debugging:cyclictest-smi-count [2018/07/11 08:55]
ebugden Rephrase sentence
realtime:documentation:howto:debugging:cyclictest-smi-count [2018/07/13 06:59]
ebugden Add link to cyclictest page
Line 1: Line 1:
 ====== Cyclictest - SMI count ====== ====== Cyclictest - SMI count ======
  
-Cyclictest v1.0 has an option (--smi) which enables counting the number of SMIs that occur on a system. The count comes from a model-specific register (MSR) which stores the number of SMIs that have happened on a CPU, so this Cyclictest option will only work if the CPU has that MSR. The required MSR is exclusively available on Intel x86 processors from after around 2008 (as of the Nehalem microarchitecture).+[[realtime:​documentation:​howto:​tools:​cyclictest|Cyclictest]] v1.0 has an option (--smi) which enables counting the number of SMIs that occur on a system. The count comes from a model-specific register (MSR) which stores the number of SMIs that have happened on a CPU, so this Cyclictest option will only work if the CPU has that MSR. The required MSR is exclusively available on Intel x86 processors from after around 2008 (as of the Nehalem microarchitecture).
  
-This tool does not calculate the amount of time spent in system management mode, but it does help to quickly confirm whether or not SMIs are taking place and are therefore possibly ​causing latencies.+This Cyclictest option is useful because ​it helps to quickly confirm whether or not SMIs are taking place. This is an important step in the debugging process, because if no SMIs are taking place then they cannot be causing latencies ​and other latency sources must be investigated.
  
 ===== Testing ===== ===== Testing =====
Line 13: Line 13:
 </​code>​ </​code>​
  
-<WRAP center round important 60%> +The combination of options in this example is not appropriate for every test situation. More details about how to choose the right options for measuring a specific latency on a given system can be found in the Cyclictest documentation [[realtime:​documentation:​howto:​tools:​cyclictest:​debugging|here]].
-The combination of options in this example is not necessarily ​appropriate for any given test situation. +
-</​WRAP>​ +
- +
-More details about how to choose the right options for measuring a specific latency on a given system can be found in the Cyclictest documentation [[realtime:​documentation:​howto:​tools:​cyclictest:​debugging|here]].+
  
 ===== Analysis ===== ===== Analysis =====