decreasing interrupt CPU load

Uwe Doering gemini at geminix.org
Wed Oct 20 14:08:22 PDT 2004


Steven Hartland wrote:
>> Since you mentioned earlier that you run this on an SMP system, are 
>> you aware that device polling is available only for single CPU 
>> kernels, that is, not in SMP mode?  This is poorly documented, 
>> unfortunately.  You can find out about it by looking at the first 
>> couple of lines of 'sys/kern/kern_poll.c'.
> 
> Actually it does work quite well on an SMP machine if you comment said 
> lines out :)

I wonder, can you define how well "quite well" actually is?  I mean, 
it's of course everyone's own decision, but I wouldn't dare to do this 
on a production system.  Is there a statement on this available from the 
author of the code?  One should think that he must have had a reason for 
explicitly disabling device polling for SMP.  Maybe locking issues (race 
conditions)?

    Uwe
-- 
Uwe Doering         |  EscapeBox - Managed On-Demand UNIX Servers
gemini at geminix.org  |  http://www.escapebox.net


More information about the freebsd-performance mailing list