From f870c1bc98d25ee0051cc1d1607c1206bb828979 Mon Sep 17 00:00:00 2001 From: "q5sys (JT)" Date: Wed, 4 Sep 2019 11:31:32 -0400 Subject: [PATCH] linux5.2: enable the option of more than 64 CPUs With enterprise hardware now becoming cheaply available as well as the potential upcoming Threadripper 3 CPU (depending on what AMD does with it), it's getting very easy to surpass the current limit of 64 cpus on void. A HP DL580 G7 off ebay will run you $500-$1000 and can be configured with 40/80 (cores/threads). For those wanting even more power a HP DL980 G7 will run you ~$5k, and is 80/160. Note: This does not require the MAXSMP flag to be enabled as SMP supports up to 512 CPUs. Also, this is only relevant to x86_64 CPUs, as other architectures supported by Void are not capable of hitting higher values than the default. --- srcpkgs/linux5.2/files/x86_64-dotconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/linux5.2/files/x86_64-dotconfig b/srcpkgs/linux5.2/files/x86_64-dotconfig index b9609bb0ca9fc6..a8eca2f5a15134 100644 --- a/srcpkgs/linux5.2/files/x86_64-dotconfig +++ b/srcpkgs/linux5.2/files/x86_64-dotconfig @@ -355,7 +355,7 @@ CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y CONFIG_NR_CPUS_RANGE_BEGIN=2 CONFIG_NR_CPUS_RANGE_END=512 CONFIG_NR_CPUS_DEFAULT=64 -CONFIG_NR_CPUS=64 +CONFIG_NR_CPUS=256 CONFIG_SCHED_SMT=y CONFIG_SCHED_MC=y CONFIG_SCHED_MC_PRIO=y