From owner-freebsd-ipfw@FreeBSD.ORG Wed Dec 6 11:01:05 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 7F72B16A509 for ; Wed, 6 Dec 2006 11:01:05 +0000 (UTC) (envelope-from dwmalone@maths.tcd.ie) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 6EAF744078 for ; Wed, 6 Dec 2006 10:56:06 +0000 (GMT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie ([134.226.81.10] helo=walton.maths.tcd.ie) by salmon.maths.tcd.ie with SMTP id ; 6 Dec 2006 10:56:43 +0000 (GMT) Date: Wed, 6 Dec 2006 10:56:42 +0000 From: David Malone To: Max Laier Message-ID: <20061206105642.GB72189@walton.maths.tcd.ie> References: <200612052010.36789.max@love2party.net> <20061205161744.A48319@xorpc.icir.org> <200612060451.58473.max@love2party.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200612060451.58473.max@love2party.net> User-Agent: Mutt/1.5.6i Sender: dwmalone@maths.tcd.ie Cc: Luigi Rizzo , 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:01:05 -0000 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 noise of branches, memory accesses and fielding interrupts, but it would be interesting to measure. David.