NFS 内核参数调优

cat >>/etc/sysctl.conf<<EOF
net.core.wmem_default = 8388608 【发送套接字缓冲区大小的默认值】

net.core.rmem_default = 8388608 【接收套接字缓冲区大小的默认值】

net.core.rmem_max = 16777216 【接收套接字缓冲区大小的最大值】

net.core.rmem_max = 16777216 【发送套接字缓冲区大小的最大值】
EOF

sysctl -p

猜你喜欢

转载自blog.51cto.com/13588698/2153179
nfs
今日推荐