From c1f7362ecf68e1b105e485b95e2e62348d0e9ac3 Mon Sep 17 00:00:00 2001 From: Bin Xu Date: Fri, 11 May 2018 18:18:42 +0800 Subject: [PATCH] Fix 5178, update document for performance tunning (#5199) --- .../source/advanced/performance_tuning/linux_os_tuning.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/source/advanced/performance_tuning/linux_os_tuning.rst b/docs/source/advanced/performance_tuning/linux_os_tuning.rst index 315c83e36..331d140c0 100644 --- a/docs/source/advanced/performance_tuning/linux_os_tuning.rst +++ b/docs/source/advanced/performance_tuning/linux_os_tuning.rst @@ -9,13 +9,13 @@ Adjusting Operating System tunables can improve large scale cluster performance, The open file limits are important to high concurrence network services, such as ``xcatd``. For a large cluster, it is required to increase the number of open file limit to avoid **Too many open files** error. The default value is *1024* in most OS distributions, to add below configuration in ``/etc/security/limits.conf`` to increase to *14096*. :: - * soft nofiles 14096 - * hard nofiles 14096 + * soft nofile 14096 + * hard nofile 14096 #. Tuning Network kernel parameters: - There might be hundreds of hosts in a big network for large cluster, tuning the network kernel parameters for optimum throughput and latency could improve the performance of distributed application. For example, adding below configuration in ``/etc/sysctl.conf`` to increase the buffer. + There might be hundreds of hosts in a big network for large cluster, tuning the network kernel parameters for optimum throughput and latency could improve the performance of distributed application. For example, adding below configuration in ``/etc/sysctl.conf`` to increase the buffer size and queue length of **xCAT SSL listener** service access point ( port **3001** ). :: @@ -23,6 +23,7 @@ Adjusting Operating System tunables can improve large scale cluster performance, net.core.wmem_max = 33554432 net.core.rmem_default = 65536 net.core.wmem_default = 65536 + net.core.somaxconn = 8192 net.ipv4.tcp_rmem = 4096 33554432 33554432 net.ipv4.tcp_wmem = 4096 33554432 33554432