From 19cf56ae1cbb64f25c50e0b42c3212a415241a5b Mon Sep 17 00:00:00 2001 From: Jim Gauld Date: Tue, 28 May 2019 16:34:12 -0400 Subject: [PATCH] Introduce PM QoS cpu latency manager for kubelet This creates a daemon 'pm-qos-mgr' that monitors kubelet cpu-manager static cpu assignments and modifies PM QoS CPU wakeup latency to govern the C-states per CPU. Guaranteed pods with exclusive CPUs get "low" cpu wakeup latency policy (the c-state is capped at C1). Remaining pods (i.e., with default CPUs) get "high" cpu wakeup latency policy, so the cpu may go into higher c-state if idle. Change-Id: I8470217dc53b6a7912b5023d8c0b04d966357222 Closes-Bug: 1830545 Signed-off-by: Jim Gauld --- centos_iso_image.inc | 3 +++ centos_pkg_dirs | 1 + 2 files changed, 4 insertions(+) diff --git a/centos_iso_image.inc b/centos_iso_image.inc index 7787406af..e47f3fa6d 100644 --- a/centos_iso_image.inc +++ b/centos_iso_image.inc @@ -43,3 +43,6 @@ playbookconfig # Platform helm charts stx-platform-helm + +# PM QoS cpu latency manager +pm-qos-mgr diff --git a/centos_pkg_dirs b/centos_pkg_dirs index 712f75838..b43bb384c 100644 --- a/centos_pkg_dirs +++ b/centos_pkg_dirs @@ -20,3 +20,4 @@ puppet-modules-wrs/puppet-smapi puppet-modules-wrs/puppet-fm playbookconfig puppet-modules-wrs/puppet-dcdbsync +pm-qos-mgr