From owner-freebsd-net@FreeBSD.ORG Fri Feb 9 20:06:51 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF74016A405; Fri, 9 Feb 2007 20:06:51 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.freebsd.org (Postfix) with ESMTP id 3A29513C467; Fri, 9 Feb 2007 20:06:50 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id l19JjFOU084134; Fri, 9 Feb 2007 22:45:15 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id l19Jj9tS084133; Fri, 9 Feb 2007 22:45:09 +0300 (MSK) (envelope-from yar) Date: Fri, 9 Feb 2007 22:45:09 +0300 From: Yar Tikhiy To: Brooks Davis Message-ID: <20070209194509.GH31439@comp.chem.msu.su> References: <20070206204314.GB27282@hoeg.nl> <20070207003756.GA37911@cdnetworks.co.kr> <20070207203938.GE27282@hoeg.nl> <20070207204636.GG70525@rink.nu> <20070207205310.GA82708@lor.one-eyed-alien.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070207205310.GA82708@lor.one-eyed-alien.net> User-Agent: Mutt/1.5.9i Cc: Pyun YongHyeon , Rink Springer , freebsd-net@freebsd.org, Ed Schouten , shigeaki@se.hiroshima-u.ac.jp, Rink Springer Subject: Re: icsphy(4) for nfe(4) - better Microsoft Xbox support X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Feb 2007 20:06:51 -0000 On Wed, Feb 07, 2007 at 02:53:10PM -0600, Brooks Davis wrote: > On Wed, Feb 07, 2007 at 09:46:36PM +0100, Rink Springer wrote: > > On Wed, Feb 07, 2007 at 09:39:38PM +0100, Ed Schouten wrote: > > > I just compiled and installed a kernel with the new nfe(4) driver and > > > DEVICE_POLLING enabled. Below are the results of some scp(1) transfers: > > > > scp(1) isn't really the best way to test this; the XBOX CPU cannot > > satisfy a 100mbit link using scp(1). FTP would be a much better idea, > > preferably with a large file. > > Much better (unless you want to see the effect of disk I/O) would be > something like benchmarks/netpipe. For simple benchmarking, I ftp /dev/zero to /dev/null with stock ftp(1) and ftpd(8), and it works. It can saturate FastEthernet on a sub-GHz CPU, giving the theoretical maximum of 11.2 Mbyte/s, if all the software and hardware involved DTRT. As to its sensitivity, once I could notice using the benchmark in NetBSD that ex(4) sucked by 20% against fxp(4). And the same benchmark via loopback in FreeBSD-CURRENT w/o any debug stuff showed a funny thing: just leaving BPF out from the kernel _reduced_ throughput by 1.41+-0.36% at 95% confidence. -- Yar