Interrupt storm
In operating systems, an interrupt storm is an event during which a processor receives an inordinate number of interrupts that consume the majority of the processor's time.[src] Interrupt storms are typically caused by hardware devices that do not support interrupt rate limiting.[src]
In operating systems, an interrupt storm is an event during which a processor receives an inordinate number of interrupts that consume the majority of the processor's time.[src] Interrupt storms are typically caused by hardware devices that do not support interrupt rate limiting.[src] ==Background== Because interrupt processing is typically a non-preemptible task in time-sharing operating systems, an interrupt storm will cause sluggish response to user input, or even appear to freeze the system completely.[src] This state is commonly known as live lock.[src] In such a state, the system is spending most of its resources processing interrupts instead of completing other work.[src] To the end-user, it does not appear to be processing anything at all as there is often no output.[src] An interrupt storm is sometimes mistaken for thrashing, since they both have similar symptoms (unresponsive or sluggish response to user input, little or no output).[src] Common causes include: misconfigured or faulty hardware, faulty device drivers, flaws in the operating system, or metastability in one or more components.[src] The latter condition rarely occurs outside of prototype or amateur-built hardware.[src] Most modern hardware and operating systems have methods for mitigating the effect of an interrupt storm.[src] For example, most Ethernet controllers implement interrupt "rate limiting", which causes the controller to wait a programmable amount of time between each interrupt it generates.[src] When not present within the device, similar functionality is usually written into the device driver, and/or the operating system itself.[src] The most common cause is when a device "behind" another signals an interrupt to an APIC (Advanced Programmable Interrupt Controller).[src] Most computer peripherals generate interrupts through an APIC as the number of interrupts is most always less (typically 15 for the modern PC) than the number of devices.[src] The OS must then query each driver registered to that interrupt to ask if the interrupt originated from its hardware.[src] Faulty drivers may always claim "yes", causing the OS to not query other drivers registered to that interrupt (only one interrupt can be processed at a time).[src] The device which originally requested the interrupt therefore does not get its interrupt serviced, so a new interrupt is generated (or is not cleared) and the processor becomes swamped with continuous interrupt signals.[src] Any operating system can live lock under an interrupt storm caused by such a fault.[src] A kernel debugger can usually break the storm by unloading the faulty driver, allowing the driver "underneath" the faulty one to clear the interrupt, if user input is still possible.[src] This occurred in an older version of FreeBSD, where PCI cards that were configured to operate in ISA compatibility mode could not properly interact with the ISA interrupt routing.[src] This would either cause interrupts to never be detected by the operating system, or the operating system would never be able to clear them, resulting in an interrupt storm.[src] As drivers are most often implemented by a 3rd party, most operating systems also have a polling mode that queries for pending interrupts at fixed intervals or in a round-robin fashion.[src] This mode can be set globally, on a per-driver, per-interrupt basis, or dynamically if the OS detects a fault condition or excessive interrupt generation.[src] A polling mode may be enabled dynamically when the number of interrupts or the resource use caused by an interrupt, passes certain thresholds.[src] When these thresholds are no longer exceeded, an OS may then change the interrupting driver, interrupt, or interrupt handling globally, from an interrupt mode to a polling mode.[src] Interrupt rate limiting in hardware usually negates the use of a polling mode, but can still happen during normal operation during intense I/O if the processor is unable switch contexts quickly enough to keep pace.[src]
28 sentences · 28 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Interrupt storm." encyclopegia.org, 2025, https://encyclopegia.org/wiki/interrupt-storm. Accessed 26 November 2026.
Chicago
"Interrupt storm." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/interrupt-storm.
APA
encyclopegia.org. (2025). Interrupt storm. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/interrupt-storm
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON