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