Date: Fri, 05 Aug 2011 14:03:13 +0200 From: Ian FREISLICH <ianf@clue.co.za> To: Victor Detoni <victordetoni@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: High Network Perfomance Message-ID: <E1QpJ7R-0000uq-Fm@clue.co.za> In-Reply-To: <CANpwN=ticS53Z43rWVbtDU18cRtWH6sOE%2BfhJaS4LenTfZ=gpg@mail.gmail.com> References: <CANpwN=ticS53Z43rWVbtDU18cRtWH6sOE%2BfhJaS4LenTfZ=gpg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Victor Detoni wrote: > Hi Guys, > > I'm trying tunning a FreeBSD 8.2 to high perfomance network with pf. My > server configuration is: > > Dell 1950 > CPU: Intel(R) Xeon(R) CPU 5130 @ 2.00GHz (1995.03-MHz K8-class > CPU) > 4 x CPU > 2 NIC (<Broadcom NetXtreme II BCM5708 1000Base-T) > 1 NIC (em0: <Intel(R) PRO/1000 Network Connection 7.1.9>) > > I want to reach the high processing of packets per second and use pf as > synproxy and we still processor to handle others packets or flows. Benchmarking I did a few years ago showed a strong correlation between forwarding rate and CPU L1 cache size. As well as an inverse relationship to the number of CPUs in the system. At the time, some architectures were worse than others. Intel Pentium4/Xeons had a halving and AMD Opteron/Athlon had about a 7% reduction in forwarding rate with SMP compared to UP. I haven't had the chance to re-run these tests recently. Set net.inet.ip.fastforwarding=1 and run benchmarks to test your forwarding rates with different configurations. See for some results: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=77846+0+archive/2008/freebsd-net/20080120.freebsd-net Ian -- Ian Freislich
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1QpJ7R-0000uq-Fm>