Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2004 16:35:33 -0300
From:      fabulous <fabulous@t7ds.com.br>
To:        freebsd-performance@freebsd.org
Subject:   Re: ethernet rate limiting??
Message-ID:  <40F43985.5010508@t7ds.com.br>
In-Reply-To: <200407131047.55631.dimitry@al.org.ua>
References:  <CHQMAIL2WtIIZS2TRqf00000066@chqmail2.lands.resnet.qg> <200407131047.55631.dimitry@al.org.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

I would play with these values:
net.inet.tcp.sendspace: 65536
net.inet.tcp.recvspace: 65536

try increasing sendspace to 524288 or more :P (this can eat lots of 
mbufs btw, but you have lots free)

[]'s

Dmitry Alyabyev wrote:
> On Tuesday 13 July 2004 06:07, Joe wrote:
> 
>>Hi
>>
>>
>> Here goes for a first post.
>>
>>
>>I run an mldonkey server under 4.10-STABLE (though I noticed the same
>>behaviour under 4.8 and 4.9). It also runs samba and ssh2 all on a
>>p2-333.
>>
>>Generally what happens is I download files to this fbsd server and
>>share them to my other pc via samba. When first rebooted this
>>works fine with full ethernet copy speeds.
>>
>>After a while copying files from the fbsd box to the pc rate limits
>>to 40k (via smb/ftp/ssh2 whichever) over the ethernet lan. This is on
>>100mbit cards I've tried different cables/cards/switches etc with no luck.
>>
>>I'm guessing there is some memory/network/file descriptor limit I'm
>>hitting and I've no idea how to extend it or clear it.
> 
> 
> i think the problem is wrong duplex negotiation
> try to set it manually on switch port and ethernet card
> 



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