StarlingX Integration and packaging
Go to file
Li Zhou ccfeeef59d systemd: Prevent excessive /proc/1/mountinfo reparsing
Backport the patches for this issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1819868

We met such an issue:
When testing a large number of pods (> 230), occasionally observed a
number of issues related to systemd process:
    systemd ran continually 90-100% cpu usage
    systemd memory usage started increasing rapidly (20GB/hour)
    systemctl commands would always timeout (Failed to get properties:
        Connection timed out)
    sm services failed and can't recover: open-ldap,
        registry-token-server, docker-distribution, etcd
    new pods can't start, and got stuck in state ContainerCreating

Those patches work to prevent excessive /proc/1/mountinfo reparsing.
It has been verified that those patches can improve this performance
greatly.

16 commits are listed in sequence (from [1] to [16]) at below link
for the issue:
https://github.com/systemd-rhel/rhel-8/pull/154/commits

[16](10)core: prevent excessive /proc/self/mountinfo parsing
[15][Dropped-6]test: add ratelimiting test
[14](9)sd-event: add ability to ratelimit event sources
[13](8)sd-event: increase n_enabled_child_sources just once
[12](7)sd-event: update state at the end in event_source_enable
[11](6)sd-event: remove earliest_index/latest_index into common part of
event source objects
[10][Dropped-5]sd-event: follow coding style with naming return
parameter
[9] [Dropped-4]sd-event: ref event loop while in sd_event_prepare() ot
sd_event_run()
[8] (5)sd-event: refuse running default event loops in any other thread
than the one they are default for
[7] [Dropped-3]sd-event: let's suffix last_run/last_log with "_usec"
[6] [Dropped-2]sd-event: fix delays assert brain-o (#17790)
[5] (4)sd-event: split out code to add/remove timer event sources to
earliest/latest prioq
[4] (3)sd-event: split clock data allocation out of sd_event_add_time()
[3] [Dropped-1]sd-event: mention that two debug logged events are
ignored
[2] (2)sd-event: split out enable and disable codepaths from
sd_event_source_set_enabled()
[1] (1)sd-event: split out helper functions for reshuffling prioqs

I ported 10 of them back (from (1) to (10)) to fix this issue
and dropped the other 6 (from [Dropped-1] to [Dropped-6]) for those
reasons:
[Dropped-1]Only changes error log.
[Dropped-2]Fixes a bug introduced in a commit which doesn't exist in
this version.
[Dropped-3]Only changes vars' names and there is no functional change.
[Dropped-4]More commits are needed for merging it, while I don't see
any help on adding the rate-limiting ability.
[Dropped-5]Change coding style for a function which isn't really used
by anyone.
[Dropped-6]Add test cases.

Closes-Bug: #1924686
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Change-Id: Ia4c8f162cb1a47b40d1b26cf4d604976b97e92d6
2021-04-22 22:09:33 -04:00
base systemd: Prevent excessive /proc/1/mountinfo reparsing 2021-04-22 22:09:33 -04:00
bmc/Redfishtool Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
ceph/ceph Add conditions to when RBD devices are unmounted 2020-12-14 19:04:31 -05:00
config Format DRBD resource cpu-mask to support 64 or larger cpus 2020-11-04 15:49:44 -05:00
database Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
devstack Relocated some packages to repo 'utilities' 2019-09-05 20:31:36 -04:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
docker/python-docker/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
filesystem Merge "Add auto-versioning to starlingx/integ packages" 2020-06-30 03:01:38 +00:00
gpu/gpu-operator integ: add nvidia gpu-operator helm charts 2021-03-31 17:33:41 +00:00
grub grub2: fix CVE-2020-15707 2021-01-25 04:15:59 -05:00
kubernetes add isolcpus device plugin for kubernetes 2021-04-01 11:10:09 -06:00
ldap Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
logging/logrotate/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
networking Uninstall SNMP RPM Host-Based from STX. 2020-12-14 11:45:30 -03:00
python Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
requests-toolbelt Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
security Revert "Fix user ownership for /usr/bin/swtpm_setup.sh" 2020-11-04 20:04:28 +00:00
storage-drivers Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
tools Fix storage topology pylint 2.5.0 error 2020-04-28 02:06:08 -04:00
virt Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
.gitignore Add Docker Registry Token Server 2019-01-08 11:42:04 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:31 +00:00
.zuul.yaml Adding job to upload commits to GitHub 2020-02-06 10:50:16 -05:00
bindep.txt Fix pylint zuul jobs failing due to libvirt-python and pkgconfig 2019-07-04 14:14:39 -05:00
centos_build_layer.cfg Build layering, add layer build config file and srpm and tarball lst 2019-10-21 09:24:22 +08:00
centos_extra_downloads.lst Move mellanox userspace from integ repo 2020-05-06 19:58:38 -04:00
centos_guest_image_rt.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_guest_image.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_iso_image.inc add isolcpus device plugin for kubernetes 2021-04-01 11:10:09 -06:00
centos_pkg_dirs Merge "integ: add nvidia gpu-operator helm charts" 2021-04-07 11:49:01 +00:00
centos_pkg_dirs_installer Config file changes for packages being relocated to repo 'compile' 2019-09-05 20:28:59 -04:00
centos_pkg_dirs_rt Move mellanox userspace from integ repo 2020-05-06 19:58:38 -04:00
centos_srpms_3rdparties.lst Add python-daemon to srpm list 2020-05-20 23:22:06 +08:00
centos_srpms_centos.lst Merge "dhcp: fix CVE-2019-6470" 2021-03-12 04:52:27 +00:00
centos_stable_docker_images.inc Create Docker image for running Intel N3000 FPGA tools 2020-02-20 19:09:13 -05:00
centos_stable_wheels.inc Add libvirt module to stable wheels for image build 2019-04-04 22:54:04 -04:00
centos_tarball-dl.lst integ: add nvidia gpu-operator helm charts 2021-03-31 17:33:41 +00:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:35 -07:00
distroless_stable_docker_images.inc add intel-gpu-plugin docker image to stable docker image build 2019-07-16 09:48:24 +08:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:35 -07:00
pylint.rc Filter new pylint warning W0707 2020-09-02 15:16:41 -04:00
README.rst Followup opendev cleanup and test jobs 2019-04-21 09:23:19 -05:00
test-requirements.txt Add default test framework 2018-06-11 13:45:22 -05:00
tox.ini add isolcpus device plugin for kubernetes 2021-04-01 11:10:09 -06:00

integ

StarlingX Integration