cvs commit: src/sys/kern kern_intr.c src/sys/sys interrupt.h

Roman Kurakin rik at inse.ru
Wed May 2 09:21:16 UTC 2007


Darren Reed wrote:
> On Wed, May 02, 2007 at 06:15:13AM +0000, Nate Lawson wrote:
>   
>> njl         2007-05-02 06:15:13 UTC
>>
>>   FreeBSD src repository
>>
>>   Modified files:        (Branch: RELENG_6)
>>     sys/kern             kern_intr.c 
>>     sys/sys              interrupt.h 
>>   Log:
>>   MFC: rate-check the interrupt storm message and bump the counter 500 -> 1000
>>     
>
> Is this number, "500" or "1000" somehow "magical" for modern hardware?
>
> If I had a 500MHZ, 1GHz, 1.5GHz, 2GHz, 2.5GHz machines, each with the
> appropriate architecture, what would the correct value for this be?
> Is i always 1000 or should it be calculated?
>   
It is hard to calculate. You need to take into account also the 
particular BUS that
the set of devices is attached to, not only the speed of CPU that will 
serve this
interrupt rate.

rik
> Darren
>   



More information about the cvs-src mailing list