Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2002 21:06:46 -0400
From:      Barney Wolff <barney@tp.databus.com>
To:        "McKenna, Lee" <lmckenna@lodgenet.com>
Cc:        "'Fabien THOMAS'" <fabien.thomas@netasq.com>, paleph@pacbell.net, freebsd-net@FreeBSD.ORG
Subject:   Re: bge driver issue
Message-ID:  <20020619210646.A36559@tp.databus.com>
In-Reply-To: <3EA88113DE92D211807300805FA7994209149EC2@chaplin.lodgenet.com>; from lmckenna@lodgenet.com on Wed, Jun 19, 2002 at 01:46:40PM -0500
References:  <3EA88113DE92D211807300805FA7994209149EC2@chaplin.lodgenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Er, you would appear to be measuring the transfer rate of your disk,
unless you actually have enough ram to cache a 1.2GB file.

By coincidence, tonight I hooked my dual 1.0GHz PIII running fbsd 4.6-stable
to a Mac G4 OS-X (also dual 1GHz cpus) using an Intel PRO/1000T desktop
adapter on the fbsd side.  Here's the result of the Mac doing an ftp get
from fbsd:

ftp> get X11R6-011112.tgz /dev/null
local: /dev/null remote: X11R6-011112.tgz
200 PORT command successful.
150 Opening BINARY mode data connection for 'X11R6-011112.tgz' (194432456 bytes).
226 Transfer complete.
194432456 bytes received in 6.45 seconds (30123284 bytes/s)
ftp> get X11R6-011112.tgz /dev/null
local: /dev/null remote: X11R6-011112.tgz
200 PORT command successful.
150 Opening BINARY mode data connection for 'X11R6-011112.tgz' (194432456 bytes).
226 Transfer complete.
194432456 bytes received in 1.76 seconds (110555016 bytes/s)

The first transfer shows the speed of my disk.  The second is really
pretty good.  Adding in the header overhead, we're over 920 Mbps.

Going in the other direction I never got over 500 Mbps, don't yet know why.
Windows were 65535 on both sides.  Bumping the window over 100KB resulted
in a sharp drop in performance, also as yet unexplained.  Setting the send
window above about 200KB resulted in failure to open a connection - no bufs
available.  That too will need some investigation.

The test was run through a Dell 2508 switch - I could not get 1000baseTX
with a crossover cable, but perhaps it was not good enough, although
marked cat5.

On Wed, Jun 19, 2002 at 01:46:40PM -0500, McKenna, Lee wrote:
> I just loaded 4.5-RELEASE, and cvsup/make world upgraded to 4.6-STABLE dated
> June 17, and have 2 machines with 3C996B-T cards using the bge driver with
> the two machines connected directly to each other using a crossover cable.
> Machines are both "home made" with Supermicro mobos with 1.2GHz CPUs.
> 
> Using /dev/zero I created a file some 1.2 GBytes in size.  I am getting 7
> MBytes/s using scp and 30 MBytes/s using ftp.  So, it looks like the max is
> about 240 Mbits/s.  This is why we affectionately call gigabit Ethernet "a
> couple-hundred megabit ethernet", and we cant wait for Ken's zero copy code
> to reach -STABLE :)
> 
> This test also includes tweaking the tcp and udp send and recv space buffers
> to 512K, by the way...

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020619210646.A36559>