From 71f01ddbebc4e00b53f679ff3daab61c018eb893 Mon Sep 17 00:00:00 2001 From: slonkazoid Date: Sat, 10 May 2025 12:59:43 +0300 Subject: [PATCH] pmb.core.config: remove +1 from nproc defaults Since Linux has switched to EEVDF[1], the $(($(nproc)+2)) hack is no longer faster. The new scheduler is way more efficient and performs better with only `nproc` threads. [1]: https://docs.kernel.org/scheduler/sched-eevdf.html Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2595 --- pmb/core/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmb/core/config.py b/pmb/core/config.py index d02ae55c..f93739ff 100644 --- a/pmb/core/config.py +++ b/pmb/core/config.py @@ -61,7 +61,7 @@ class Config: extra_space: int = 0 hostname: str = "" is_default_channel: bool = True - jobs: int = multiprocessing.cpu_count() + 1 + jobs: int = multiprocessing.cpu_count() kernel: str = "stable" keymap: str = "" locale: str = "en_US.UTF-8"