From owner-freebsd-stable@FreeBSD.ORG Wed Jul 5 13:33:36 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5038816A4E5 for ; Wed, 5 Jul 2006 13:33:36 +0000 (UTC) (envelope-from michel@lpthe.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50ED243D5A for ; Wed, 5 Jul 2006 13:33:32 +0000 (GMT) (envelope-from michel@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.13.6/jtpda-5.4) with ESMTP id k65DXUYD041804 for ; Wed, 5 Jul 2006 15:33:31 +0200 (CEST) X-Ids: 165 Received: from niobe.lpthe.jussieu.fr (niobe.lpthe.jussieu.fr [134.157.10.41]) by parthe.lpthe.jussieu.fr (Postfix) with ESMTP id 73EA89FB19 for ; Wed, 5 Jul 2006 15:33:30 +0200 (CEST) Received: by niobe.lpthe.jussieu.fr (Postfix, from userid 2005) id 9161235; Wed, 5 Jul 2006 15:33:29 +0200 (CEST) Date: Wed, 5 Jul 2006 15:33:29 +0200 From: Michel Talon To: freebsd-stable@freebsd.org Message-ID: <20060705133329.GA65123@lpthe.jussieu.fr> Mail-Followup-To: Michel Talon , freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (shiva.jussieu.fr [134.157.0.165]); Wed, 05 Jul 2006 15:33:31 +0200 (CEST) X-Virus-Scanned: ClamAV 0.88.2/1585/Tue Jul 4 22:39:34 2006 on shiva.jussieu.fr X-Virus-Status: Clean X-j-bayes: Bayes filter score (experimental) : 0.312 XXXXXX X-Miltered: at shiva.jussieu.fr with ID 44ABBFAA.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! Subject: Re: NFS Locking Issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2006 13:33:36 -0000 > So it may be relevant to say that i have kernels without IPV6 support. > Recall that i have absolutely no problem with the client in FreeBSD-6.1. > Tomorrow i will test one of the 6.1 machines as a NFS server and the other as > a client, and will make you know if i see something. Well, i have checked between 2 FreeBSD-6.1-RELEASE machines on the network, both have fxp ethernet driver running at 100 Mb/s, one is NFS server other NFS client. Both run lockd and statd. I have absolutely no problem exchanging files, for example if i begin to copy /usr/src through NFS from one machine to the other, which makes a lot of transactions of all sorts, i get: niobe# mount asmodee:/usr/src /mnt cp -R /mnt/src . ... after some time i interrupt the transfer niobe% du -sh . 131M . and during this time i observe the following type of statistics asmodee% netstat -w 1 -I fxp0 input (fxp0) output packets errs bytes packets errs bytes colls 542 0 84116 1330 0 1219388 0 515 0 72806 1290 0 1196330 0 501 0 95722 1081 0 741048 0 539 0 90704 1090 0 1228052 0 645 0 67888 902 0 1451098 0 405 0 81264 1609 0 604278 0 503 0 74218 709 0 924422 0 500 0 98904 973 0 619350 0 550 0 100122 855 0 836328 0 615 0 79336 1081 0 862772 0 577 0 82862 901 0 1005024 0 which looks decent to me. Doing the same with just one big file no problem either, and i get a transfer speed of 6.60 MB/s which is perhaps a little less than with linux, but nothing catastrophic. I get 8.20 MB/s for FreeBSD client interacting with the Linux server. Now netstat gives packets errs bytes packets errs bytes colls 785 0 123266 4716 0 6825600 0 759 0 139898 4530 0 7747276 0 852 0 124652 5106 0 6902566 0 863 0 128040 5170 0 7081738 0 811 0 123760 4862 0 6851498 0 789 0 123540 4720 0 6834310 0 840 0 115378 5024 0 6382114 0 So up to what i can see NFS works OK for me on FreeBSD-6.1. So the main difference with other people cases may be that i have removed IPV6 support from kernel. -- Michel TALON