NFS server - /proc/net/rpc/nfsd

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Feb 25 23:19:17 UTC 2008


On Tue, Feb 19, 2008 at 03:14:20PM -0500, Asaf Maruf wrote:
> Hi
> Here are some tips you could use to improve overall performance:
> 
> 16 is a good number to start with. Increasing the number of threads for
> non-Solaris OS can create performance issues as memory is allocated upfront
> and threads are activated on every request.
> 
> Run nfsstat -rc on the client. The value under TimeOuts should be small
> indicating a healthy network.  Ensure that both server and clients are
> running the current NFS version 3 or 4. Can also force server and clients to
> use TCP like so:
> mount -o proto=tcp server:/export    /nfs
> 
>  Using the mount command, the read and write blocks can be increased to 32k
> for better performance
> 
> Some recommended values for improving NFS performance:
> 
> MTU size increase to 4000-9000 bytes

Hard to do unless you run gigabit ethernet with jumbo frame support.

> NFS block size 8KBytes
> Increasing hard disk speed by using hdparm

If you have to do that these days, then you should upgrade your kernel
to something a bit more up to date.

--
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list