ACK/Cmnt: [SRU][K/Unstable][PATCH 0/1] Support up to 32 CPUs on riscv64
Tim Gardner
tim.gardner at canonical.com
Wed Aug 31 13:26:27 UTC 2022
On 8/31/22 06:24, Emil Renner Berthing wrote:
> [Impact]
>
> * Currently our riscv64 kernels don't support more than 8 CPUs.
>
> * The QEMU 7.0 virt machine supports up to 512 virtual CPUs.
>
> * Raising CONFIG_NR_CPUS to the maximum of 32 allows us to use
> more of them.
>
> [Test Plan]
>
> * Run riscv64 Ubuntu in a QEMU virt instance with more than 8
> virtual CPUs and see that only 8 of them are used.
>
> * After raising CONFIG_NR_CPUS up to 32 of them should be used.
>
> [Where problems could occur]
>
> * This will allocate slightly more RAM which might hurt very small
> machines.
>
> Emil Renner Berthing (1):
> UBUNTU: [Config] Raise riscv64 CONFIG_NR_CPUS to 32
>
> debian.master/config/annotations | 2 +-
> debian.master/config/riscv64/config.common.riscv64 | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
Acked-by: Tim Gardner <tim.gardner at canonical.com>
Have you profiled memory usage to see how much more 512 would use ?
--
-----------
Tim Gardner
Canonical, Inc
More information about the kernel-team
mailing list