From owner-freebsd-questions@FreeBSD.ORG Sat Feb 18 18:20:29 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEDB216A420 for ; Sat, 18 Feb 2006 18:20:29 +0000 (GMT) (envelope-from danial_thom@yahoo.com) Received: from web33305.mail.mud.yahoo.com (web33305.mail.mud.yahoo.com [68.142.206.120]) by mx1.FreeBSD.org (Postfix) with SMTP id 8AF6B43D46 for ; Sat, 18 Feb 2006 18:20:29 +0000 (GMT) (envelope-from danial_thom@yahoo.com) Received: (qmail 8064 invoked by uid 60001); 18 Feb 2006 18:20:27 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=BPZ6dO4S+UB1oGUagQcXk8ingS664fKKNjLgxAmwis0B53Fq/+FG2s9cyODai0RQ2dbspZFk2Gny0Jo3bbxhWeA4WeYNAsOiaBrL8049wutqLzoNfzhed+VgcFCEDc36WdA6CIqKenbb1G85jKz1dRNa+HpfsCDiqG5SOuY419I= ; Message-ID: <20060218182027.8061.qmail@web33305.mail.mud.yahoo.com> Received: from [24.46.186.215] by web33305.mail.mud.yahoo.com via HTTP; Sat, 18 Feb 2006 10:20:27 PST Date: Sat, 18 Feb 2006 10:20:27 -0800 (PST) From: Danial Thom To: ptitoliv , freebsd-questions@freebsd.org In-Reply-To: <43F73267.6010807@frenchsuballiance.cjb.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: Bandwidth Problems with Freebsd 5.x X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: danial_thom@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2006 18:20:30 -0000 --- ptitoliv wrote: > Hello everybody, > > I am writing here because I have a problem with > network on freebsd 5.3 > and 5.4. The machines are pluged in a 100 > Mbit/s with via rhine network > cards. On this same LAN I have a Debian Sarge > computer. When I try to > transferts big files beetween the FreeBSD and > the Debian, I see that I > have an assymetric bandwith : > > >From Debian to BSD : No problem. The bandwitdh > is OK : About 8 MBytes/s > which is normal for a LAN I guess. > >From BSD to Debian : The bandwidth is quite > awful => Beetween 300 > KBytes/s to 1Mbyte/s. > > Network have been changed and the problem is > still the same. So I > thought it was a network problem. Then I > installed an other FreeBSD on a > different computer and plugged it in a > completely different network and > the problem is still here. That's why I think > there is a thing to > configure on the BSD system but I don't know > why. > > That's why I am looking here for someone who > knows this problem and who > will be able to help me. > > Thank you for your answers > > Best Regards, > ptitoliv Are you doing "GET" from each machine, or comparing GET to PUT? Get has always been a lot faster then PUT. Put a monitor on the LAN and look for weird sending patterns. The 4.x FTP servers will stop altogether if you set the window under 1500 bytes. I don't know if its the server app or the stack, but its probably the specific application, as HTTPD seems not to have such problems. I think ftp was originally written by a chimp and no-one has really bothered to ever fix it (much like nfs). Its quite possible that socket changes in 5.x made a kludgy implementation not work as well as it used to. DT __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com