From owner-freebsd-hackers Mon Nov 11 7:16:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CFEA37B401 for ; Mon, 11 Nov 2002 07:16:42 -0800 (PST) Received: from sabre.velocet.net (sabre.velocet.net [216.138.209.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47BD043E42 for ; Mon, 11 Nov 2002 07:16:41 -0800 (PST) (envelope-from dgilbert@velocet.ca) Received: from trooper.velocet.ca (trooper.velocet.net [216.138.242.2]) by sabre.velocet.net (Postfix) with ESMTP id 9CAFC138429; Mon, 11 Nov 2002 10:16:32 -0500 (EST) Received: by trooper.velocet.ca (Postfix, from userid 66) id 2489174335; Mon, 11 Nov 2002 10:16:11 -0500 (EST) Received: by canoe.velocet.net (Postfix, from userid 101) id 594F056766D; Mon, 11 Nov 2002 10:16:08 -0500 (EST) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15823.51640.68022.555852@canoe.velocet.net> Date: Mon, 11 Nov 2002 10:16:08 -0500 To: Terry Lambert Cc: dolemite@wuli.nu, freebsd-hackers@freebsd.org Subject: [hackers] Re: Netgraph could be a router also. In-Reply-To: <3DCD8761.5763AAB2@mindspring.com> References: <20021109180321.GA559@unknown.nycap.rr.com> <3DCD8761.5763AAB2@mindspring.com> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> "Terry" == Terry Lambert writes: Terry> By "it", I guess you mean "FreeBSD"? Terry> What are your performance goals? Right now, I'd like to see 500 to 600 kpps. Terry> Where is FreeBSD relative to those goals, right now, without Terry> you doing anything to it? Without any work, we got 75 kpps. Terry> Where is FreeBSD relative to those goals, right now, if you Terry> tune it very carefully, but don't hack any code? With a few patches, including polling and some tuning, we got 150 to 200 kpps. Note that we've been focusing on pps, not Mbs. With 100M cards (what we're currently using) we want to focus on getting the routing speed up. One of the largest problems we've found with GigE adapters on FreeBSD is that their pps ability (never mind the volume of data) is less than half that of the fxp driver. But we havn't tested every driver. The Intel GigE cards were especially disapointing. Terry> What data rate do you need to support? How much are you Terry> willing to modify FreeBSD? How much are you willing to modify Terry> your hardware design? 64 Bit PCI-X has a burst rate of about Terry> 8Gbit, which means that it's average operation is going to be Terry> about 1/3 that, and then you have to add memory latency on top Terry> of that, if you DMA data from the network card into main Terry> memory, instead of just between network cards. Terry> If you are willing to significantly modify FreeBSD, and address Terry> all of the latency issues, a multiport Gigabit router is Terry> doable, but you haven't even mentioned the most important Terry> aspect of any high speed networking system, so it's not likely Terry> that you're going to be able to do this effectively, just Terry> approaching it blind. We've been looking at the click stuff... and it seems interesting. I like some aspects of the netgraph interface better and may be paying for an ng_route to be created shortly. Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message