From owner-freebsd-questions Tue Dec 23 12:06:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA03619 for questions-outgoing; Tue, 23 Dec 1997 12:06:15 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from pop.uniserve.com (pop.uniserve.com [204.244.156.3]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA03612 for ; Tue, 23 Dec 1997 12:06:11 -0800 (PST) (envelope-from tom@uniserve.com) Received: from shell.uniserve.com [204.244.186.218] by pop.uniserve.com with smtp (Exim 1.73 #1) id 0xkaad-0000LR-00; Tue, 23 Dec 1997 12:06:07 -0800 Date: Tue, 23 Dec 1997 12:06:05 -0800 (PST) From: Tom To: Evan Champion cc: freebsd-questions@freebsd.org Subject: Re: Improving NFS Performance In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 23 Dec 1997, Evan Champion wrote: > On Tue, 23 Dec 1997, Evan Champion wrote: > > > On local disks, I am able to get transfer rates in the megabytes per > > second; from the NFS server, I am seeing a ceiling of about 40 _kilobytes_ > > per second! It is so poor that I am actually able to see the difference > > connected over ISDN, where an FTP from the server would net 15 kBps, but I > > only get 9 FTP'ing from the mounted disk on one of the clients. > > I decided to see what would happen if I used nfsv2 instead of nfsv3. My > transfer rates went from 40 kilobytes per second to 3-4 megabytes per > second! For NFSv2, were you using udp or tcp mounts? > Can someone explain to me why that might be? :-) - Poor options for nfsv2 - Bad interaction with network card. NFS udp can overrun some cards too easily, meaning the card is always dropping packets. I belive tcp mounts will back off better. > Thanks. > > Evan Tom