From 834ff3d7edbe6bd442221c365fe68dad2c5e927a Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 18 May 2022 16:09:17 +0200 Subject: [PATCH] copr-hypervisors: try 5 VCPUs on the Power9 box --- roles/copr/backend/templates/resalloc/pools.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/copr/backend/templates/resalloc/pools.yaml b/roles/copr/backend/templates/resalloc/pools.yaml index f51b3ba6fd..21e8c21271 100644 --- a/roles/copr/backend/templates/resalloc/pools.yaml +++ b/roles/copr/backend/templates/resalloc/pools.yaml @@ -147,7 +147,9 @@ copr_p09_{{ hv }}_{% if devel %}dev{% else %}prod{% endif %}: - hypervisor_ppc64le - hypervisor_ppc64le_{{ hv }} - arch_power9 - cmd_new: "/var/lib/resallocserver/provision/libvirt-new --ram-size 16384 --swap-vol-size 168" + # The Power9 machine has 160 threads. The bottleneck is certainly small + # disk, so try to waste the CPUs appropriately. + cmd_new: "/var/lib/resallocserver/provision/libvirt-new --cpu-count 5 --ram-size 16384 --swap-vol-size 168" cmd_delete: "/var/lib/resallocserver/resalloc_provision/vm-delete" cmd_livecheck: "resalloc-check-vm-ip" cmd_release: "/var/lib/resallocserver/resalloc_provision/vm-release"