From owner-freebsd-net@FreeBSD.ORG Tue Feb 26 00:43:20 2008 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 5169916A408 for ; Tue, 26 Feb 2008 00:43:20 +0000 (UTC) (envelope-from if@xip.at) Received: from chile.gbit.at (ns1.xip.at [193.239.188.99]) by mx1.freebsd.org (Postfix) with ESMTP id 8EA5913C461 for ; Tue, 26 Feb 2008 00:43:18 +0000 (UTC) (envelope-from if@xip.at) Received: (qmail 32150 invoked from network); 26 Feb 2008 01:43:17 +0100 Received: from unknown (HELO filebunker.xip.at) (86.59.10.180) by chile.gbit.at with (DHE-RSA-AES256-SHA encrypted) SMTP; 26 Feb 2008 01:43:17 +0100 Date: Tue, 26 Feb 2008 01:43:16 +0100 (CET) From: Ingo Flaschberger To: Kevin Oberman In-Reply-To: <20080226003107.54CD94500E@ptavv.es.net> Message-ID: References: <20080226003107.54CD94500E@ptavv.es.net> User-Agent: Alpine 1.00 (LFD 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: =?ISO-8859-15?Q?Daniel_Dias_Gon=E7alves?= , freebsd-net@freebsd.org, freebsd-performance@freebsd.org Subject: Re: FBSD 1GBit 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: Tue, 26 Feb 2008 00:43:20 -0000 Dear Kevin, >>>> I upgrade to 7.0RC3 but still the same. 418Mbit is the roof. >> >> older fbsd's are faster than newer. >> >> How are the nic's connected to the cpu? >> >> lspci -v > > V7 is not (in my experience) slower than V4, v5, or v6. v6 is at least slower than v4. http://www.tancsa.com/blast.html (look at the table at the end) > I have run a lot > of tests at speeds MUCH higher than 1Gb. With 10Gb cards, I can sustain > transfer rates of over 9Gbps (assuming low RTT and suitable > hardware). 1Gbps is not even a challenge...even over a 100 ms. RTT. You can route 9Gbps - or only source or sink 9gbps? What packet size? Whats the maximum pps (with 64byte packets)? (Thats the real interesting value, not mbps) I have a 1.2Ghz Pentium-M appliance, with 4x 32bit, 33MHz pci intel e1000 cards. With maximum tuning I can "route" ~400mbps with big packets and ~80mbps with 64byte packets. around 100kpps, whats not bad for a pci architecture. To reach higher bandwiths, better busses are needed. pci-express cards are currently the best choice. one dedicated pci-express lane (1.25gbps) has more bandwith than a whole 32bit, 33mhz pci-bus. > Note that high throughput may require some tuning. Transmit and receive > windows need to be rather large if the RTT is very long at all. (See > "bandwidth-delay product" in Stevens or some other TCP reference.) I'm not shure if he's using the nic for a server or for a router? Kind regards, Ingo Flaschberger