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: Tobias Ernst Subject: Re: Interesting NFS problem Date: 1999/07/13 Message-ID: <874sj8juxm.fsf@romulus.bland.fido.de>#1/1 X-Deja-AN: 500597697 Sender: tobi@romulus.bland.fido.de References: <930248785.505205@dmz4.imec.be> <7ldu7n$s9o$1@nntpd.lkg.dec.com> <874sj8nb6q.fsf@romulus.bland.fido.de> <7mfoes$gv6@ds2.acs.ucalgary.ca> Organization: Comp.Center (RUS), U of Stuttgart, FRG Newsgroups: comp.unix.osf.osf1 Hallo! > TCP mem-mem: 11.24Mbyte/second > NFSv3 sequential read: 3.39Mbyte/second > NFSv3 sequential write: 4.14Mbyte/second > 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: Our cabling is perfectly well, all cards are running full duplex and are connected directly to a Cisco switch with STP cables. There is no TCP/IP throughput problem at all, ftp, X11, several benchmarks and all other services yield marvellous throughput rates, even if I enforce situations where full duplex is fully used. If I just copy a large file over NFS, I get the same throughput rates that you do. Only that benchmarks like this usally have little to do with the real world situation. The problem I was speaking of occurs when working with many small files, like it is done in real world situations. Like unpacking a source code tarball onto a NFS drive, like compiling source code, etc. pp. This is what our users are doing most of the time, and it simply is too slow given what kind of hardware we have as server. I take my performance measures by using a large source code tarball (like the emacs sources) and unpacking it from NFS to a local disk (fast) and from a local disk to a NFS disk (terribly slow). This benchmark shows why NFS feels so slow for our users even though we have acceptable plain throughput rates. I suspect the problem has to do with the NFS server waiting for the file being written entirely to the local hard disk before sending an acknowledgement and the client waiting for that acknowledgement before transferring the next file, or something like that (I am not firm in NFS protocol internals). And again, swapping the DEC server with a Linux server (of much less powerful hardware) gives a factor three speed improvement. Kind Regards, Tobias.