From owner-freebsd-net Tue Aug 20 13:30: 3 2002 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 53B9937B400 for ; Tue, 20 Aug 2002 13:29:59 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 007CB43E3B for ; Tue, 20 Aug 2002 13:29:59 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: from iguana.icir.org (localhost [127.0.0.1]) by iguana.icir.org (8.12.3/8.11.3) with ESMTP id g7KKTvIb050209; Tue, 20 Aug 2002 13:29:57 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g7KKTv0o050208; Tue, 20 Aug 2002 13:29:57 -0700 (PDT) (envelope-from rizzo) Date: Tue, 20 Aug 2002 13:29:57 -0700 From: Luigi Rizzo To: Andrew Gallatin Cc: freebsd-net@FreeBSD.ORG Subject: Re: m_getcl and end-to-end performance Message-ID: <20020820132957.B49141@iguana.icir.org> References: <15714.27671.533860.408996@grasshopper.cs.duke.edu> <20020820093939.B48541@iguana.icir.org> <15714.39494.661931.882244@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <15714.39494.661931.882244@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Tue, Aug 20, 2002 at 03:36:38PM -0400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Aug 20, 2002 at 03:36:38PM -0400, Andrew Gallatin wrote: ... > Here's what I'm running with now. It removes the M_PKTHDR > requirement, allowing me to use multiple m_getcl()'s to stock jumbo > frames. ok... there is a minor overhead in initializing m_pkthdr fields for non-pkthdr buffers, but i guess checking the flags bit to possibly skip the block would cost about the same. > For a netperf UDP_STREAM, I see ~1,000 to ~2,000 packets/sec increase > in throughput for sizes 256 through 2K. For large (8K) I see a hmmm... that seems to be in the noise (i assume you are dealing with a fast machine), but probably because there is a lot of per-packet overhead in userland. In my experiments with routing of 64-byte packets i saw the throughput bumping up from 360kpps to over 400kpps on a fast box with Gig-E card, and about 2-3kpps (20 to 22-23kpps) on the soekris box. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message