Tuning for router performance

Paul Civati paul at xciv.org
Wed Apr 20 07:11:49 PDT 2005

In article <MDEHLPKNGKAHNMBLJOLKEEKADDAB.davids at webmaster.com>,
	davids at webmaster.com ("David Schwartz") writes:

>> options         HZ=1000         #for polling
> That's too low. 2000 is the minimum you should consider.

Having fixed my traffic generator, I'm now hitting ~220Kpps as limit
before errors.

> kern.random.sys.harvest.ethernet=0
> kern.random.sys.hervest.interrupt=0

Doesn't seem to make any real difference in my test.

> kern.ipc.nmbclusters="262144"
> vm.kmem_size="536870912"
> vm.kmem_size_max="536870912"

These don't really make any difference, I'm guessing would only help 
larger packet sizes?


More information about the freebsd-stable mailing list