StarlingX System Configuration Files
Go to file
Jim Gauld a52b6e831e Configure systemd CPUShares/Nice/IOScheduler for cron, docker, ssh
This updates CPUShares, CPUQuota, Nice, IOScheduling for:
cron.service, docker.service, rsync.service and ssh.service, since
these have sporadic intensive CPU and disk IO operations, yet are
not latency critical.

This gives 1/8th reduced shares, reduces Nice priority to +19(lowest),
and reduced IOScheduling to use best-effort/priority 7(lowest)
(used with 'bfq' IO Scheduler).

ssh.service CPUQuota is set to 100% since there is no engineering
reason to enable more. There are cases when admins attempt to do
multiple large cpu/disk operations in parallel.

rsync.service is observed to have sustained burst of work during
software upload.

cron.service has also been used for SysEng activities to generate
substantial system load.

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:
- PASS: Fresh install
- PASS: verify systemd parameters for cron, docker, rsync, ssh

  Example:
  systemctl show cron.service | \
    grep -e CPUShares -e CPUQuota -e Nice -e IOScheduling
  systemctl show docker.service | \
    grep -e CPUShares -e CPUQuota -e Nice -e IOScheduling
  systemctl show rsync.service | \
    grep -e CPUShares -e CPUQuota -e Nice -e IOScheduling
  systemctl show ssh.service | \
    grep -e CPUShares -e CPUQuota -e Nice -e IOScheduling

AIO-SX, AIO-DX:
- PASS: B&R
- PASS: K8S orchestrated upgrade from 1.24 to 1.29
- PASS: Platform USM upgrade, including pre-activation rollback
  Exception: docker override requires USM migration script.

Change-Id: Ide8f4269426385fc5fc8bddbdebfa6abb5eca2d1
Signed-off-by: Jim Gauld <James.Gauld@windriver.com>
2024-11-21 11:26:06 -05:00
audit-config Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
base-files-config Configure systemd CPUShares/Nice/IOScheduler for cron, docker, ssh 2024-11-21 11:26:06 -05:00
centos-release-config/files Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
containerd-config Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
debian-release-config Update debian package versions to use git commits 2023-02-15 08:52:24 -08:00
dhcp-config Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
dmesg-config/files Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
dnsmasq-config Do not check FQDN during ctrl1 upgrade 2024-08-07 17:08:28 +00:00
docker-config Configure systemd CPUShares/Nice/IOScheduler for cron, docker, ssh 2024-11-21 11:26:06 -05:00
filesystem-scripts Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
haproxy-config Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
initscripts-config Merge "Removing centos related initscripts" 2023-08-14 16:18:23 +00:00
io-scheduler Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
iptables-config Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
iscsi-initiator-utils-config Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
lighttpd-config Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
logrotate-config Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
luks-config Adding udevadm rule for luks filesystems 2023-12-12 13:39:00 -05:00
lvm2-config Update debian package versions to use git commits 2023-02-15 08:52:24 -08:00
memcached-custom Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
multipath-config Update debian package versions to use git commits 2023-02-15 08:52:24 -08:00
multus-config Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
nfs-utils-config Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
ntp-config Remove ntpdate package 2024-07-24 14:48:45 +00:00
openldap-config Limit size of slapd logs to critical events 2024-11-05 15:27:27 +00:00
openssh-config Configure systemd CPUShares/Nice/IOScheduler for cron, docker, ssh 2024-11-21 11:26:06 -05:00
openvswitch-config Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
pam-config Enforce new password rules for linux os accounts 2024-05-29 12:35:05 -03:00
python-siteconfig Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
rabbitmq-server-config Add logs to rabbit startup script to time actions 2024-07-24 16:12:57 -04:00
rsync-config Fix enable rsync for /etc/update.d 2024-11-11 16:39:32 -03:00
setup-config/files Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
shadow-utils-config Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
sudo-config Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
syslog-ng-config Merge "Revert "SM service logs are being duplicated into postgres.log"" 2024-10-25 14:57:52 +00:00
systemd-config Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
tuned-config Tuning Disk Performance 2024-11-04 17:21:52 -03:00
util-linux-config/files Remove CentOS/OpenSUSE build support 2024-04-26 13:46:17 -04:00
.gitignore Adding zuul jobs for new repo 2019-09-09 14:10:43 -05:00
.gitreview Add a .gitreview file to the new repo 2019-09-09 09:19:19 -05:00
.zuul.yaml Fix github mirroring for this repo 2023-04-28 12:38:50 -04:00
CONTRIBUTING.rst Adding zuul jobs for new repo 2019-09-09 14:10:43 -05:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:07:14 -04:00
debian_iso_image.inc Adding udevadm rule for luks filesystems 2023-12-12 13:39:00 -05:00
debian_pkg_dirs Adding udevadm rule for luks filesystems 2023-12-12 13:39:00 -05:00
HACKING.rst Adding zuul jobs for new repo 2019-09-09 14:10:43 -05:00
requirements.txt Adding zuul jobs for new repo 2019-09-09 14:10:43 -05:00
test-requirements.txt Adding zuul jobs for new repo 2019-09-09 14:10:43 -05:00
tox.ini Update tox.ini to work with tox 4 2022-12-26 22:05:06 +00:00