From owner-freebsd-stable@FreeBSD.ORG Wed Jul 5 17:48:59 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 4951E16A4E6 for ; Wed, 5 Jul 2006 17:48:59 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B6E643D53 for ; Wed, 5 Jul 2006 17:48:58 +0000 (GMT) (envelope-from freebsd@hub.org) Received: from localhost (wm.hub.org [200.46.204.128]) by hub.org (Postfix) with ESMTP id F3A5E290C20; Wed, 5 Jul 2006 14:48:55 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 40807-10; Wed, 5 Jul 2006 17:48:57 +0000 (UTC) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 285C1290C1E; Wed, 5 Jul 2006 14:48:55 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1027) id 3F4474825E; Wed, 5 Jul 2006 14:48:53 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 39B4837EC9; Wed, 5 Jul 2006 14:48:53 -0300 (ADT) Date: Wed, 5 Jul 2006 14:48:53 -0300 (ADT) From: User Freebsd To: Michel Talon In-Reply-To: <20060705133329.GA65123@lpthe.jussieu.fr> Message-ID: <20060705144809.F1171@ganymede.hub.org> References: <20060705133329.GA65123@lpthe.jussieu.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org 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 17:48:59 -0000 On Wed, 5 Jul 2006, Michel Talon wrote: >> 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. What are others using for ethernet? In your case, you say you are running between fxp cards ... I've heard some report, in another thread, problems with the bge driver ... could we be possibly talking internet vs nfs issues? ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664