Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jun 2003 18:50:53 -0400
From:      Matt Levine <matt@deliver3.com>
To:        Eric Anderson <anderson@centtech.com>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: Slow disk write speeds over network
Message-ID:  <BB0A878D.C143%matt@deliver3.com>
In-Reply-To: <3EE50743.1090704@centtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/9/03 6:16 PM, "Eric Anderson" <anderson@centtech.com> 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 <matt@deliver3.com>

"The Trouble with doing anything right the first time is that nobody
appreciates how difficult it was."  -BIX



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BB0A878D.C143%matt>