This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
realtime:documentation:howto:debugging:smi-latency:start [2018/07/12 13:50] ebugden Move excess SMI identification content to separate page |
realtime:documentation:howto:debugging:smi-latency:start [2025/04/13 15:39] (current) costa.shul rdmsr |
||
---|---|---|---|
Line 33: | Line 33: | ||
Below are some tools for confirming and characterizing SMIs presented in a suggested order of use. Counting SMIs with Cyclictest is a good place to start because it is a good idea to first confirm that SMIs are happening on a system before investigating the possibility that they are causing latencies. | Below are some tools for confirming and characterizing SMIs presented in a suggested order of use. Counting SMIs with Cyclictest is a good place to start because it is a good idea to first confirm that SMIs are happening on a system before investigating the possibility that they are causing latencies. | ||
- | * [[realtime:documentation:howto:debugging:cyclictest-smi-count|Cyclictest - SMI count]] (Intel x86 only) | + | * ''rdmsr -d 0x34'' |
- | * [[realtime:documentation:howto:debugging:cyclictest-smi-ftrace|Cyclictest - SMI detection with function tracing]] | + | * [[realtime:documentation:howto:tools:cyclictest:options:smi-count|Cyclictest - SMI count]] (Intel x86 only) |
+ | * [[realtime:documentation:howto:debugging:smi-latency:cyclictest-tracing|Cyclictest - SMI detection with function tracing]] | ||
* [[realtime:documentation:howto:tools:hwlat|Ftrace - hwlat tracer]] | * [[realtime:documentation:howto:tools:hwlat|Ftrace - hwlat tracer]] | ||
- | * [[realtime:documentation:howto:debugging:perf-smi-cost|Perf stat - Cost of SMI handling]] (Intel x86 only) | + | * [[realtime:documentation:howto:tools:perf-smi-cost|Perf stat - Cost of SMI handling]] (Intel x86 only) |
The concepts of SMI and SMM are specific to x86, but some of the techniques and tools mentioned above can be used to debug similar firmware or hardware issues on other architectures. | The concepts of SMI and SMM are specific to x86, but some of the techniques and tools mentioned above can be used to debug similar firmware or hardware issues on other architectures. | ||
Line 54: | Line 55: | ||
</WRAP> | </WRAP> | ||
+ | |||
+ | **Read also** | ||
+ | * [[realtime:documentation:howto:debugging:start|RT latency debugging]] | ||
+ |