From owner-freebsd-ipfw@FreeBSD.ORG Wed Dec 6 11:07:26 2006 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CAAA316A47E for ; Wed, 6 Dec 2006 11:07:26 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72AD543E14 for ; Wed, 6 Dec 2006 11:05:17 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id kB6B5thd057687; Wed, 6 Dec 2006 03:05:55 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id kB6B5tJn057686; Wed, 6 Dec 2006 03:05:55 -0800 (PST) (envelope-from rizzo) Date: Wed, 6 Dec 2006 03:05:55 -0800 From: Luigi Rizzo To: David Malone Message-ID: <20061206030555.A56981@xorpc.icir.org> References: <200612052010.36789.max@love2party.net> <20061205161744.A48319@xorpc.icir.org> <200612060451.58473.max@love2party.net> <20061206105642.GB72189@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20061206105642.GB72189@walton.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Wed, Dec 06, 2006 at 10:56:42AM +0000 Cc: Max Laier , freebsd-ipfw@freebsd.org Subject: Re: Better "hash_packet6" X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 11:07:27 -0000 On Wed, Dec 06, 2006 at 10:56:42AM +0000, David Malone wrote: > On Wed, Dec 06, 2006 at 04:51:51AM +0100, Max Laier wrote: > > I tried the reference machines (see hacked up attachment): > > 78x ia64 > > 40x amd64 > > 60x p3 > > 16x p4 > > > I don't have my Soekris set up, so if somebody could give it a try. > > On my 4.11 Soekris 4501 box, the test shows about 70x for gcc -O2 > and 40x for gcc -O. As these are worst-case figures, it would be > interesting to see how CPU usage is impacted for forwarding high > packet rates. My feeling is that this difference would be lost in the top forwarding performance of a soekris is around 30-35kpps if i remember well - this translates in around 30us/packet all included. as you see from the absolute numbers in my other posting, the overhead is very significant. cheers luigi