You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
89 lines
2.9 KiB
89 lines
2.9 KiB
2 years ago
|
diff --git a/profiles/latency-performance/tuned.conf b/profiles/latency-performance/tuned.conf
|
||
9 months ago
|
index 1dec690..e592138 100644
|
||
2 years ago
|
--- a/profiles/latency-performance/tuned.conf
|
||
|
+++ b/profiles/latency-performance/tuned.conf
|
||
9 months ago
|
@@ -35,3 +35,17 @@ vm.dirty_background_ratio=3
|
||
2 years ago
|
# 100 tells the kernel to aggressively swap processes out of physical memory
|
||
|
# and move them to swap cache
|
||
|
vm.swappiness=10
|
||
|
+
|
||
|
+[scheduler]
|
||
9 months ago
|
+runtime=0
|
||
2 years ago
|
+# ktune sysctl settings for rhel6 servers, maximizing i/o throughput
|
||
|
+#
|
||
|
+# Minimal preemption granularity for CPU-bound tasks:
|
||
|
+# (default: 1 msec# (1 + ilog(ncpus)), units: nanoseconds)
|
||
|
+sched_min_granularity_ns = 3000000
|
||
|
+sched_wakeup_granularity_ns = 4000000
|
||
|
+
|
||
|
+# The total time the scheduler will consider a migrated process
|
||
|
+# "cache hot" and thus less likely to be re-migrated
|
||
|
+# (system default is 500000, i.e. 0.5 ms)
|
||
|
+sched_migration_cost_ns = 5000000
|
||
|
diff --git a/profiles/sap-hana/tuned.conf b/profiles/sap-hana/tuned.conf
|
||
9 months ago
|
index aeecf53..1b15ea3 100644
|
||
2 years ago
|
--- a/profiles/sap-hana/tuned.conf
|
||
|
+++ b/profiles/sap-hana/tuned.conf
|
||
9 months ago
|
@@ -20,3 +20,8 @@ kernel.numa_balancing = 0
|
||
2 years ago
|
vm.dirty_ratio = 40
|
||
|
vm.dirty_background_ratio = 10
|
||
|
vm.swappiness = 10
|
||
|
+
|
||
|
+[scheduler]
|
||
9 months ago
|
+runtime=0
|
||
2 years ago
|
+sched_min_granularity_ns = 3000000
|
||
|
+sched_wakeup_granularity_ns = 4000000
|
||
|
diff --git a/profiles/throughput-performance/tuned.conf b/profiles/throughput-performance/tuned.conf
|
||
9 months ago
|
index e4e832f..3d9c42f 100644
|
||
2 years ago
|
--- a/profiles/throughput-performance/tuned.conf
|
||
|
+++ b/profiles/throughput-performance/tuned.conf
|
||
9 months ago
|
@@ -67,9 +67,33 @@ vm.swappiness=10
|
||
2 years ago
|
# on older kernels
|
||
|
net.core.somaxconn=>2048
|
||
|
|
||
|
+[scheduler]
|
||
9 months ago
|
+runtime=0
|
||
2 years ago
|
+# ktune sysctl settings for rhel6 servers, maximizing i/o throughput
|
||
|
+#
|
||
|
+# Minimal preemption granularity for CPU-bound tasks:
|
||
|
+# (default: 1 msec# (1 + ilog(ncpus)), units: nanoseconds)
|
||
|
+sched_min_granularity_ns = 10000000
|
||
|
+
|
||
|
+# SCHED_OTHER wake-up granularity.
|
||
|
+# (default: 1 msec# (1 + ilog(ncpus)), units: nanoseconds)
|
||
|
+#
|
||
|
+# This option delays the preemption effects of decoupled workloads
|
||
|
+# and reduces their over-scheduling. Synchronous workloads will still
|
||
|
+# have immediate wakeup/sleep latencies.
|
||
|
+sched_wakeup_granularity_ns = 15000000
|
||
|
+
|
||
|
# Marvell ThunderX
|
||
|
[sysctl.thunderx]
|
||
|
type=sysctl
|
||
|
uname_regex=aarch64
|
||
|
cpuinfo_regex=${thunderx_cpuinfo_regex}
|
||
|
kernel.numa_balancing=0
|
||
|
+
|
||
|
+# AMD
|
||
|
+[scheduler.amd]
|
||
|
+type=scheduler
|
||
|
+uname_regex=x86_64
|
||
|
+cpuinfo_regex=${amd_cpuinfo_regex}
|
||
9 months ago
|
+runtime=0
|
||
2 years ago
|
+sched_migration_cost_ns=5000000
|
||
|
diff --git a/profiles/virtual-host/tuned.conf b/profiles/virtual-host/tuned.conf
|
||
9 months ago
|
index 5301d9f..24d0fb4 100644
|
||
2 years ago
|
--- a/profiles/virtual-host/tuned.conf
|
||
|
+++ b/profiles/virtual-host/tuned.conf
|
||
9 months ago
|
@@ -14,3 +14,10 @@ vm.dirty_background_ratio = 5
|
||
2 years ago
|
[cpu]
|
||
|
# Setting C3 state sleep mode/power savings
|
||
|
force_latency=cstate.id_no_zero:3|70
|
||
|
+
|
||
|
+[scheduler]
|
||
9 months ago
|
+runtime=0
|
||
2 years ago
|
+# The total time the scheduler will consider a migrated process
|
||
|
+# "cache hot" and thus less likely to be re-migrated
|
||
|
+# (system default is 500000, i.e. 0.5 ms)
|
||
|
+sched_migration_cost_ns = 5000000
|