Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: nospam@zk3.dec.com (Eric Werme - replace nospam with werme)
Subject: Re: Interesting NFS problem
Date: 1999/07/15	[thread overview]
Message-ID: <7ml9q1$v1k$1@nntpd.lkg.dec.com> (raw)
In-Reply-To: 874sj8nb6q.fsf@romulus.bland.fido.de

Tobias Ernst <tobi@bland.fido.de> writes:


>The problem is a performance problem. Reading from the NFS server is quite
>fast, but writing, especially with many smaller files, very slow.

>For testing purposes we replaced the 500au server with a P200 box with 64 MB
>RAM running Linux, and, without optimizing anything, instantly got a speed
>improvement of factor 3 in the writing direction. This really astonished us.

Linux is more interested in speed than sanctity of your data and does
deferred I/O in places where Tru64 does synchronous I/O.  If Tru64
says it created the file, it will still be there if power goes away a
millisecond later.  It's a lot easier to figure out who to sue if our
NFS server loses your files than if a Linux server loses them.

I'm not certain, but I think even with AdvFS, you have to wait for
synchronous writes of the log file.  You do win on fewer seeks, but
AdvFS does not make creating files a CPU-only exercise.

>Could you give us some hints on what to do to improve the situation or on how
>to debug it properly?

One of the best things to do is install a Prestoserve board.  It can
be configured to hold synchronously written data in its NVRAM instead
of waiting for it to be written to disk.  Caveat - can't be used on
a ASE cluster because the cached data can't be failed over to the
other server.  Also, some high end disk controllers (e.g. HSZs) have
a NVRAM cache that performs similarly.
--
<>    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  <>



  parent reply	other threads:[~1999-07-15  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           ` Jyrki Havia
1999-07-14  4:00           ` Tobias Ernst
1999-07-14  4:00             ` Serguei Patchkovskii
1999-07-15  4:00     ` Eric Werme - replace nospam with werme [this message]
1999-07-16  4:00       ` Tobias Ernst
1999-07-19  4:00         ` Eric Werme - replace nospam with werme
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