From owner-freebsd-questions@FreeBSD.ORG Tue Jun 29 20:48:10 2004 Return-Path: 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 62D3D16A4CE for ; Tue, 29 Jun 2004 20:48:10 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11E5443D41 for ; Tue, 29 Jun 2004 20:48:10 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i5TKleco028456; Tue, 29 Jun 2004 13:47:41 -0700 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Tue, 29 Jun 2004 13:48:07 -0700 User-Agent: KMail/1.6.2 References: <20040629140231.7b57dedf.wmoran@potentialtech.com> In-Reply-To: <20040629140231.7b57dedf.wmoran@potentialtech.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406291348.07456.kstewart@owt.com> cc: Bill Moran Subject: Re: REPOST: Performance problems with FTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2004 20:48:10 -0000 On Tuesday 29 June 2004 11:02 am, Bill Moran wrote: > I'm having some really weird problems with ftp performance on FreeBSD > 4.10 that I just can't seem to figure out. > > My uplink here maxes out at about 35k/sec. If I scp to the machine > in question I get about 30k/sec (which is expected) but when I ftp, I > never get anything better than 15k/sec, and occasionally as low as > 8k/sec. > > Using a server colocated at another facility, I can ftp at about > 45k/sec, and scp at about 60k/sec. > > Downloads are all as expected ... scp and ftp downloads seem to be in > about the same range, and it's a number I would expect. > > I tried running the ftp daemon that ships with FreeBSD, as well as > Proftpd and they both exhibit the same performance issues. > > Most settings on this machine are at their defaults. I've tried > tweaking send/recv sizes, as well as toggling delayed_ack. None of > these have made any difference so far. > > Suggestions? Is anyone else seeing this? I want to add that I have a machine that did that once in awhile. As soon as I see it, I look at my switch and the NIC has switched into half-duplex. An ifconfig still shows full-duplex. I would power down and reboot and it went away for awhile. After having done this 3 or 4 times, I powered it down, reseated the NIC and it has been a little over three weeks since it flipped modes on me. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html