ironic-python-agent/ironic_python_agent
Julia Kreger ee8118423b Limit qemu-img execution arenas
qemu-img attempts to launch multiple threads by default *and*
attempts to have multiple memory allocation arenas to operate
from. While multithreading can be good for performance, this
pattern and the memory footprint for process launch and
dependencies can turn the memory footprint for a cirros image
conversion (16MB) into 1.2GB of memory being asked for by the
qemu-img tool.

In order to limit this impact, as the default number of arenas
is governed by the number of CPUs times the number 8, it seems
reasonable to lower this to a more reasonable number which
also helps keep our possible memory footprint from being exceeded.

NOTE: This change is largely different than the original change
as an intermediate change converted write_image.sh to python.
As it is unlikely for us to backport the intermediate change,
it is logical for us to just modify the original script.
Otherwise the release note is ultimately what is backported for
release note tooling continutity.

Change-Id: I71a28ec59ec31c691205eb34d9fcab63a2ccb682
Story: 2008928
Task: 42528
(cherry picked from commit 9e4c7052a2)
(cherry picked from commit 9c20cca362)
2021-06-01 12:26:38 -07:00
..
api Generate a TLS certificate and send it to ironic 2020-09-11 17:46:52 +02:00
cmd Support changing the protocol part of callback_url to https 2020-08-06 15:14:31 +02:00
extensions Merge "Software RAID: RAID the ESPs" into stable/victoria 2021-06-01 19:11:56 +00:00
hardware_managers Fix: make Intel CNA hardware manager none generic 2020-09-23 18:24:26 +08:00
shell Limit qemu-img execution arenas 2021-06-01 12:26:38 -07:00
tests Merge "Software RAID: RAID the ESPs" into stable/victoria 2021-06-01 19:11:56 +00:00
__init__.py If listen_tls is true, enable TLS on wsgi server 2020-09-02 16:07:42 -07:00
agent.py Merge "Simplify heartbeating by removing use of select()" 2020-09-29 15:47:08 +00:00
config.py Option to enable bootloader config failure bypass 2021-01-14 14:57:12 +00:00
dmi_inspector.py Collect processor, memory and BIOS output of dmidecode - follow-up 2017-07-27 07:30:54 -07:00
encoding.py Fix serializing ironic-lib exceptions 2020-07-02 12:18:53 +02:00
errors.py When reporting that agent is busy, report the executed command 2020-09-18 17:52:49 +02:00
hardware.py Fix missing data in log messages 2021-04-30 08:03:25 +00:00
inspect.py Add jitter to inspection command reporting 2020-03-31 08:13:13 -07:00
inspector.py Extends pci devices metrics 2020-08-04 23:32:37 +08:00
ironic_api_client.py Correctly decode error messages from ironic API 2020-12-16 14:38:53 +00:00
netutils.py Bring up VLAN interfaces and include in introspection report 2020-12-10 17:44:28 -05:00
numa_inspector.py Skip nic numa_node discovery if it's not assigned to a numa_node 2020-01-17 11:15:35 +01:00
raid_utils.py Increase the ESP partition size to 550 MiB when using software RAID 2020-07-02 17:30:33 +02:00
tls_utils.py Generate TLS certificates with validity time in the past 2020-12-16 10:19:25 +00:00
utils.py Fix confusing logging when running asynchronous commands 2020-06-26 15:19:04 +02:00
version.py Add sphinx build + basic documentation 2015-03-31 16:22:12 -07:00