Date: Thu, 4 Oct 2007 00:52:11 +0200 (CEST) From: "Kirill Ponazdyr" <lists@codeangels.com> To: "Cristian KLEIN" <cristi@net.utcluj.ro> Cc: freebsd-net@freebsd.org Subject: Re: FreeBSD as a gigabit router Message-ID: <4532.192.168.2.137.1191451931.squirrel@www.codeangels.com> In-Reply-To: <4703F9C3.2060601@net.utcluj.ro> References: <4703F9C3.2060601@net.utcluj.ro>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hi list, > > A few days ago I tested whether a FreeBSD 7 box is able to handle Gigabit > Can anybody point me what the bottleneck of this configuration is? CPU was > mostly idle and PCIe 1x should carry way more. Or is the experiment > perhaps > fundamentally flawed? ICMP is not a good way to perform such tests as many have mentioned, better use iperf. We have a FreeBSD 6.2 / pf box handling 2Gbps of traffic, real traffic, it will probably handle more, we just had no capacities or need to test. Hardware is a Single 2.4 Ghz Xeon with 2 x Intel Quad Pro 1000MT PCI-X Controllers on separate PCI-X Busses. Here are most optimal options: Kernel: ------------------------------------ options DEVICE_POLLING options HZ=2000 Sysctl: ------------------------------------ kern.polling.idle_poll=1 kern.polling.user_frac=20 net.inet.ip.fastforwarding=1 net.inet.ip.intr_queue_maxlen=5000 kern.ipc.maxsockbuf=8388608 net.inet.tcp.sendspace=3217968 net.inet.tcp.recvspace=3217968 net.inet.tcp.rfc1323=1 Regards Kirill
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4532.192.168.2.137.1191451931.squirrel>