HomeFreeBSD

Detect interrupt storms better. The storm detection didn't work at all
rS130128Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Detect interrupt storms better. The storm detection didn't work at all
with an ASUS A7N8X-E motherboard in APIC mode, since storming interrupts
don't repeat immediately. Use DELAY(1) to wait a bit for them to repeat.
This affects all systems. Only delay for the first
(10 * intr_storm_threshold) interrupts (per interrupt handler) so that
this is only a pessimization while warming up. Throttle after calling
the sub-handlers instead of before so that the long delay given by
throttling can be used instead of the DELAY(1) to detect storms after
warming up.

Reduced the throttling period from 1/10 second to 1/hz seconds so that
throttling doesn't destroy performance so much. Interrupts that are
detected as storming are effectively handled by polling at a frequency
of hz Hz. On A7N8X-E's there is another hardware or configuration bug
that makes the throttled frequency closer to 2*hz Hz.

Details

Provenance
bdeAuthored on
Parents
rS130127: Add pci id's for the SmartArray 6422 and V100 controllers. Also
Branches
Unknown
Tags
Unknown

Event Timeline