NFS kernel optimization
Recommendations for NFS kernel optimization
Optimization option description
/ proc/sys/net/core/rmem_default: this file specifies the default value (in bytes) to accept the socket buffer size, with a default setting of 124928.
/ proc/sys/net/core/rmem_max: this file specifies the maximum accept socket buffer size in bytes, with a default setting of 124928.
/ proc/sys/net/core/wmem_default: this file specifies the default value of the send socket buffer size in bytes, with a default setting of 124928.
/ proc/sys/net/core/wmem_max: this file specifies the maximum send socket buffer size in bytes, with a default setting of 124928.
The specific kernel optimization commands are as follows:
Cat > > / etc/sysctl.conf