From owner-freebsd-performance@FreeBSD.ORG Mon Jun 9 15:51:55 2003 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 1C6E637B401 for ; Mon, 9 Jun 2003 15:51:55 -0700 (PDT) Received: from mailbox.cachenetworks.com (iits0193.inlink.com [209.135.140.93]) by mx1.FreeBSD.org (Postfix) with SMTP id 0BAF143FA3 for ; Mon, 9 Jun 2003 15:51:53 -0700 (PDT) (envelope-from matt@deliver3.com) Received: (qmail 26878 invoked by uid 104); 9 Jun 2003 22:51:43 -0000 Received: from matt@deliver3.com by thor.deliver3.com by uid 101 with qmail-scanner-1.16 (. spamassassin: 2.53. Clear:. Processed in 0.090034 secs); 09 Jun 2003 22:51:43 -0000 Received: from local (HELO ?192.168.0.2?) (8.8.8.8) by mailbox.cachenetworks.com with SMTP; 9 Jun 2003 22:51:43 -0000 User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Mon, 09 Jun 2003 18:50:53 -0400 From: Matt Levine To: Eric Anderson Message-ID: In-Reply-To: <3EE50743.1090704@centtech.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Mailman-Approved-At: Mon, 09 Jun 2003 16:04:29 -0700 cc: freebsd-performance@freebsd.org Subject: Re: Slow disk write speeds over network 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: Mon, 09 Jun 2003 22:51:55 -0000 On 6/9/03 6:16 PM, "Eric Anderson" wrote: > Chuck Swiger wrote: >> Eric Anderson wrote: >> >>> Ok, I have a file server (NFS) running FreeBSD 4.8-RC1, which is >>> having incredibly slow disk write speeds. Locally, doing something like: >>> dd if=/dev/zero of=/partition/testfile >>> Shows 14MB/s - which is what I expect.. >>> >>> However, ftping a file or cp'ing over NFS shows speeds less than 1MB/s >>> - which is not what I would expect - it's got gigabit ethernet, and >>> has very fast read times (via ftp or nfs) over the network. >> >> >> If the slowdown was only with regard to NFS, I'd ask you about what your >> NFS clients looked like. However, if you're seeing a slowdown for FTP >> and other network protocols, it's more likely to be a physical problem >> with cabling, a NIC getting flaky, or something along those lines. > > I see it in both NFS and ftp transfers, but like I said in one of my > other notes, I have 4 network cards in this machine, all act the same way. > >> Do you have this connected to a managed switch so that you can take a >> look at the interface statistics for problems? Maybe try cranking the >> NIC down from gigabit to 100Mbs ethernet speed and see whether that >> makes a difference? > > Yes - and I just tried that suggestion - same thing. No help. > Interfaces look ok. Not to beat a dead horse, but are these the same nics as in the other machines? Is the switch manageable? Does it agree with the nic(s) on speed/duplex? Tried turning off autonegotiate and forcing on both sides? This has all the symptoms of a duplex mismatch. > > Eric -- Matt Levine "The Trouble with doing anything right the first time is that nobody appreciates how difficult it was." -BIX