Blob Blame History Raw
From a195fc06fe56ffcbeb2a9ad1a16af7fc38e0ffd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad@redhat.com>
Date: Fri, 14 Feb 2014 13:13:14 +0100
Subject: [PATCH 3/4] network-latency: added new profile
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Resolves: rhbz#1052418

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
---
 man/tuned-adm.8                     |  6 ++++++
 profiles/network-latency/tuned.conf | 15 +++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 profiles/network-latency/tuned.conf

diff --git a/man/tuned-adm.8 b/man/tuned-adm.8
index 443fefe..dfba025 100644
--- a/man/tuned-adm.8
+++ b/man/tuned-adm.8
@@ -111,6 +111,12 @@ CPU governor is set to performance andlocked to the low C states (by PM QoS).
 CPU energy performance bias to performance.
 
 .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
+tunes several other network related sysctl parameters.
+
+.TP
 .BI "desktop"
 Profile optimized for desktops based on balanced profile. It additionaly
 enables scheduler autogroups for better response of interactive applications.
diff --git a/profiles/network-latency/tuned.conf b/profiles/network-latency/tuned.conf
new file mode 100644
index 0000000..f4ec2de
--- /dev/null
+++ b/profiles/network-latency/tuned.conf
@@ -0,0 +1,15 @@
+#
+# tuned configuration
+#
+
+[main]
+include=latency-performance
+
+[vm]
+transparent_hugepages=never
+
+[sysctl]
+net.core.busy_read=50
+net.core.busy_poll=50 
+net.ipv4.tcp_fastopen=3
+kernel.numa_balancing=0
-- 
1.8.5.3