Get the App
SLTechnology News&Howtos  ›  Network Security  › 

NFS kernel optimization

Shulou Source: shulou.com Published: 2022-06-01 05:21:26 11月25日 Update

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

Tags: Unit size socket byte file buffer buffer kernel maximum maximum command recommendation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Docker Shulou Tech Info macOS OPPO Reno