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