From: nospam@zk3.dec.com (Eric Werme - replace nospam with werme)
Subject: Re: Interesting NFS problem
Date: 1999/07/19 [thread overview]
Message-ID: <7n067s$sgk$1@nntpd.lkg.dec.com> (raw)
In-Reply-To: 87r9m84sz2.fsf@romulus.bland.fido.de
Tobias Ernst <tobi@bland.fido.de> writes:
>There is one thing that I still do not understand. If I work directly on the
>server, working with many large small yields marvellous performance (perhaps
small files?
>I should have mentioned that explicitly). Only if I do exactly the same work
>from a client that has mounted that server disk via NFS the performance drops
>that much.
>So I don't understand why everybody suggests that the problem is with the
>server filesystem and its mount options? Shouldn't AdvFS perform the same way
>no matter if "tar" running locally or if "nfsd" is writing to the disk?
One thing that NFS clients tend to do is ensure that all data is on disk
at close() time. One hassle with NFS is that the client write() call
can't tell it the file system is full without waiting for a reply from
the server. (On local access, you can allocate disk blocks without
taking the time to write them.) I don't think file _data_ is recorded
in the AdvFS log.
If you look at tcpdump data, you'll see that Tru64 clients issue
NFS COMMIT calls near the last block of the file. (It might follow
that with a synchronous write.) That may be the source of the
synchronous writes you're seeing. Linux's NFS V2 (where all writes
are supposed to be synchronous) doesn't bother to wait.
V3 introduced safe async writes, but they don't help the many small
files case. That's one of the things that Presto can change from
I/O bound to compute bound.
--
<> Eric (Ric) Werme <> The above is unlikely to contain <>
<> ROT-13 addresses: <> official claims or policies of <>
<> <jrezr@mx3.qrp.pbz> <> Compaq Computer Corp. <>
<> <jrezr@plorecbegny.arg> <> http://www.cyberportal.net/werme <>
next prev parent reply other threads:[~1999-07-19 4:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-24 4:00 Interesting NFS problem Marc Elsen
1999-06-25 4:00 ` Nikola Milutinovic
1999-06-30 4:00 ` Eric Werme - replace nospam with werme
1999-07-13 4:00 ` Tobias Ernst
1999-07-13 4:00 ` Serguei Patchkovskii
1999-07-13 4:00 ` Tobias Ernst
1999-07-13 4:00 ` Serguei Patchkovskii
1999-07-14 4:00 ` Tobias Ernst
1999-07-14 4:00 ` Serguei Patchkovskii
1999-07-14 4:00 ` Jyrki Havia
1999-07-15 4:00 ` Eric Werme - replace nospam with werme
1999-07-16 4:00 ` Tobias Ernst
1999-07-19 4:00 ` Eric Werme - replace nospam with werme [this message]
1999-07-20 4:00 ` Tobias Ernst
1999-07-22 4:00 ` Eric Werme - replace nospam with werme
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