Hi Listers, We recently found that the Performance of the NFS Client in FreeBSD is worse than that in Linux.
Linux [/net/iscsi] -jnlin- sudo ls -al /net/iscsi/mysql/blog-2/var/pixblog_2/blogarticle.ibd -rw-rw---- 1 3306 3306 734003200 2008-11-27 00:13 /net/iscsi/mysql/blog-2/var/pixblog_2/blogarticle.ibd Linux [/net/iscsi] -jnlin- uname -a Linux proxy 2.6.22.6-Linux #1 Mon Sep 3 11:54:48 CST 2007 i686 GNU/Linux Linux [/net/iscsi] -jnlin- sudo rsync --progress /net/iscsi/mysql/blog-2/var/pixblog_2/blogarticle.ibd /tmp/ blogarticle.ibd 734003200 100% 15.16MB/s 0:00:46 (xfer#1, to-check=0/1) FreeBSD [/net/iscsi] -jnlin- uname -a FreeBSD newphp 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #3: Tue Nov 25 15:55:33 CST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL i386 FreeBSD [/net/iscsi] -jnlin- sudo rsync --progress /net/iscsi/mysql/blog-2/var/pixblog_2/blogarticle.ibd /tmp/ blogarticle.ibd 734003200 100% 5.66MB/s 0:02:03 (xfer#1, to-check=0/1) It's about 1/3 of NFS client in Linux. We have tuned TCP recv/send buffer, and got no gain. The mount parameters are: (We use amd) rw,nfsv3,lockd,grpid,intr,soft,cache,nodev,resvport,timeo=10,retrans=3,async,rsize=1024,wsize=1024,noatime Does anyone has any suggestion to get the performance better? Thank you all! _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"