IPIs, SMIs and CPU stalls
Note: in LatencyMon v6 the functionality to measure IPIs, SMIs and CPU stalls has been moved to the In Depth Latency Tests utility.
LatencyMon is equipped to measure SMIs and mysterious CPU stalls. Certain latency problems exist which cannot
be attributed to the operating system (including the drivers and the software that it runs) or to any of
the hardware that is not directly connected to the system. From the perspective of the operating system it may seem as if a CPU temporarily stalls
in a mysterious way. LatencyMon opportunistically measures such stalls
and reports them as "Highest measured SMIs or CPU stall". Latencies reported as SMIs or CPU stalls can be caused
by any of the following:
If your system experiences latency problems because of these you may be able to solve the issue by disabling certain power management features of the CPU. Check out the documentation on CPU Power Management issues.
These stalls are opportunistically polled now and then. The highest measured values reported by the software are not to be considered absolute maximums.
About System Management Interrupts
SMM is a special-purpose operating mode of the processor provided for handling system-wide functions
like power management, system hardware control, or proprietary OEM designed
code. It is intended for use only by the BIOS or firmware interface, not by applications or the operating system.
SMIs are interrupt routines that the CPU excecutes in SMM beyond the control of the operating system. SMIs take precedence over any other maskable or non-maskable interrupt.
For more information refer to the following Wikipedia article: System Management Mode or check the Intel Architectures System Programming Guide.
About CPU bugs
Unexplainable CPU stalls may be caused by bugs in the design of the CPU. A lot of CPU bugs in modern CPUs are related to CPU C-states and P-states and
can freeze a processor indefinitely until certain conditions are met. Check out the errata (spec update) regarding your CPU on the manufacturers website of your
processor for more information.
LatencyMon documentation and articles
Note: this content is currently being updated.
Page generated on 4/4/2020 5:49:35 PM. Last updated on 12/12/2019 7:23:09 PM.