StarlingX Bare Metal and Node Management, Hardware Maintenance
Go to file
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
api-ref/source Fix reference to LLDP neighbors API path in the documentation 2024-02-22 16:32:47 -03:00
bsp-files Merge "Remove CentOS/OpenSUSE build support" 2024-07-10 12:08:09 +00:00
devstack Security: Handle nospectre_v1 in the bootargs 2020-01-28 18:21:13 -05:00
doc Fix tox-docs failing sphinx 2023-08-29 16:50:22 -04:00
installer Update input_file in pxeboot-update script 2024-09-09 15:37:07 -03:00
kickstart Merge "Configure software deploy script permissions" 2024-10-10 13:36:21 +00:00
mtce Configure systemd CPUShares/CPUQuota for pmon.service 2024-11-15 09:21:05 -05:00
mtce-common Merge "Remove CentOS/OpenSUSE build support" 2024-07-10 12:08:09 +00:00
mtce-compute Remove CentOS/OpenSUSE build support 2024-05-02 16:01:04 -04:00
mtce-control Remove CentOS/OpenSUSE build support 2024-05-02 16:01:04 -04:00
mtce-storage Remove CentOS/OpenSUSE build support 2024-05-02 16:01:04 -04:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:32:46 +02:00
tools Remove CentOS/OpenSUSE build support 2024-05-02 16:01:04 -04:00
.gitignore Update tox.ini files to use stein constraints 2019-06-25 13:20:35 -04:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:33 +00:00
.zuul.yaml Fix github mirroring for this repo 2023-04-28 12:38:51 -04:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:43 -07:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:08:23 -04:00
debian_iso_image.inc Debian: metal: update debian_iso_image.inc 2022-11-16 12:06:51 +08:00
debian_pkg_dirs Include upgrades meta files to Debian ISO 2022-08-02 21:01:58 +00:00
debian_stable_docker_images.inc debian: port rvmc docker image to Debian 2022-08-12 16:30:01 +00:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:43 -07:00
pylint.rc Add pylint py3 portability checks for the metal repo 2021-09-13 11:57:42 -03:00
README.rst starlingx/metal README improvement 2023-07-19 12:32:13 -03:00
test-requirements.txt Removed wait_for_worker_config_init in AIO systems 2021-07-08 18:48:28 -04:00
tox.ini Update tox.ini to work with tox 4 2022-12-26 23:26:54 +00:00

metal

The starlingx/metal repository handles StarlingX Bare Metal Management1.

This repository is not intended to be developed standalone, but rather as part of the StarlingX Source System, which is defined by the StarlingX manifest2.

References


  1. https://docs.starlingx.io/api-ref/metal↩︎

  2. https://opendev.org/starlingx/manifest.git↩︎