From owner-freebsd-stable Wed Mar 21 9:37: 7 2001 Delivered-To: freebsd-stable@freebsd.org Received: from dirac.th.physik.uni-bonn.de (dirac.th.physik.uni-bonn.de [131.220.161.119]) by hub.freebsd.org (Postfix) with SMTP id E6F6B37B73E for ; Wed, 21 Mar 2001 09:37:01 -0800 (PST) (envelope-from conrad@th.physik.uni-bonn.de) Received: (qmail 36716 invoked from network); 21 Mar 2001 17:33:43 -0000 Received: from merlin.th.physik.uni-bonn.de (131.220.161.121) by dirac.th.physik.uni-bonn.de with SMTP; 21 Mar 2001 17:33:43 -0000 Received: (qmail 4172 invoked by uid 145); 21 Mar 2001 17:33:43 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 21 Mar 2001 17:33:43 -0000 Date: Wed, 21 Mar 2001 18:33:43 +0100 (CET) From: Jan Conrad To: Alfred Perlstein Cc: Matt Dillon , Gordon Tetlow , Rich Morin , Subject: Re: NFS performance In-Reply-To: <20010321092336.A12319@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG to add some data: before dd client: netstat -i Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll fxp0 1500 00:02:b3:1f:f8:c5 1901001 0 771611 0 208240 fxp0 1500 131.220.160/2 merlin 2855995 - 2395666 - - lo0 16384 1624909 0 1624909 0 0 lo0 16384 127 localhost 80 - 80 - - server: netstat -i Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll fxp0 1500 00:90:27:1c:f3:79 7157753 0 4648694 0 2661459 fxp0 1500 131.220.160/2 einstein 11721570 - 10812723 - - lo0 16384 6168347 0 6168347 0 0 lo0 16384 127 localhost 92 - 92 - - dd if=/dev/zero of=zero bs=16k count=64x100 104857600 bytes transferred in 42.430910 secs (2471255 bytes/sec) afterwards: client: netstat -i Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll fxp0 1500 00:02:b3:1f:f8:c5 1980833 0 786612 0 230703 fxp0 1500 131.220.160/2 merlin 2938252 - 2413439 - - lo0 16384 1627675 0 1627675 0 0 lo0 16384 127 localhost 80 - 80 - - server: netstat -i Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll fxp0 1500 00:90:27:1c:f3:79 7172808 0 4728002 0 2674322 fxp0 1500 131.220.160/2 einstein 11738102 - 10893714 - - lo0 16384 6170041 0 6170041 0 0 lo0 16384 127 localhost 92 - 92 - - On Wed, 21 Mar 2001, Alfred Perlstein wrote: > * Jan Conrad [010321 05:43] wrote: > > ok - to sum up a bit.. > > > > - for a good LAN, use UDP > > - use v3 (this is what I thought) > > - use standard data sizes > > > > but still... > > > > Our network connection between client and server is going directly over a > > BaySwitch 450 24T, all interfaces set to 100baseTX, half-duplex. > > So the LAN is good. > > We run 4 nfsd's and 4 nfsiods on each machine. > > > > I did the mount as 'mount_nfs ....' > > Even so 'mount' does'nt show, I suppose I made a v3 mount (from the > > source code of mount_nfs). > > BTW, is there any way to figure that out? > > When in doubt run tcpdump. I really doubt that you're maxing out > at ~3MB/sec, I've done 11MB/sec on 100mb ether before. > > > Do you know what actually determines the writing speed in a case like > > our's? Network or disk? > > Y'know, it would be a hell of a lot easier to figure out what was > wrong if you showed us the mount flags you're using. > > > > -- Physikalisches Institut der Universitaet Bonn Nussallee 12 D-53115 Bonn GERMANY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message