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
This commit is contained in:
slonkazoid 2025-05-10 12:59:43 +03:00 committed by Stefan Hansson
parent 0bca7555d7
commit 71f01ddbeb
No known key found for this signature in database
GPG key ID: ACD854892B38D898

View file

@ -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"