On 24 Jul 2002 19:27:06 Andi Kleen wrote:
> Initially I used the SGI XFS ISO (RH7.1 I think) to set
> the system up. The system ran OK except for frequent rpc timeout
> problems reported by the NFS clients but only during write operations.
> The problem could be made to happen by setting processes running on
> each client which wrote data to the NFS server at the fastest rate
> possible, i.e.:
>
> dd if=/dev/zero count=<bignumber> bs=<various> of=/big/file
[...]
A common problem with many older linux kernels is that NFS is using a 64K
socket buffer only. This can cause packets to get dropped when the buffer
queue is overloaded on the NFS server. What you can do is to increase
/proc/sys/net/core/[rw]mem_{default,max}. This has to be done before the
kernel nfs server is initialized, e.g. in the NFS server start script
before the daemons are started.
Newer kernels should do the tuning automatically. Same can be done on
the clients.
...
we are planning to integrate a gigabit interface (intel e1000) in our
fileserver (NFS) soon.
Could one of you point out some kernel (proc) tunings i should do ?
Or should the default settings work fine (and performant) ?
Christian
|