X86_64 : 8 CPU limitation on Vanilla release

Brice GIBOUDEAU brice at pingus.org
Fri Jul 9 07:47:33 PDT 2021


Will read the procedure and submit a patch asap.
________________________________________
De : openwrt-devel <openwrt-devel-bounces at lists.openwrt.org> de la part de Alberto Bursi <bobafetthotmail at gmail.com>
Envoyé : vendredi 9 juillet 2021 14:30
À : openwrt-devel at lists.openwrt.org
Objet : Re: X86_64 : 8 CPU limitation on Vanilla release

On 09/07/21 10:03, Brice GIBOUDEAU via openwrt-devel wrote:
>
> Hello,
>
> I'm reaching out to you about a limitation on the X86_64 target.
>
> We use this version to operate large scale Wireguard VPNs on VMs and physical servers (DELL & HP). The actual limitation of 8 CPU is the only reason why we have to recompile OpenWRT. This 8 CPU limitation makes perfect sense for most targets to save flash/memory  space but x86_64 have less physical limitations and most CPUs have more than 8 cores/threads.
>
> Is it an option to raise this limitation to 64 to fit most available CPU on the market ?
> I'm not very use to patch submission but if it's needed I can try to do it.
>
> What I can see the cost is an overhead 8KB memory and kernel size per extra CPU so (64-8)x8=448KB addition. X86_64 have less limitations than other architecture and enabling more CPUs should be ok for this platform.
>


I think there is no problem to raise CPU core limit on x86_64 target to
cover more than 8 cores, it was probably just an old default and nobody
has asked to change it yet.

When you submit the patch properly see submission rules (1) you should
also do the same change in the "config-5.10" file which is the kernel
config for the next kernel version.


1. https://openwrt.org/submitting-patches

-Alberto

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list