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