NFS Tuning
- Server & Client => /etc/rc.local
*TCP Tuning
*echo 262144 > /proc/sys/net/core/rmem_default
*echo 8388608 > /proc/sys/net/core/wmem_max 131071
*echo 8388608 > /proc/sys/net/core/rmem_max
*echo "4096 87380 4194304" > /proc/sys/net/ipv4/tcp_rmem
*echo "4096 65536 4194304" > /proc/sys/net/ipv4/tcp_wmem
- Server & Client => /etc/sysctl.conf
*echo "kernel.shmall = 796917578" >> /etc/sysctl.conf
*echo "kernel.shmmax = 796917578" >> /etc/sysctl.conf
*echo "kernel.shmmni = 4096" >> /etc/sysctl.conf
- client => /etc/fstab
*192.168.0.111:/home /home nfs rw,bg,soft,intr,rsize=262144,wsize=262144 0 4
*192.168.0.111:/opt /opt nfs ro,bg,soft,intr,rsize=262144,wsize=262144 0 4
*192.168.0.111:/usr /usr nfs ro,bg,soft,intr,rsize=262144,wsize=262144 0 4
Last modified 17 years ago
Last modified on Mar 20, 2008, 9:46:36 PM
Attachments (1)
-
kerrighed_tuning.sh
(630 bytes) -
added by rider 17 years ago.
Kerrighed NFS Performance Tuning
Download all attachments as: .zip