From owner-freebsd-net@FreeBSD.ORG Sun May 18 02:35:24 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 453B537B401 for ; Sun, 18 May 2003 02:35:24 -0700 (PDT) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD72943F3F for ; Sun, 18 May 2003 02:35:23 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.8p1/8.12.3) with ESMTP id h4I9ZNQg028945; Sun, 18 May 2003 02:35:23 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.8p1/8.12.3/Submit) id h4I9ZNq9028944; Sun, 18 May 2003 02:35:23 -0700 (PDT) (envelope-from rizzo) Date: Sun, 18 May 2003 02:35:23 -0700 From: Luigi Rizzo To: Tony Sarendal Message-ID: <20030518023523.A28847@xorpc.icir.org> References: <3EC73BF6.2050802@polarcap.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3EC73BF6.2050802@polarcap.org>; from tsar@polarcap.org on Sun, May 18, 2003 at 09:53:26AM +0200 cc: freebsd-net@freebsd.org Subject: Re: polling(4) and Gigabit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 09:35:24 -0000 On Sun, May 18, 2003 at 09:53:26AM +0200, Tony Sarendal wrote: > > From what I can see nge is the only polling driver for > Gig NICs, looking at 4.8. Has anyone done any performance actually that would be 'em' > tests on this ? I'm interested in knowing what can of > bandwidth/pps one actually can achieve on a PC router. it depends on a lot of factors including the size of the routing table, the firewall ruleset complexity, the bus speed, the CPU speed, the packet sizes. With a fast enough box (2.4GHz) i reached some 650-700kpps through a FreeBSD box running 4.7 and configured as a bridge, similar thing with a router and fastforwarding. If you use the firewall, you could get down to some 400-500kpps at best. This is with 64-byte packets. In terms of bandwidth, with large enough frames (i'd say 500+ bytes) you should have no trouble running close to wire speed (again, depending on the above factors). > If the NIC now is the limitation(?), how much OS resources > do I have left after the NIC is running at 100% ? the NIC is not always the limitation, you can run out of steam on many parts of the system. cheers luigi > I'm looking at building a new network, using pc routers > for some of the bgp stuff can save quit a lot of money. > > /Tony S > > _______________________________________________ > 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"