DEVICE_POLLING in 5.3

Alex de Kruijff freebsd at akruijff.dds.nl
Fri Sep 24 15:01:20 PDT 2004


On Fri, Sep 24, 2004 at 04:23:52PM +0200, Yaraghchi, Stephan wrote:
> > On Thu, Sep 23, 2004 at 03:27:22PM +0200, Yaraghchi, Stephan wrote:
> > > I'm trying to tune network performance of a 5.3-BETA5 box
> > > by compiling the DEVICE_POLLING and HZ=1000 options into
> > > the kernel. Compilation went fine.
> > > I found the usual warning in /usr/src/sys/kern/kern_poll.c
> > > concerning device polling in SMP kernels and removed it.
> > > 
> > > To finally enable the feature one have to set the sysctl
> > > kern.polling.enable to value '1'.
> > > 
> > > The only problem is that 5.3-BETA5 doesn't know about it:
> > > 
> > > sysctl: unknown oid 'kern.polling.enable'
> > > 
> > > Any advice is highly appreciated.
> > 
> > Did you do a full make buildworld/kernel installkernel/world? If not
> > then this might be why sysctl doesn't know about it. If so then maybe
> > someone from current@ might know more about it. (maybe there read this
> > list to)
> > 
> > Does /usr/src/UPDATING say anything about it?
> 
> IMO it's not necessary since the changes only affect the kernel which
> I already recompiled.
> Nevertheless I also did a 'make buildworld' as you suggested: no luck.
> 
> /usr/src/UPDATING says nothing about the issue.

All I can think of is mergemaster or that it is a bug. I changed the
list to current@, in the hope that others with BETA5 read this. 

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/FreeBSD/


More information about the freebsd-current mailing list