From owner-freebsd-questions@FreeBSD.ORG Tue Jun 29 21:05:14 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 7AF9916A4CE for ; Tue, 29 Jun 2004 21:05:14 +0000 (GMT) Received: from www.wcborstel.nl (wcborstel.demon.nl [82.161.134.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1E6F43D31 for ; Tue, 29 Jun 2004 21:05:11 +0000 (GMT) (envelope-from jorn@wcborstel.nl) Received: from localhost (localhost.chello.nl [127.0.0.1]) by www.wcborstel.nl (Postfix) with ESMTP id 832B5826A; Tue, 29 Jun 2004 23:05:29 +0200 (CEST) Received: from www.wcborstel.nl ([127.0.0.1]) by localhost (www.wcborstel.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 84647-06; Tue, 29 Jun 2004 23:05:29 +0200 (CEST) Received: from [127.0.0.1] (unknown [192.168.2.110]) by www.wcborstel.nl (Postfix) with ESMTP id D14A081FC; Tue, 29 Jun 2004 23:05:28 +0200 (CEST) Message-ID: <40E1D985.1080801@wcborstel.nl> Date: Tue, 29 Jun 2004 23:05:09 +0200 From: Jorn Argelo User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kent Stewart References: <20040629140231.7b57dedf.wmoran@potentialtech.com> <200406291348.07456.kstewart@owt.com> In-Reply-To: <200406291348.07456.kstewart@owt.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mail.domain.tld cc: freebsd-questions@freebsd.org 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 21:05:14 -0000 Kent Stewart wrote: >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 > > > But even if it is an 10 MBit NIC running half duplex, it should still be capable of handling internet traffic at normal speeds (200 - 300 KB/s or something, depends on your line of course) My first insight of those problems is probably bad DNS settings. What about FTPing to your ip address? Is that giving you the bad speed as well? Jorn