From 2a442cf7a78de9a8cb7de959758be3bdd6832eba Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 13 Aug 2023 10:56:35 -0700 Subject: [PATCH] koji_builder: increase stats on oz Lets increase stats for oz and see if that decreases compose time a bit. Signed-off-by: Kevin Fenzi --- roles/koji_builder/templates/oz.cfg.j2 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/roles/koji_builder/templates/oz.cfg.j2 b/roles/koji_builder/templates/oz.cfg.j2 index 60b145c1d6..ebe3a6d751 100644 --- a/roles/koji_builder/templates/oz.cfg.j2 +++ b/roles/koji_builder/templates/oz.cfg.j2 @@ -9,12 +9,16 @@ uri = qemu:///system image_type = raw # type = kvm # bridge_name = virbr0 -{% if ansible_architecture == 'ppc64' or ansible_architecture == 'ppc64le' %} -cpus = 4 -{% else %} -cpus = 4 +{% if ansible_architecture == 'ppc64le' or ansible_architecture == 'aarch64' %} +cpus = 8 {% endif %} -memory = 4096 +{% if ansible_architecture == 's390x' %} +cpus = 3 +{% endif %} +{% if ansible_architecture == 'x86_64' %} +cpus = 6 +{% endif %} +memory = 8192 [cache] original_media = yes