Blame SOURCES/tuned-2.12-sap-hana-updated-tuning.patch

46722c
From 52156a00b590ef401b38dcc65720b344d67e86f6 Mon Sep 17 00:00:00 2001
46722c
From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad@redhat.com>
46722c
Date: Fri, 6 Dec 2019 16:37:11 +0100
46722c
Subject: [PATCH] sap-hana: updated tuning
46722c
MIME-Version: 1.0
46722c
Content-Type: text/plain; charset=UTF-8
46722c
Content-Transfer-Encoding: 8bit
46722c
46722c
Made sap-hana profile standalone.
46722c
46722c
Resolves: rhbz#1779821
46722c
46722c
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
46722c
---
46722c
 man/tuned-profiles-sap-hana.7 | 10 ++++++----
46722c
 profiles/sap-hana/tuned.conf  |  9 ++++++++-
46722c
 2 files changed, 14 insertions(+), 5 deletions(-)
46722c
46722c
diff --git a/man/tuned-profiles-sap-hana.7 b/man/tuned-profiles-sap-hana.7
46722c
index 3c3e7fe..d5648a3 100644
46722c
--- a/man/tuned-profiles-sap-hana.7
46722c
+++ b/man/tuned-profiles-sap-hana.7
46722c
@@ -30,10 +30,12 @@ The following profiles are provided:
46722c
 
46722c
 .TP
46722c
 .BI "sap\-hana"
46722c
-A performance optimized profile for the SAP HANA applications.
46722c
-It is based on throughput\-performance profile. It additionally disables
46722c
-transparent hugepages, locks CPU to the low C states (by PM QoS) and tunes sysctl
46722c
-regarding semaphores.
46722c
+A performance optimized profile for the SAP HANA applications. It disables
46722c
+power saving mechanisms and enables sysctl settings that improve throughput
46722c
+performance of disk and network IO. CPU governor is set to performance and CPU
46722c
+energy performance bias is set to performance. It also disables transparent
46722c
+hugepages, locks CPU to the low C states (by PM QoS) and tunes sysctl regarding
46722c
+semaphores.
46722c
 
46722c
 .SH "FILES"
46722c
 .nf
46722c
diff --git a/profiles/sap-hana/tuned.conf b/profiles/sap-hana/tuned.conf
46722c
index d74250b..8305f65 100644
46722c
--- a/profiles/sap-hana/tuned.conf
46722c
+++ b/profiles/sap-hana/tuned.conf
46722c
@@ -4,10 +4,12 @@
46722c
 
46722c
 [main]
46722c
 summary=Optimize for SAP HANA
46722c
-include=throughput-performance
46722c
 
46722c
 [cpu]
46722c
 force_latency=cstate.id:3|70
46722c
+governor=performance
46722c
+energy_perf_bias=performance
46722c
+min_perf_pct=100
46722c
 
46722c
 [vm]
46722c
 transparent_hugepages=never
46722c
@@ -15,3 +17,8 @@ transparent_hugepages=never
46722c
 [sysctl]
46722c
 kernel.sem = 32000 1024000000 500 32000
46722c
 kernel.numa_balancing = 0
46722c
+kernel.sched_min_granularity_ns = 3000000
46722c
+kernel.sched_wakeup_granularity_ns = 4000000
46722c
+vm.dirty_ratio = 40
46722c
+vm.dirty_background_ratio = 10
46722c
+vm.swappiness = 10
46722c
-- 
46722c
2.21.0
46722c