From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fe50f,e5490fc5e47c1019,start X-Google-Attributes: gidfe50f,public X-Google-Thread: 10872d,e5490fc5e47c1019,start X-Google-Attributes: gid10872d,public X-Google-Thread: fee84,e5490fc5e47c1019,start X-Google-Attributes: gidfee84,public From: jrozes@gumbo.tcs.tufts.edu (Jonathan Rozes) Subject: Re: NFS3 timeout problems between OSF 3.0 and SGI Date: 1995/10/19 Message-ID: <465ttk$78k@d2.tufts.edu>#1/1 X-Deja-AN: 117785949 references: <45mjj2$kp0@d2.tufts.edu> organization: Tufts University reply-to: jrozes@tcs.tufts.edu newsgroups: comp.sys.sgi.admin,comp.unix.osf.osf1,comp.protocols.nfs In article , werme@alingo.zk3.dec.com (Eric Werme) writes: >jrozes@gumbo.tcs.tufts.edu (Jonathan Rozes) writes: [I'm adding comp.protocols.nfs to this thread in hopes of getting more feedback from the NFS-savvy. See comp.sys.sgi.admin or comp.unix.osf.osf1 for the original problem description.] >>The client is an Alpha 3000 M800 with ... 32 nfs I/O daemons. >This might be the problem. You are probably doing 8KB writes, which >turns into 2 FDDI fragments per write. With 32 I/O daemons, plus your >5 tar processes, you can have 37 outstanding writes, or 74 fragments. I don't >know about SGI, but BSD's network input queues only hold 50 fragments. If >SGI does the same, and if their nfsds are slow to pick up requests, Irix >could be discarding many of your requests. On the server, run "netstat -s" >and look under IP for discarded fragments. That would be good evidence. >On the other hand, if Irix will buffer more than 74 fragments, I'm not >sure what to look for. Perhaps running out of mbufs? 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. >The duphits implies that the server has handled a write, but so slowly that >the client timed out and retransmitted the request. This makes sense with what I've observed. It also jives with the bad RPC xIDs the client reports. >> Also note the high number of timeouts on the Alpha. >Typical of lost messages or slow server. Again, this also supports i/o bound processes. At this point I mostly need to hear from SGI gurus, as there is a gross lack of documentation on the NFS server. In fact the only adjustable kernel symbol listed in the manuals is mispelled (svc_maxdupreqs, bug #314311 reported by me) and has an uninformative description of how it affects NFS activity. So, the things I am most curious about: 1. How can I control the NFS server so that it doesn't wait so long to actually write out the cached requests? 2. The rtnetd process: it continually runs as one of the five most intensive processes on the system. This bothers me, since we have no real-time processes on the system. I can't disable it, since the kernel starts it up on its own for MP systems (refer to call number 0523718 is you work at SGI). More info on this would be appreciated. 3. The disks on the SGI are a Challenge RAID-5 (four disks in one set). Should I expect to see such slow i/o throughput to a RAID device? What tools can I use to monitor the RAID system? 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. Much thanks to Ric for his advice. Now it's SGI's turn ;-) jonathan -- +++ Jonathan Rozes, Unix Systems Programmer, Tufts University ++ jrozes@tcs.tufts.edu, http://gumbo.tcs.tufts.edu/ + Mind Over Liver: The liver probably contains 100 million cells, but 1,000 livers do not add up to a rich inner life.