9e4c7052a2
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. Change-Id: I71a28ec59ec31c691205eb34d9fcab63a2ccb682 Story: 2008928 Task: 42528
8 lines
307 B
YAML
8 lines
307 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixes failures with disk image conversions which result in memory
|
|
allocation or input/output errors due to memory limitations by limiting
|
|
the number of available memory allocation pools to a non-dynamic
|
|
reasonable number which should not exceed the available system memory.
|