Date: Wed, 5 Jul 2006 14:48:53 -0300 (ADT) From: User Freebsd <freebsd@hub.org> To: Michel Talon <talon@lpthe.jussieu.fr> Cc: freebsd-stable@freebsd.org Subject: Re: NFS Locking Issue Message-ID: <20060705144809.F1171@ganymede.hub.org> In-Reply-To: <20060705133329.GA65123@lpthe.jussieu.fr> References: <20060705133329.GA65123@lpthe.jussieu.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060705144809.F1171>