qemu/tests/vm
John Snow eaf46a65ab tests/vm: add 1GB extra memory per core
If you try to run a 16 or 32 threaded test, you're going to run out of
memory very quickly with qom-test and a few others. Bump the memory
limit to try to scale with larger-core machines.

Granted, this means that a 16 core processor is going to ask for 16GB,
but you *probably* meet that requirement if you have such a machine.

512MB per core didn't seem to be enough to avoid ENOMEM and SIGABRTs in
the test cases in practice on a six core machine; so I bumped it up to
1GB which seemed to help.

Add this magic in early to the configuration process so that the
config file, if provided, can still override it.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220708153503.18864-9-jsnow@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2022-07-18 20:24:36 +02:00
..
aarch64vm.py python: create qemu packages 2021-06-01 16:21:21 -04:00
basevm.py tests/vm: add 1GB extra memory per core 2022-07-18 20:24:36 +02:00
centos tests/vm: switch CentOS 8 to CentOS 8 Stream 2022-07-18 20:24:36 +02:00
centos-8-aarch64.ks tests/vm: Added a new script for centos.aarch64. 2020-07-11 15:52:59 +01:00
centos.aarch64 tests/vm: switch centos.aarch64 to CentOS 8 Stream 2022-07-18 20:24:36 +02:00
conf_example_aarch64.yml tests/vm: Added configuration file support 2020-07-11 15:52:59 +01:00
conf_example_x86.yml tests/vm: Added configuration file support 2020-07-11 15:52:59 +01:00
fedora tests/vm: do not specify -bios option 2022-07-06 09:27:58 +02:00
freebsd tests/vm: do not specify -bios option 2022-07-06 09:27:58 +02:00
haiku.x86_64 tests/vm: Update haiku test vm to R1/Beta3 2022-03-07 19:00:05 +01:00
Makefile.include tests/vm: remove duplicate 'centos' VM test 2022-07-18 20:24:36 +02:00
netbsd tests/vm: do not specify -bios option 2022-07-06 09:27:58 +02:00
openbsd tests/vm: do not specify -bios option 2022-07-06 09:27:58 +02:00
README docs: Add docs/devel/testing.rst 2018-02-08 09:23:07 +08:00
ubuntu.aarch64 tests/vm: upgrade Ubuntu 18.04 VM to 20.04 2022-07-18 20:24:36 +02:00
ubuntuvm.py tests/vm: Add common Ubuntu python module 2020-07-11 15:52:59 +01:00

See docs/devel/testing.rst for help.