device_polling

dick hoogendijk dick at nagual.st
Sun Apr 3 13:05:29 PDT 2005


On Sat, 02 Apr 2005 21:06:37 -0500
jason henson wrote:

> dick hoogendijk wrote:
> 
> >I was building a new kernel today and came across an option I had not
> >seen before. I googled some and concluded that "options
> >device_polling / options HZ=1000" would be a better way for my
> >realtec network cards than the default interupt driven..
> >
> >Is this correct?? Would it be better to have this polling in the
> >kernel? (fbsd-4.11-stable)
> >
> >  
> >
> I would say yes.  Check man polling for extra info.

I build a kernel with devoce_polling and hz=1000 and experimented a bit.
Using "netstat -w 1" I see a drop in performance. In/output is about 20%
higher if polling is disabled. That was not what I expexted. I really
thought polling would be better. I use cheap rl (realtec 8139) cards.

So I guess I will have to recompile without polling. For vmware3 I'll
leave the HZ=1200 in.
Don't understand it though..<sigh>

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja


More information about the freebsd-questions mailing list