From c376e8a00fddf22507cd1b6c9570ceffcf844a14 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Wed, 10 Aug 2022 20:40:12 +0200 Subject: [PATCH] cfg: Apparently `nproc --all` can report more cores than we want. A simple `nproc` call works. --- customization.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customization.cfg b/customization.cfg index 3137fcb..87265ca 100644 --- a/customization.cfg +++ b/customization.cfg @@ -254,7 +254,7 @@ _kernel_localversion="" # Set to "true" to add back missing symbol for AES-NI/AVX support on ZFS - This is a legacy option that can be ignored on 5.10+ kernels - https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/export_kernel_fpu_functions.patch _zfsfix="true" -# Set to your maximum number of CPUs (physical + logical cores) - Lower means less overhead - You can set it to "$(nproc --all)" to use the current host's CPU(s) core count +# Set to your maximum number of CPUs (physical + logical cores) - Lower means less overhead - You can set it to "$(nproc)" to use the current host's CPU(s) core count # If you set this to a lower value than you have cores, some cores will be disabled # Default Arch kernel value is 320 _NR_CPUS_value="128"