From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8d13b028d3b42bf0 X-Google-Attributes: gidfee84,public From: nospam@zk3.dec.com (Eric Werme - replace nospam with werme) Subject: Re: Interesting NFS problem Date: 1999/07/15 Message-ID: <7ml9q1$v1k$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 501428582 References: <930248785.505205@dmz4.imec.be> <7ldu7n$s9o$1@nntpd.lkg.dec.com> <874sj8nb6q.fsf@romulus.bland.fido.de> Organization: Digital Equipment Corporation Reply-To: (Replace nobody with werme) nobody@zk3.dec.com Newsgroups: comp.unix.osf.osf1 Tobias Ernst 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 <> <> <> Compaq Computer Corp. <> <> <> http://www.cyberportal.net/werme <>