From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d67e1b23d3036eb2 X-Google-Attributes: gidfee84,public From: nospam@zk3.dec.com (Eric Werme - replace nospam with werme) Subject: Re: Solved: DEC <--> SUN NFS writes slow Date: 1999/04/23 Message-ID: <7fof95$q09$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 469781629 References: <371F1810.F3883DDB@imk.fzk.de> Organization: Digital Equipment Corporation Reply-To: (Replace nobody with werme) nobody@zk3.dec.com Newsgroups: comp.unix.osf.osf1 "Dr. Udo Grabowski" writes: >We had problems to write from our Alpha onto a NFS mounted disk on a Sun Sol.5.6 >for a couple of days. The KEY to solve this problem is to switch to NFS >VERSION 2 ! Just add -nfsv2 to the mount - options in /etc/fstab or >/etc/auto_master (if using automount). The performance increases by a factor >of 100 ! Suns and DEC's V3 implementations seem to be different. That makes no sense whatsoever. Sun and DEC have been faithful and active particpants at Connectathon since the outset. In all my tests this year V3 outperformed V2, as always. When dealing with performance changes of this magnitude, there's usually some sort of network configuration problem at the center of it. About the best I can guess here it that you're using 10BaseT (twisted pair) and have a full duplex/half duplex mismatch. These typically show up as good performance on small packets at a low rate (e.g. rlogin and telnet) and awful performance on large, fast transfers (e.g. NFS and FTP). They'll also trigger many errors reported by nfsstat and netstat, especially the output from "netstat -i -s". I could see NFS V2 work thanks to its synchronous writes if you are not running nfsiod. That would allow only one write in progress at a time and avoid much of the full/half problems. V3 uses asynchronous writes and the timing can be quite different. Well, maybe not. On the Digital Unix side, see the ifconfig "speed" option for setting the speed of an interface. And, of course, tcpdump or snoop traces (or both) can be very important. Start with "netstat -i -s". -Ric Werme -- <> Eric (Ric) Werme <> The above is unlikely to contain <> <> ROT-13 addresses: <> official claims or policies of <> <> <> Compaq Computer Corp. <> <> <> http://www.cyberportal.net/werme <>