From owner-freebsd-net@FreeBSD.ORG Fri Feb 29 23:57:32 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 4181D106566B; Fri, 29 Feb 2008 23:57:32 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (www.tegenbosch28.nl [217.21.251.97]) by mx1.freebsd.org (Postfix) with ESMTP id E58E58FC14; Fri, 29 Feb 2008 23:57:31 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from localhost (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id C954217390; Sat, 1 Mar 2008 00:33:30 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by localhost (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n6Bu6pzGW9ND; Sat, 1 Mar 2008 00:33:28 +0100 (CET) Received: from [192.168.2.10] (unknown [192.168.2.10]) by mail.digiware.nl (Postfix) with ESMTP id 7A34817335; Sat, 1 Mar 2008 00:33:28 +0100 (CET) Message-ID: <47C8964C.9080309@digiware.nl> Date: Sat, 01 Mar 2008 00:33:32 +0100 From: Willem Jan Withagen Organization: Digiware User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Ingo Flaschberger References: <20080226003107.54CD94500E@ptavv.es.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: =?ISO-8859-1?Q?alves?= , =?ISO-8859-1?Q?Daniel_Dias_Gon=E7?=, freebsd-net@freebsd.org, freebsd-performance@freebsd.org, Kevin Oberman 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: Fri, 29 Feb 2008 23:57:32 -0000 > 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. Like you say routing 400 Mb/s is close to the max of the PCI bus, which has a theoretical max of 33*4*8 ~ 1Gbps. Now routing is 500Mb/s in, 500Mb/s out. So you are within 80% of the bus-max, not counting memory-access and others. PCI express will give you a bus per PCI-E device into a central hub, thus upping the limit to the speed of the FrontSideBus in Intel architectures. Which at the moment is a lot higher than what a single PCI bus does. What it does not explain is why you can only get 80Mb/s with 64byte packets, which would suggest other bottlenecks than just the bus. --WjW