[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 08/13] tests/vm: add 1GB extra memory per core
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH v3 08/13] tests/vm: add 1GB extra memory per core |
Date: |
Thu, 7 Jul 2022 09:27:14 +0100 |
User-agent: |
Mutt/2.2.6 (2022-06-05) |
On Thu, Jul 07, 2022 at 12:03:05AM -0400, John Snow wrote:
> 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.
RHEL recommends 1.5 GB per virtual CPU, so yeah, allowing only 512 MB
was unreasonably small by typical standards.
>
> 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>
> ---
> tests/vm/basevm.py | 5 +++++
> 1 file changed, 5 insertions(+)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH v3 04/13] tests/vm: switch centos.aarch64 to CentOS 8 Stream, (continued)
- [PATCH v3 04/13] tests/vm: switch centos.aarch64 to CentOS 8 Stream, John Snow, 2022/07/07
- [PATCH v3 13/13] iotests: fix copy-before-write for macOS and FreeBSD, John Snow, 2022/07/07
- [PATCH v3 01/13] qga: treat get-guest-fsinfo as "best effort", John Snow, 2022/07/07
- [PATCH v3 07/13] tests/vm: remove duplicate 'centos' VM test, John Snow, 2022/07/07
- [PATCH v3 08/13] tests/vm: add 1GB extra memory per core, John Snow, 2022/07/07
- Re: [PATCH v3 08/13] tests/vm: add 1GB extra memory per core,
Daniel P . Berrangé <=
- [PATCH v3 03/13] tests/vm: switch CentOS 8 to CentOS 8 Stream, John Snow, 2022/07/07