[CentOS] NFS performance - default rsize

Mon Jun 21 14:03:06 UTC 2010
John Doe <jdmls at yahoo.com>

From: Alexandre Lecuyer <alex.ranskis at gmail.com>
> We've had an interesting NFS performance issue with the 
> following setup.
> Clients : CentOS 5.5, kernel 2.6.18-194.el5
> Server : Solaris 10 kernel Generic_142901-08
> /proc/mounts shows rsize has been negotiated to 1mB
> If we force rsize to a smaller value, 32kB, the problem goes away and
> we're back around 70/80 mB/s read performance.

Not sure but the nfs faq says to look at /usr/include/linux/nfsd/const.h

/*
 * Maximum blocksize supported by daemon currently at 32K
 */
#define NFSSVC_MAXBLKSIZE       (32*1024)

JD