From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Goetzman Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: NFS UDP fast server slow client problems Date: Thu, 15 Jan 2004 09:39:13 -0600 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <4006B421.4030408@bmc.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1074181185 4131 80.91.224.253 (15 Jan 2004 15:39:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Jan 2004 15:39:45 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Jan 15 16:39:40 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1Ah9au-00012K-00 for ; Thu, 15 Jan 2004 16:39:40 +0100 Original-Received: (qmail 11416 invoked by uid 5); 15 Jan 2004 15:39:33 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 11401 invoked by uid 49493); 15 Jan 2004 15:39:33 -0000 Original-Received: from dgoetzma@bmc.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-5.4/5.0):. Processed in 0.925697 secs); 15 Jan 2004 15:39:33 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 15 Jan 2004 15:39:32 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HRJ007MAFHNN3@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 15 Jan 2004 10:39:31 -0500 (EST) Original-Received: from babbler.bmc.com (fw-us-hou19.bmc.com [198.207.223.240]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HRJ00GATFHGXL@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 15 Jan 2004 10:39:17 -0500 (EST) Original-Received: from color.bmc.com (localhost [127.0.0.1]) by babbler.bmc.com (8.10.2-BMC/8.10.2) with ESMTP id i0FFdDH11139 for ; Thu, 15 Jan 2004 09:39:13 -0600 (CST) Original-Received: from bmc.com by color.bmc.com (8.9.3/1.1.29.3/13Nov03-0814AM) id JAA0001339163; Thu, 15 Jan 2004 09:39:13 -0600 (CST) Original-To: Tru64 Managers X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 Xref: main.gmane.org gmane.os.tru64.managers:6213 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6213 I was not able to resolve this issue, but it appears we at least understand the problem. A recap... NFS server = Tru64/TruCluster server(5.1A+pk5) using (2) ES40's, gigabit attached. NFS clients = various Tru64 5.1A and 5.1B on older alpha's, 100BT attached. NFS slow on these clients, NFS server not responding and then NFS server OK messages repeat in syslog. The interesting part is that the Tru64 clients mount (via automounter) using NFSV3, UDP. The server offers a NFS r/w buffer size of 49152 and the Tru64 client decides "Sure, I can do that". Other clients seem to trim back and use 32K (or less). Seems to work if the Tru64 client is fast enough. The old and slow Tru64 alpha systems do not run well at all. The server apparently is over running the client and IP packets are dropped. The large r/w size creates a burst of many IP packets and the client is overrun and packets dropped. NFS UDP starts it's timeout retransmission algorithms and all slows way down (like stopped for a short time). NFS UDP does not like networks that drop packets. A well known issue. The dropped packets can be confirmed on the client by running "netstat -s" and observing the "fragments dropped after timeout" counter. Any attempt to tune seems to not help. I was able to confirm that the udp_sendspace and udp_recvspace do NOT have any effect on NFS on Tru64 (as stated in the tuning docs for Tru64). A manual mount with the nfs options set to mount "tcp", OR the r/w size set much lower (like 8192 or 1024 even) when using udp works OK. So, what I really need to do if I want to use automounter (and we do) is change the default mount options used by automounter JUST ON THE SLOW clients. Apparently there is no way to do that. I may consider putting a 100BT card in the server and have the slow clients use that interface on the server so the pipe will be 100BT to 100BT instead of the 1000BT to 100BT. Best I can do I guess. That is all. Thanks to all that responded and helped confirm and/or provide new info on this. Dan Goetzman