Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2004 09:21:59 -0500 (CDT)
From:      "Jon Noack" <noackjr@alumni.rice.edu>
To:        "Raphael H. Becker" <rabe@p-i-n.com>
Cc:        net@freebsd.org
Subject:   Re: Strange things on GBit / 1000->100 / net.inet.tcp.sack
Message-ID:  <55800.69.53.57.66.1096294919.squirrel@69.53.57.66>
In-Reply-To: <20040927141224.R55054@p-i-n.com>
References:  <414ADD15.FAC42CDB@freebsd.org> <20040917231922.G55054@p-i-n.com> <414B567C.9060904@freebsd.org> <414B5777.1030901@freebsd.org> <20040918000303.J55054@p-i-n.com> <414B6F11.5070902@freebsd.org> <20040918013929.O55054@p-i-n.com> <414B8C1B.2E7C971C@freebsd.org> <20040918155408.P55054@p-i-n.com> <414CB896.8070408@alumni.rice.edu> <20040927141224.R55054@p-i-n.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Raphael H. Becker wrote:
> Hi Jon,
>
> On Sat, Sep 18, 2004 at 05:37:10PM -0500, Jon Noack wrote:
>> Have you tried disabling SACK (net.inet.tcp.sack.enable) on the 5.3
>> machine?
>
> Tried that now.
>
> case 1000->100:
>
> sack.enable:1   300kbytes/sec
> sack.enable:0   1.4MBytes/sec (should be around 10MBytes/sec)
>
> say: slightly better performance without sack.

Interesting.  While I don't think that sack is to blame here, it appears
to aggravate the situation.  Your network setup is not going to
significantly benefit from sack, so you could leave it off to help...

> case 1000->1000:
>
> sack.enable:1    76.82 MBytes/sec
> sack.enable:0    76.80 MBytes/sec
>
> say: exactly no difference.
>
> The FTP-server is a 5.3-BETA4, the client(100) still a 4.10-p2 and
> client(1000) a 5.3-BETA5.
>
> Any idea?
>
> I still guess the rubbish switch has a problem with its store&forward
> engine and cannot buffer much data, maybe broken by design.

I think others may have asked this, but have you tried using a different
switch?  Also, what happens if you force the card to 100Mbit?  Do you
still get poor performance?

> On the other hand, freebsd 5.3 seems not to recognize this and I don't
> know where in the network stack the traffic is limited to effectivly
> 100MBit/sec, when sending to a 100MBit-node. With 4.10 as GBit-sender
> the transfer to a 100MBit-Node works perfectly (10.5 MBytes/sec ftp).

Yeah, ideally we would gracefully handle finicky hardware.

> The differences on sender's side are:
>
> a) 5.3-BETA (poor) 4.10-p2 (perfect)
> b) <Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002> (poor) vs
> <BCM5701 10/100/1000baseTX PHY> (perfect)
>
> HTH
> Raphael Becker
>
> Maybe you have an idea about the switch-specs:
> http://www.netgearinc.co.jp/support/pdf/gs516t_manual.pdf page 22 of 34

Sorry, I'm not knowledgeable enough to comment intelligently on switch specs.

Jon



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