From owner-freebsd-performance@FreeBSD.ORG Tue Jul 13 19:35:09 2004 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0C7416A4CE for ; Tue, 13 Jul 2004 19:35:09 +0000 (GMT) Received: from utils.dsgx.org (mailer.brasnet.org [66.90.84.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D67F43D1F for ; Tue, 13 Jul 2004 19:35:09 +0000 (GMT) (envelope-from fabulous@t7ds.com.br) Received: from [201.9.181.174] (foo.bar.com [66.90.84.93]) by utils.dsgx.org (Postfix) with ESMTP id AFCACD7A927 for ; Tue, 13 Jul 2004 16:35:03 -0300 (BRT) Message-ID: <40F43985.5010508@t7ds.com.br> Date: Tue, 13 Jul 2004 16:35:33 -0300 From: fabulous User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a1) Gecko/20040520 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-performance@freebsd.org References: <200407131047.55631.dimitry@al.org.ua> In-Reply-To: <200407131047.55631.dimitry@al.org.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ethernet rate limiting?? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 19:35:10 -0000 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 >