Blame SOURCES/tuned-2.3.0-network-throughput.patch

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