Blame SOURCES/tuned-2.18.0-rhel-8-profiles.patch

3aa8a1
diff --git a/profiles/latency-performance/tuned.conf b/profiles/latency-performance/tuned.conf
8d5899
index d200b5c..877229f 100644
3aa8a1
--- a/profiles/latency-performance/tuned.conf
3aa8a1
+++ b/profiles/latency-performance/tuned.conf
3aa8a1
@@ -32,3 +32,16 @@ vm.dirty_background_ratio=3
3aa8a1
 # 100 tells the kernel to aggressively swap processes out of physical memory
3aa8a1
 # and move them to swap cache
3aa8a1
 vm.swappiness=10
3aa8a1
+
3aa8a1
+[scheduler]
3aa8a1
+# ktune sysctl settings for rhel6 servers, maximizing i/o throughput
3aa8a1
+#
3aa8a1
+# Minimal preemption granularity for CPU-bound tasks:
3aa8a1
+# (default: 1 msec#  (1 + ilog(ncpus)), units: nanoseconds)
3aa8a1
+sched_min_granularity_ns = 3000000
3aa8a1
+sched_wakeup_granularity_ns = 4000000
3aa8a1
+
3aa8a1
+# The total time the scheduler will consider a migrated process
3aa8a1
+# "cache hot" and thus less likely to be re-migrated
3aa8a1
+# (system default is 500000, i.e. 0.5 ms)
3aa8a1
+sched_migration_cost_ns = 5000000
3aa8a1
diff --git a/profiles/sap-hana/tuned.conf b/profiles/sap-hana/tuned.conf
8d5899
index aeecf53..8dcee57 100644
3aa8a1
--- a/profiles/sap-hana/tuned.conf
3aa8a1
+++ b/profiles/sap-hana/tuned.conf
3aa8a1
@@ -20,3 +20,7 @@ kernel.numa_balancing = 0
3aa8a1
 vm.dirty_ratio = 40
3aa8a1
 vm.dirty_background_ratio = 10
3aa8a1
 vm.swappiness = 10
3aa8a1
+
3aa8a1
+[scheduler]
3aa8a1
+sched_min_granularity_ns = 3000000
3aa8a1
+sched_wakeup_granularity_ns = 4000000
3aa8a1
diff --git a/profiles/throughput-performance/tuned.conf b/profiles/throughput-performance/tuned.conf
3aa8a1
index 98c6b26..ebb3f7d 100644
3aa8a1
--- a/profiles/throughput-performance/tuned.conf
3aa8a1
+++ b/profiles/throughput-performance/tuned.conf
3aa8a1
@@ -58,9 +58,31 @@ vm.dirty_background_ratio = 10
3aa8a1
 # and move them to swap cache
3aa8a1
 vm.swappiness=10
3aa8a1
 
3aa8a1
+[scheduler]
3aa8a1
+# ktune sysctl settings for rhel6 servers, maximizing i/o throughput
3aa8a1
+#
3aa8a1
+# Minimal preemption granularity for CPU-bound tasks:
3aa8a1
+# (default: 1 msec#  (1 + ilog(ncpus)), units: nanoseconds)
3aa8a1
+sched_min_granularity_ns = 10000000
3aa8a1
+
3aa8a1
+# SCHED_OTHER wake-up granularity.
3aa8a1
+# (default: 1 msec#  (1 + ilog(ncpus)), units: nanoseconds)
3aa8a1
+#
3aa8a1
+# This option delays the preemption effects of decoupled workloads
3aa8a1
+# and reduces their over-scheduling. Synchronous workloads will still
3aa8a1
+# have immediate wakeup/sleep latencies.
3aa8a1
+sched_wakeup_granularity_ns = 15000000
3aa8a1
+
3aa8a1
 # Marvell ThunderX
3aa8a1
 [sysctl.thunderx]
3aa8a1
 type=sysctl
3aa8a1
 uname_regex=aarch64
3aa8a1
 cpuinfo_regex=${thunderx_cpuinfo_regex}
3aa8a1
 kernel.numa_balancing=0
3aa8a1
+
3aa8a1
+# AMD
3aa8a1
+[scheduler.amd]
3aa8a1
+type=scheduler
3aa8a1
+uname_regex=x86_64
3aa8a1
+cpuinfo_regex=${amd_cpuinfo_regex}
3aa8a1
+sched_migration_cost_ns=5000000
3aa8a1
diff --git a/profiles/virtual-host/tuned.conf b/profiles/virtual-host/tuned.conf
8d5899
index 5301d9f..74a5fb0 100644
3aa8a1
--- a/profiles/virtual-host/tuned.conf
3aa8a1
+++ b/profiles/virtual-host/tuned.conf
3aa8a1
@@ -14,3 +14,9 @@ vm.dirty_background_ratio = 5
3aa8a1
 [cpu]
3aa8a1
 # Setting C3 state sleep mode/power savings
8d5899
 force_latency=cstate.id_no_zero:3|70
3aa8a1
+
3aa8a1
+[scheduler]
3aa8a1
+# The total time the scheduler will consider a migrated process
3aa8a1
+# "cache hot" and thus less likely to be re-migrated
3aa8a1
+# (system default is 500000, i.e. 0.5 ms)
3aa8a1
+sched_migration_cost_ns = 5000000