From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fe50f,e5490fc5e47c1019 X-Google-Attributes: gidfe50f,public X-Google-Thread: 10872d,e5490fc5e47c1019 X-Google-Attributes: gid10872d,public X-Google-Thread: fee84,e5490fc5e47c1019 X-Google-Attributes: gidfee84,public From: dmose@neon.netscape.com (Dan Mosedale) Subject: Re: NFS3 timeout problems between OSF 3.0 and SGI Date: 1995/10/21 Message-ID: <46a6r3$lb2@tera.mcom.com>#1/1 X-Deja-AN: 117884363 references: <45mjj2$kp0@d2.tufts.edu> <465ttk$78k@d2.tufts.edu> organization: Netscape Communications Corporation newsgroups: comp.sys.sgi.admin,comp.unix.osf.osf1,comp.protocols.nfs jrozes@tcs.tufts.edu writes: > I've changed the client to use 4k reads and writes. I've also decided that > the problem is definitely on the SGI side of things. Watching carefully > I can now run a test and watch all four CPUs go into an i/o wait every > few seconds, with the waits being long enough every once in a while to > cause the client to think the server is hung. If you're running IRIX 5.3, it's almost certainly worth calling SGI and getting their latest mega-NFS rollout patch. There are a LOT of bug-fixes in recent versions of this. > 4. A more detailed explanation of the svc_maxdupreqs variable. Does > lowering the number of cached NFS requests force the NFS server > to write out its changes more frequently, or does it simply cause > the server to encounter buffer overflows? A more detailed > explanation of kernel-level NFS stuff would be most helpful. I had a short discussion about this a while back, and (if my recollection is right) this is the deal: svc_maxdupreqs is not a performance thing, but instead deals with the NFS idempotency cache. The NFS protocol is supposed to guarantee that if a client doesn't hear back from a server for a while and resends a request such as a write or a link, that that request doesn't get executed twice. The way that this is "guaranteed" is that the server remembers the last X requests that it has received, and if it receives a duplicate, it throws it away. svc_maxdupreqs is the size of this cache. If the SGI kernel notices that things are rolling out of the cache (what it considers) too quickly, it spits a warning to the console suggesting to you that you the up the size. -- Dan Mosedale Systems Exorcist dmose@netscape.com Netscape Communications Corp.