summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/templates/tuned/openshift-control-plane
diff options
context:
space:
mode:
authorJiri Mencak <jmencak@redhat.com>2017-08-10 17:09:29 +0200
committerJiri Mencak <jmencak@redhat.com>2017-08-15 13:34:09 +0200
commit527d8ccddd39f43bec885b4eb4981054419641a3 (patch)
tree1f52b0c8be86e37444eddab1c0098176c386dfb2 /roles/openshift_node/templates/tuned/openshift-control-plane
parent5fe4c8c5478ef8b87f88b413c9033ff68987d4e1 (diff)
downloadopenshift-527d8ccddd39f43bec885b4eb4981054419641a3.tar.gz
openshift-527d8ccddd39f43bec885b4eb4981054419641a3.tar.bz2
openshift-527d8ccddd39f43bec885b4eb4981054419641a3.tar.xz
openshift-527d8ccddd39f43bec885b4eb4981054419641a3.zip
New tuned profile hierarchy.
Diffstat (limited to 'roles/openshift_node/templates/tuned/openshift-control-plane')
-rw-r--r--roles/openshift_node/templates/tuned/openshift-control-plane/tuned.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/roles/openshift_node/templates/tuned/openshift-control-plane/tuned.conf b/roles/openshift_node/templates/tuned/openshift-control-plane/tuned.conf
new file mode 100644
index 000000000..f22f21065
--- /dev/null
+++ b/roles/openshift_node/templates/tuned/openshift-control-plane/tuned.conf
@@ -0,0 +1,25 @@
+#
+# tuned configuration
+#
+
+[main]
+summary=Optimize systems running OpenShift control plane
+include=openshift
+
+[sysctl]
+# ktune sysctl settings, maximizing i/o throughput
+#
+# Minimal preemption granularity for CPU-bound tasks:
+# (default: 1 msec# (1 + ilog(ncpus)), units: nanoseconds)
+kernel.sched_min_granularity_ns=10000000
+
+# 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)
+kernel.sched_migration_cost_ns=5000000
+
+# SCHED_OTHER wake-up granularity.
+#
+# Preemption granularity when tasks wake up. Lower the value to improve
+# wake-up latency and throughput for latency critical tasks.
+kernel.sched_wakeup_granularity_ns = 4000000