Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Dr. David Gilbert" <dg@px.uk.com>
To: Wes Nakamura <wknaka@pobox.com>
Cc: axp-list@redhat.com
Subject: Re: slow nfs in one direction
Date: Thu, 5 Aug 1999 10:45:58 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.4.10.9908051043310.14275-100000@springhead.px.uk.com> (raw)
In-Reply-To: <Pine.LNX.3.95.990805022915.30173D-100000@animal.blarg.net>

On Thu, 5 Aug 1999, Wes Nakamura wrote:

> Has anyone else seen problems with nfs being very slow in one direction? 
> 
> I can copy from an nfs mount to a local drive, and it transfers at about
> the speed I expect it to.  Going the other way, though, from a local
> drive to an nfs mount, is many (many) times slower. 

Perfectly normal behaviour for NFS I'm afraid.  The story is that under
the semantics defined by NFS when a server receives a write request it
must be 100% sure it is on the disc before it acks to the client. The
result is that it is quite slow.

For a start you can add the 'async' flag when mounting which basically
means don't force it to wait for it to be on the disc before carrying on.
(Some could argue that this is less afe).

Also play about with the block sizes by using rsize=8192,wsize=8192 on the
parameters and see what happens.

Dave

/------------------------------------------------------------------\
| Dr. David Alan Gilbert | Work: dg@px.uk.com (+44-161-286-2000)   |
| -------- G7FHJ --------|---------------------------------------- |
| Home: dave@treblig.org   http://www.treblig.clara.net            |
\------------------------------------------------------------------/


  reply	other threads:[~1999-08-05  9:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-05  9:33 slow nfs in one direction Wes Nakamura
1999-08-05  9:45 ` Dr. David Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-08-05 12:48 Larry Sendlosky
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox