From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 20:48:51 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 AC25116A4CE for ; Fri, 25 Jun 2004 20:48:51 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7831643D5C for ; Fri, 25 Jun 2004 20:48:51 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) by internet.potentialtech.com (Postfix) with ESMTP id 1483369A39; Fri, 25 Jun 2004 16:28:30 -0400 (EDT) Date: Fri, 25 Jun 2004 16:28:28 -0400 From: Bill Moran To: Bill Moran Message-Id: <20040625162828.3fbf0636.wmoran@potentialtech.com> In-Reply-To: <20040625155507.40b505c8.wmoran@potentialtech.com> References: <20040625155507.40b505c8.wmoran@potentialtech.com> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: Weird upload performance problems with proftpd [update] 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: Fri, 25 Jun 2004 20:48:51 -0000 Bill Moran wrote: > I'm having some really weird performance problems with proftpd-1.2.10 on > FreeBSD 4.10 (in a jail) 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, and it exhibited 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. Update: I get the same unexplainable performance if I run ftp outside the jail, so it doesn't appear to have anything to do with FTP running inside the jail ... it appears to be a general problem with FreeBSD's performance running as an FTP server ... which really surprises me! -- Bill Moran Potential Technologies http://www.potentialtech.com