[CentOS] NFS performance - default rsize

Mon Jun 21 21:57:18 UTC 2010
James Pearson <james-p at moving-picture.com>

Alexandre Lecuyer wrote:
> Hi list,
> 
> 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
> 
> Reading a file (not cached) with dd : dd if=file1 of=/dev/null
> bs=1024k count=100
> performance is around.. 700 kB/s !
> 
> /proc/mounts shows rsize has been negotiated to 1mB

Have you tested the same thing with a Linux NFS server?

The CentOS 5.x kernel has a maximum server [rw]size of 32Kb, so you 
would need to use something with a more recent kernel to get [rw]sizes 
to be 1Mb.

James Pearson