Thursday, December 23, 2010

Enabling Polling on FreeBSD 8.1 kernel

plucking your hair on enabling polling on 8.1 kernel by sysctl?

Yeah I know u might have tried your level best to get the polling enabled using
sysctl kern.polling.enable=1 
of modifying /etc/sysctl.conf
But both will produce an error saying "sysctl: unknown oid 'kern.polling.enable'"
Dont worry its enabled as long as you have a polling enabled while compiling the kernel


So just relax and check
sysctl kern.hz
shows ur some values must be 1000 or higher


Now go ahead and enable polling in your network card in /etc/rc.conf ifconfig statement


Happy polling :)