47 lines
1.3 KiB
Diff
47 lines
1.3 KiB
Diff
|
From 05739d0719e3fc8a1cb0954f0b410e429be5d7f1 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad@redhat.com>
|
||
|
Date: Wed, 7 Apr 2021 19:55:09 +0200
|
||
|
Subject: [PATCH] mssql: update profile to be in sync with MS recommendations
|
||
|
MIME-Version: 1.0
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
Resolves: rhbz#1942733
|
||
|
|
||
|
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
|
||
|
---
|
||
|
profiles/mssql/tuned.conf | 17 +++++++++++++++--
|
||
|
1 file changed, 15 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/profiles/mssql/tuned.conf b/profiles/mssql/tuned.conf
|
||
|
index 35e208a8..1213a0cb 100644
|
||
|
--- a/profiles/mssql/tuned.conf
|
||
|
+++ b/profiles/mssql/tuned.conf
|
||
|
@@ -6,11 +6,24 @@
|
||
|
summary=Optimize for MS SQL Server
|
||
|
include=throughput-performance
|
||
|
|
||
|
+[cpu]
|
||
|
+force_latency=5
|
||
|
+
|
||
|
[vm]
|
||
|
-transparent_hugepage.defrag=always
|
||
|
+# For multi-instance SQL deployments use 'madvise' instead of 'always'
|
||
|
+transparent_hugepages=always
|
||
|
|
||
|
[sysctl]
|
||
|
-vm.max_map_count=800000
|
||
|
+vm.swappiness=1
|
||
|
+vm.dirty_background_ratio=3
|
||
|
+vm.dirty_ratio=80
|
||
|
+vm.dirty_expire_centisecs=500
|
||
|
+vm.dirty_writeback_centisecs=100
|
||
|
+vm.max_map_count=1600000
|
||
|
+net.core.rmem_default=262144
|
||
|
+net.core.rmem_max=4194304
|
||
|
+net.core.wmem_default=262144
|
||
|
+net.core.wmem_max=1048576
|
||
|
kernel.numa_balancing=0
|
||
|
kernel.sched_latency_ns=60000000
|
||
|
kernel.sched_min_granularity_ns=15000000
|