tripleo-common/container-images/tcib/base
Gorka Eguileor 2a3644a2bb Reduce memory consumption in Cinder services
This patch reduces memory usage for Cinder Volume and Backup services by
tuning glibc.

The specific tuning consist on disabling the per thread arenas and
disabling dynamic thresholds.

The Cinder Backup service suffers from high water mark memory usage and
uses excessive memory.  As an example just after 10 restore operations
the service uses almost 1GB of RAM and does not ever free it afterwards.
With this patch the memory consumption of the service is reduced down to
almost 130MB.  If we add a revert from Cinder (Change-Id
I43a20c8687f12bc52b014611cc6977c4c3ca212c) it goes down to 100MB during
my tests.

It's even worse on real deployments, where we have seen a reduction in
peak memory usage, going down from 2.9GB to 1.2GB, and fixing the high
water mark issue that previously left the service constantly using 2GB
going down to 140MB.

This glibc tuning is not applied to all Python services because I
haven't done proper testings on them and at first glance they don't seem
to have such great improvements.

This is the equivalent of the devstack proposed patch from Change-Id
Ic9030d01468b3189350f83b04a8d1d346c489d3c

Related-bug: #1908805
Change-Id: I65b32f4ce3fddeb694fb33ca65076d45d23a3bb6
(cherry picked from commit 6d8b07b7f9)
(cherry picked from commit 250ee60374)
2022-07-01 17:27:28 +02:00
..
collectd Add collectd-libpod-stats to image 2020-10-07 00:28:21 +00:00
cron Implement a new Container Images layout 2020-07-29 02:32:07 +00:00
etcd TCIB: add etcd user to the kolla group 2020-08-20 21:01:35 +00:00
haproxy Implement a new Container Images layout 2020-07-29 02:32:07 +00:00
keepalived Implement a new Container Images layout 2020-07-29 02:32:07 +00:00
mariadb directly use files instread of tcib_gather_files 2021-07-02 09:15:37 -04:00
memcached (backward compatibility) create kolla UIDs/GIDs for TCIB 2020-08-20 21:00:51 +00:00
multipathd Implement a new Container Images layout 2020-07-29 02:32:07 +00:00
os Reduce memory consumption in Cinder services 2022-07-01 17:27:28 +02:00
ovn-base directly use files instread of tcib_gather_files 2021-07-02 09:15:37 -04:00
qdrouterd (backward compatibility) create kolla UIDs/GIDs for TCIB 2020-08-20 21:00:51 +00:00
rabbitmq directly use files instread of tcib_gather_files 2021-07-02 09:15:37 -04:00
redis [squash] Backport RHEL modules into base image 2020-08-21 09:37:46 -04:00
rsyslog Implement a new Container Images layout 2020-07-29 02:32:07 +00:00
tripleoclient Add ipa client to tripleoclient container 2021-10-21 13:34:47 +01:00
unbound Create a container for Unbound DNS resolver 2021-03-29 09:25:47 -02:30
base.yaml Disable ubi repos during container builds 2021-11-17 18:19:09 +00:00