From owner-freebsd-net@FreeBSD.ORG Thu Oct 4 19:21:17 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F0F116A417 for ; Thu, 4 Oct 2007 19:21:17 +0000 (UTC) (envelope-from michael@staff.openaccess.org) Received: from smtp-out2.openaccess.org (smtp-out2.openaccess.org [66.114.32.175]) by mx1.freebsd.org (Postfix) with ESMTP id 85E7D13C481 for ; Thu, 4 Oct 2007 19:21:17 +0000 (UTC) (envelope-from michael@staff.openaccess.org) Received: from smtp-nas.openaccess.org (smtp-nas.openaccess.org [66.114.32.169]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-out2.openaccess.org (Postfix) with ESMTP id E5F46797A99; Thu, 4 Oct 2007 12:02:57 -0700 (PDT) Received: from [192.168.2.151] (unknown [66.114.32.158]) by smtp-nas.openaccess.org (Postfix) with ESMTP id 5B11561641F; Thu, 4 Oct 2007 12:02:57 -0700 (PDT) In-Reply-To: <470535D6.7020601@net.utcluj.ro> References: <4703F9C3.2060601@net.utcluj.ro> <4532.192.168.2.137.1191451931.squirrel@www.codeangels.com> <470535D6.7020601@net.utcluj.ro> Mime-Version: 1.0 (Apple Message framework v752.2) Message-Id: <0D18E826-52EA-4BEC-9404-1C98BFCDD418@staff.openaccess.org> From: Michael DeMan Date: Thu, 4 Oct 2007 12:02:56 -0700 To: freebsd-net@freebsd.org X-Mailer: Apple Mail (2.752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: lists@codeangels.com, Cristian KLEIN Subject: Re: FreeBSD as a gigabit router X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2007 19:21:17 -0000 Hi All, I've done some ad-hoc testing off and on for a few years. None of the data around, but we do have a couple rules of thumb that we use internally... 1) Get the fastest PCI bus you can - PCI-X, etc. 2) Plan on 1GHz of CPU per 1 gigabit of throughput. The performance hit going from FBSD4.x to FBSD5.x/6.x was horrendous for this kind of stuff, hopefully 7.x will speed things up. Also, thus far, we have stuck only with single CPU machines to be conservative/safe. We are looking forward to a speedier TCP/IP stack in 7.x and hoping to go to SMP routers at that time also. Also, we've noticed at least on FBSD 6.x that there seem to be very few advantages in using polling on network interfaces. We still run it, so that we have responsive SSH/BGP/OSPF processes on the machines, but my testing has shown that for sheer throughput, there is basically no difference. I'd be curious if anybody knows the scoop on this. Thanks, - mike Michael F. DeMan Director of Technology OpenAccess Network Services Bellingham, WA 98225 michael@staff.openaccess.org 360-733-9279 On Oct 4, 2007, at 11:49 AM, Cristian KLEIN wrote: > Thank you all for your replies. > > Kirill Ponazdyr wrote: >>> 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. > > I used this test, because it proved perfect when, almost a decade > ago, gigabit > appeared. There wasn't anything at that time that could fill 1 > Gbps, so we used > the routers themselves to do the job. Also, I used this setup to > avoid TCPs > congestion control mecachnism and sub-maximum bandwidth. > > Of course, when I said "ping -f", I didn't mean a single "ping -f", > but rather > enough ping -f so that the looping packets would saturate the link. > >> 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. > > Could you tell me, is there any difference between 1000PT and > 1000MT, except the > slot type? Also, is there any difference between Intel Desktop and > Intel Server > adaptors, or are these just marketing buzzwords? > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >