Date: Mon, 05 Feb 2007 20:07:07 -0500 From: Mike Tancsa <mike@sentex.net> To: Justin Robertson <justin@sk1llz.net> Cc: freebsd-questions@freebsd.org Subject: Re: 6.x, 4.x ipfw/dummynet pf/altq - network performance issues Message-ID: <5pkfs2pfv5sjhiiaegg3bae6casglevhpt@4ax.com> In-Reply-To: <45C7A9BD.30403@sk1llz.net> References: <45C7A9BD.30403@sk1llz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 05 Feb 2007 14:03:41 -0800, in sentex.lists.freebsd.questions you wrote: > > I suppose my concerns are two-fold. Why is 6.x collapsing under traffic= =20 >that 4.11 could easily block and run merrily along with, and is there a=20 >queueing mechanism in place that doesn't tie up the box so much on=20 >inbound flows that it ignores all other relevant traffic? > >(as a note, all tests were done with device polling enabled. Without it=20 >systems fall over pretty quickly. I also tried tests using 3com cards=20 >and had the same results) On the 6.x box, try enabling adding to /etc/sysctl.conf kern.polling.enable=3D1 net.inet.ip.fastforwarding=3D1 kern.polling.idle_poll=3D1 kern.random.sys.harvest.ethernet=3D0 and in /boot/loader.conf, add kern.hz=3D"2000"=20 Also removing=20 options ADAPTIVE_GIANT # Giant mutex is adaptive. from the kernel helps a bit as well. with=20 kern.polling.idle_poll=3D1 your load avg will be messed up but it should help performance a bit. As for firewall rules, things really seem to fall down performance wise, as compared to RELENG_4. I havent found a way to improve that performance.... However, on the plus side, an extra core does seem to help a bit with the box remaining responsive. For NICs, stay with em or bge nics for now in RELENG_6 I have some misc test results at http://www.tancsa.com/blast.html ---Mike -------------------------------------------------------- Mike Tancsa, Sentex communications http://www.sentex.net Providing Internet Access since 1994 mike@sentex.net, (http://www.tancsa.com)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5pkfs2pfv5sjhiiaegg3bae6casglevhpt>