Increase the nfs access cache timeout from 2 to 60. The latter is a
more appropriate value and is also the default set by the kernel. I could not find a justification of why rc.conf began overriding it back in 1998. This dramatically cuts NFS traffic on e.g. a busy system with NFS root. Reviewed by: mohans MFC After: 2 weeks
This commit is contained in:
parent
2c24bd34d6
commit
8f8d013769
@ -235,7 +235,7 @@ amd_program="/usr/sbin/amd" # path to amd, if you want a different one.
|
||||
amd_flags="-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map"
|
||||
amd_map_program="NO" # Can be set to "ypcat -k amd.master"
|
||||
nfs_client_enable="NO" # This host is an NFS client (or NO).
|
||||
nfs_access_cache="2" # Client cache timeout in seconds
|
||||
nfs_access_cache="60" # Client cache timeout in seconds
|
||||
nfs_server_enable="NO" # This host is an NFS server (or NO).
|
||||
nfs_server_flags="-u -t -n 4" # Flags to nfsd (if enabled).
|
||||
mountd_enable="NO" # Run mountd (or NO).
|
||||
|
Loading…
x
Reference in New Issue
Block a user