From 153afc6c9f7663ad083fbb764164e57737f7e4d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Fri, 14 Feb 2014 13:31:21 +0100 Subject: [PATCH 4/4] network-throughput: added new profile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: rhbz#1052421 Signed-off-by: Jaroslav Škarvada --- man/tuned-adm.8 | 5 +++++ profiles/network-throughput/tuned.conf | 15 +++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 profiles/network-throughput/tuned.conf diff --git a/man/tuned-adm.8 b/man/tuned-adm.8 index dfba025..c2a11a3 100644 --- a/man/tuned-adm.8 +++ b/man/tuned-adm.8 @@ -111,6 +111,11 @@ CPU governor is set to performance andlocked to the low C states (by PM QoS). CPU energy performance bias to performance. .TP +.BI network-throughput +Profile for throughput network tuning. It is based on the throughput-performance +profile. It additionaly increases kernel network buffers. + +.TP .BI network-latency Profile for low latency network tuning. It is based on the latency-performance profile. It additionaly disables transparent hugepages, NUMA balancing and diff --git a/profiles/network-throughput/tuned.conf b/profiles/network-throughput/tuned.conf new file mode 100644 index 0000000..fbc2b72 --- /dev/null +++ b/profiles/network-throughput/tuned.conf @@ -0,0 +1,15 @@ +# +# tuned configuration +# + +[main] +include=throughput-performance + +[sysctl] +# Increase kernel buffer size maximums. Currently this seems only necessary at 40Gb speeds. +# +# The buffer tuning values below do not account for any potential hugepage allocation. +# Ensure that you do not oversubscribe system memory. +net.ipv4.tcp_rmem="4096 87380 16777216" +net.ipv4.tcp_wmem="4096 16384 16777216" +net.ipv4.udp_mem="3145728 4194304 16777216" -- 1.8.5.3