metal/mtce/debian/deb_folder
Jim Gauld d368475197 Configure systemd CPUShares/CPUQuota for pmon.service
This updates CPUShares and CPUQuota for pmon.service.
This gives reduced shares and quota since pmon.service has sporadic CPU
usage yet is not latency critical. Significant hirunner CPU usage comes
from various audits (unrelated to pmon process itself) running under the
systemd pmon.service cgroup.

For example: ceph health audit, ceph osd audit, can easily require 100%
cpu for several seconds, often taking 30% occupancy for multiple
seconds.

This reduces pmon cgroup to 150 CPUShare from 1024 and sets
CPUQUota 15%. This smoothes out behaviour of poorly behaved audits.
This effectively slows down the audit behaviour by a few seconds due
to throttling.

This is part of an overall set of adjustments are required for systemd
cgroups CPUShares, CPUQuota, and AllowedCPUs for key system services.
This will improve latency of Kubernetes critical components, and
throttles lesser important services.

Partial-Bug: 2084714

TEST PLAN:
AIO-SX, AIO-DX, Standard, Storage, DC, AIO-DX with ceph:
- PASS: Fresh install
- PASS: verify systemd parameters for pmon

        Example:
        systemctl show pmon.service | grep -e CPUShares -e CPUQuota

AIO-SX, AIO-DX:
- PASS: B&R

AIO-DX:
- PASS: K8S orchestrated upgrade 1.24 - 1.29
- TODO: controller swact

Change-Id: I6ee5c6029c2a5a0fae26e9231401e4d4f1c016df
Signed-off-by: Jim Gauld <James.Gauld@windriver.com>
2024-11-15 09:21:05 -05:00
..
source Add Debian packaging for mtce packages 2021-10-29 09:17:00 -05:00
changelog Add Debian packaging for mtce packages 2021-10-29 09:17:00 -05:00
control Add Debian packaging for mtce packages 2021-10-29 09:17:00 -05:00
copyright Add Debian packaging for mtce packages 2021-10-29 09:17:00 -05:00
crash-dump-manager.service Update crashDumpMgr to source config from envfile 2023-10-06 23:06:54 +00:00
fsmon.service Fix remaining failing mtce services on Debian 2022-01-25 12:10:39 -03:00
goenabled.service Fix remaining failing mtce services on Debian 2022-01-25 12:10:39 -03:00
hbsClient.service Fix failing mtce services on Debian 2022-01-14 10:50:09 -03:00
hostw.service Fix remaining failing mtce services on Debian 2022-01-25 12:10:39 -03:00
hwmon.service Fix failing mtce services on Debian 2022-01-14 10:50:09 -03:00
lmon.service Fix failing mtce services on Debian 2022-01-14 10:50:09 -03:00
mtcalarm.service Fix failing mtce services on Debian 2022-01-14 10:50:09 -03:00
mtcClient.service Fix remaining failing mtce services on Debian 2022-01-25 12:10:39 -03:00
mtce-dev.install Add Debian packaging for mtce packages 2021-10-29 09:17:00 -05:00
mtce-hostw.install debian: correct bindir for maintenance services - mtce 2022-03-10 11:13:47 +00:00
mtce-hwmon.install debian: correct bindir for maintenance services - mtce 2022-03-10 11:13:47 +00:00
mtce-lmon.install Debian: Remove conf files from etc-pmon.d 2022-09-26 13:41:40 +00:00
mtce-pmon.install Merge "Fix pmon scripts path (Debian)" 2022-03-17 23:32:09 +00:00
mtce.install Update crashDumpMgr to source config from envfile 2023-10-06 23:06:54 +00:00
mtce.postinst Add Debian packaging for mtce packages 2021-10-29 09:17:00 -05:00
mtclog.service Fix failing mtce services on Debian 2022-01-14 10:50:09 -03:00
pmon.service Configure systemd CPUShares/CPUQuota for pmon.service 2024-11-15 09:21:05 -05:00
rules Update crashDumpMgr to source config from envfile 2023-10-06 23:06:54 +00:00
runservices.service Fix failing mtce services on Debian 2022-01-14 10:50:09 -03:00