From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4ff496afbe9f1dbd X-Google-Attributes: gidfee84,public From: werme@alingo.zk3.dec.com (Eric Werme) Subject: Re: Strange problem (crash/NFS) Date: 1997/03/25 Message-ID: #1/1 X-Deja-AN: 228123834 References: <5gv4vm$ej8@asimov.oit.umass.edu> Organization: Digital Equipment Corporation Reply-To: werme@zk3.dec.com Newsgroups: comp.unix.osf.osf1 peter@asimov.oit.umass.edu (Peter deFriesse) writes: >Somewhere off the top of my screen in article , > the esteemed werme@zk3.dec.com said: >> >>You might do better with the Alpha box as the server - that way you'd >>also get a fast V3 server. > BEWARE OF DEC's NFS V3!!! I installed an Alpha 2000 4/275 with >SWXCR RAID controller, lots-o-disk, and ADVFS in a mixed DU/Ultrix >environment.. The swxcr is pretty slow when it has to fill its cache pages. If you have a free PCI slot and don't have too many disks, a KZPSA is wonderful. If you need a lot of disks, a KZPSA and HSC40 appear to be the way to go these days. > The server fell flat on it's face. I am talking load averages >between 10 and the high 30's. I am talking ten minutes just to >log in to a client system. Flat on tis face. Do you know if all these were nfsd threads (ps axm)? What else runs on the server? > DEC tech support was worse than useless; they didn't even bother >themselves to answer my critical call. In the mean time I have >my management and 10,000-plus users crawling up my (well, let us >drop *that* thought). I passed on your post to someone who passed it on to someone who can rattle cages. No promises, though. > After some dinking around, I found that setting the client >systems to use nfsv2 resolved the problem. Response was fast >on the client systems and the load average on the server went >below zero (like 0.14 or so). The two major differences between V2 and V3 that tend to affect performance are "safe asynchronous writes" and READDIRPLUS. The former should speed up AdvFS, but will use more VM. The latter has been an issue for sites with very large directories that ar commonly used. (University user directories are the the classic problem). What happens is that READDIRPLUS is much like "ls -l" and returns both file names and attributes. NFS V2 uses READDIR, which is like "ls" and only returns names. One recent performance issue involved Solaris and AdvFS, and what happened to Solaris's sequential access pattern as it tried to do 32 KB I/O 8 KB at a time. Shouldn't be a problem here, as Ultrix does 8KB I/O. If you have any nfsstat or tcpdump data from then, I'd like to look at it. Can't give you too much time, though. vmstat too! I'd lean toward the big directories, though even there, I'd expect things like logging over a V2 mount to issue READDIRs and many lookups as shell startup does the equivalent of "pwd". Generally the best thing that comes from disabling READDIRPLUS is that filename completion is faster. -- <> Eric (Ric) Werme <> This space under reconstruction <> <> <> <>