From: Daan De Meyer Date: Mon, 11 May 2026 19:58:24 +0000 (+0200) Subject: mkosi: Drop CPUs= limit X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d0168f4db613610b674dcf41afababde57b8d56b;p=thirdparty%2Fsystemd.git mkosi: Drop CPUs= limit Limiting VMs to 2 cpus was cargo culting without any actual data that this benefits performance. The host OS has a scheduler, let's make use of it and give the VM access to all the CPUs. This doesn't mean they become inaccessible to the host, it just means the VM gets as many virtual CPUs as the host has CPU cores (threads). How they get scheduled is still up to the host OS. --- diff --git a/mkosi/mkosi.conf b/mkosi/mkosi.conf index 2fc087cb73f..0fbb81eeed2 100644 --- a/mkosi/mkosi.conf +++ b/mkosi/mkosi.conf @@ -141,7 +141,6 @@ Credentials= tty.virtual.tty1.agetty.autologin=root tty.virtual.tty1.login.noauth=yes RuntimeBuildSources=yes -CPUs=2 TPM=yes VSock=yes KVM=yes