From d0168f4db613610b674dcf41afababde57b8d56b Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mon, 11 May 2026 21:58:24 +0200 Subject: [PATCH] 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. --- mkosi/mkosi.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/mkosi/mkosi.conf b/mkosi/mkosi.conf index 2fc087cb73..0fbb81eeed 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