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: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii) Subject: Re: Interesting NFS problem Date: 1999/07/13 Message-ID: <7mfoes$gv6@ds2.acs.ucalgary.ca>#1/1 X-Deja-AN: 500563526 References: <930248785.505205@dmz4.imec.be> <7ldu7n$s9o$1@nntpd.lkg.dec.com> <874sj8nb6q.fsf@romulus.bland.fido.de> Organization: The University of Calgary Newsgroups: comp.unix.osf.osf1 Tobias Ernst (tobi@bland.fido.de) wrote: : We have a collection of DEC 500au workstations, sixteen NFS3 clients (256 MB : RAM) and one box as server (640 MB RAM and two SCSI channels, all disks ADVFS : formatted). The network is 100 MBit switched ethernet. Very similar setup here: 100BaseTx (full-duplex) network running on 3COM SSII 3300, 500au's using AdvFS. Here are some timings (using a *single* 7200RPM 4.3Gb drive on the remote side): TCP mem-mem: 11.24Mbyte/second NFSv3 sequential read: 3.39Mbyte/second NFSv3 sequential write: 4.14Mbyte/second The NFSv3 write speed is in fact within 25% of the local disk write speed (unfortunately, I do not have the exact number at hand). Also note that writing is faster than reading. : The problem is a performance problem. Reading from the NFS server is quite : fast, but writing, especially with many smaller files, very slow. Untarring : a typical source code tarball is about factor 10 more slow if the tarball is : stroed locally and being untarred to a directory on the saver than if the : tarball is on the server and being untarred to a local disk. Check your cabling, network settings, and network configuration. Full-duplex vs. half-duplex mismatch is one common source of problems with NFS performance; having more than two NICs on a single full-duplex segment in another. Start with: netstat -i ; netstat -s ; netstat -s -I tu0 Cheers, /Serge.P -- home page: http://www.cobalt.chem.ucalgary.ca/ps/