disabling interrupt storm protection

Shunsuke SHINOMIYA shino at fornext.org
Fri Oct 29 20:37:40 PDT 2004


 Thank you John,

 I wrote a patch(which is attached to this mail) so that the problem
 doesn't occur in my environment.

 This patch changes the meaning of `storm'.
 But, I think use of the parameter(hw_intr_threshold) to control the
detector in this method is clearer than the present method, and it
needs no DELAY(1).

 In the detector to which this patch is applied and compiled with
 -DHACK2 flag, `storm' is the situation that the number of generated
 interrupts per unit time(1/hz) is larger than threshold.

 If kern_intr.c is compiled with -DHACK2 -DHACK3 flags, it works as
 interrupt rate limiter.
 
 What do you think about this method?

-- 
Shunsuke SHINOMIYA <shino at fornext.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kern_intr.c.patch
Type: application/octet-stream
Size: 2030 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041030/4eea9678/kern_intr.c.obj


More information about the freebsd-current mailing list