From owner-freebsd-hackers Tue Dec 15 16:44:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA24511 for freebsd-hackers-outgoing; Tue, 15 Dec 1998 16:44:51 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from news2.du.gtn.com (news2.du.gtn.com [194.77.9.57]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA24506 for ; Tue, 15 Dec 1998 16:44:48 -0800 (PST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely7.cicely.de (cicely.de [194.231.9.142]) by news2.du.gtn.com (8.8.6/8.8.6) with ESMTP id BAA23046; Wed, 16 Dec 1998 01:44:10 +0100 (MET) Received: from cicely.cicely.de (cicely.cicely.de [10.1.3.3]) by cicely7.cicely.de (8.9.0/8.9.0) with ESMTP id BAA19168; Wed, 16 Dec 1998 01:44:06 +0100 (CET) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.5.7]) by cicely.cicely.de (8.8.8/8.8.8) with ESMTP id BAA14761; Wed, 16 Dec 1998 01:44:04 +0100 (CET) Received: (from ticso@localhost) by cicely5.cicely.de (8.9.0/8.9.0) id BAA03992; Wed, 16 Dec 1998 01:44:00 +0100 (CET) Message-ID: <19981216014400.20185@cicely.de> Date: Wed, 16 Dec 1998 01:44:00 +0100 From: Bernd Walter To: Charles Owens , hackers@FreeBSD.ORG Subject: Re: NFS thoughts References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: ; from Charles Owens on Tue, Dec 15, 1998 at 10:10:16AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Dec 15, 1998 at 10:10:16AM -0500, Charles Owens wrote: > On Mon, 14 Dec 1998, Bernd Walter wrote: > > > I saw the same on my private hosts. > > Everythings the same to your case instead that I have a 100MBit FreeBSD Router > > between them. All lines are running Full-Duplex Point-to-Point. > > In my case I have a syslogentry telling me about a server down under some load > > and it took minutes till it says that the server is up again. > > It happend when using NFS3/TCP at this moment I'm using NFS2/UDP and it won't > > hang. > > I was at the Usenix LISA conference last week and in one of the > tutorials the issue of NFSv3/TCP stability and interoperability came > up. > > One user reported the SGI<->Solaris and even SGI<->SGI NFSv3 mounts > were flakey (with similar symptoms as described here). He eventually > traced the problem to the NFSv3/TCP's use of larger buffersizes. > These result in more intense bursts of network activity which would at > times overrun buffers in his Ethernet switch. He convinced his A switch should never have overruns. If a buffer gets full a switch is able to top receiving. On Half-Duplex lines a switch usualy create some collinsions on the receiving port top slow down thne sender. On Full-Duplex Ports there's a compareable method for doing the same. In any case it's a broken switch, nic, nic-driver or configuration of them. Very often people don't check their ethernets for errors due to Duplex-missonfigurations > network vendor to replace the switch with another with deeper buffers, > and his problem went away! > > With the original switch he found that the default 32K read/write > buffer size (as compared to UDP's default of 8K) was too much, but by > limiting it to 16K he was able to get by, but with some reduction in > performance. > > Could this be the issue that is plaguing our attempts to use NFSv3 > with FreeBSD? Or are there other known defects that are at fault. In my case there is only a FreeBSD Router between them. All Line are without any known problems. > > I'm guessing that with FreeBSD we'd use the -r and -w options of mount_nfs > to limit the read and write buffer sizes, though the manpage description > isn't quite as informative as what's provided with the Solaris: > > rsize=n Set the read buffer size to n bytes. > The default value is 32768 when using > Version 3 of the NFS protocol. When > using Version 2, the default value is > 8192. > > Does this mount_nfs option from Solaris indeed work the same way as > FreeBSD's -r option? > > later, > --- > ------------------------------------------------------------------------- > Charles N. Owens Email: owensc@enc.edu > http://www.enc.edu/~owensc > Network & Systems Administrator > Information Technology Services "Outside of a dog, a book is a man's > Eastern Nazarene College best friend. Inside of a dog it's > too dark to read." - Groucho Marx > ------------------------------------------------------------------------- > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- B.Walter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message