From owner-freebsd-net Fri Oct 18 14: 4:48 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 1CA6C37B401 for ; Fri, 18 Oct 2002 14:04:47 -0700 (PDT) Received: from pursued-with.net (adsl-66-125-9-242.dsl.sndg02.pacbell.net [66.125.9.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A9C743E8A for ; Fri, 18 Oct 2002 14:04:45 -0700 (PDT) (envelope-from Kevin_Stevens@pursued-with.net) Received: from babelfish (babelfish [192.168.168.42]) by pursued-with.net (8.12.6/8.12.5) with ESMTP id g9IL4iFv040054; Fri, 18 Oct 2002 14:04:44 -0700 (PDT) (envelope-from Kevin_Stevens@pursued-with.net) Date: Fri, 18 Oct 2002 14:04:44 -0700 (PDT) From: Kevin Stevens Reply-To: Kevin_Stevens@pursued-with.net To: Don Bowman Cc: freebsd-net@FreeBSD.ORG Subject: RE: ENOBUFS In-Reply-To: Message-ID: <20021018135434.Y40012-100000@babelfish.pursued-with.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Fri, 18 Oct 2002, Don Bowman wrote: > > what do you mean ? it works great for me. even on -current i > > can push out over 400kpps (64byte frames) on a 2.4GHz box. > > 400kpps seems like very poor performance. > Unless I do the math wrong, this is only ~200Mbps, > the nic should be able to allow ~2-3Mpps (GE bidirectional). First, you're only pushing packets, so you are only talking a potential 1GB, not two. Second, sending minimum-size packets, while a best-case metric for pps, is a worst-case metric for throughput. I don't think that you can conclude that 20% theoretical bandwidth utilization at minimum packet size is poor performance; in fact it seems pretty good to me. Extrapolating from those numbers, if the packets were five times larger (320b), you'd hit theoretical maximum throughput. Obviously that won't happen, your pps numbers will go down as the packet size goes up, but it does indicate you have some headroom, even without going to jumbo frames if the card pushed five times fewer pps at 1500 byte frames you'd max out the throughput. You can't tell very much from a single data point like that, but what you can infer doesn't seem to me to be bad at all. KeS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message