From owner-cvs-all Mon May 13 4:39:25 2002 Delivered-To: cvs-all@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id B135C37B400; Mon, 13 May 2002 04:39:20 -0700 (PDT) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g4DBdFx31094; Mon, 13 May 2002 04:39:15 -0700 (PDT) (envelope-from rizzo) Date: Mon, 13 May 2002 04:39:15 -0700 From: Luigi Rizzo To: Poul-Henning Kamp Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_ethersubr.c src/sys/netinet ip_dummynet.c ip_dummynet.h Message-ID: <20020513043915.B30792@iguana.icir.org> References: <20020513042619.A30792@iguana.icir.org> <13232.1021289258@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <13232.1021289258@critter.freebsd.dk> User-Agent: Mutt/1.3.23i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, May 13, 2002 at 01:27:38PM +0200, Poul-Henning Kamp wrote: ... > Even better yet: > > + Make the ipfw program a "ipfw rule to C compiler" and > kldload the compiled C code. > > BillF has worked on this and the performance increase was fantastic. i am not a compiler guy. I hate writing compilers. If there is code available that does this, and it is complete (i.e. it supports all things our ipfw does) then it is welcome. This said... if the ipfw ruleset is properly written, I am not sure that you can improve by more than a factor of 2..5, but I'll be glad to be proven wrong. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message