** Description changed: [Impact] * Currently our riscv64 kernels don't support more than 8 CPUs. - * The QEMU 7.0 virt machine supports up to 512 harts (CPU threads). + * The QEMU 7.0 virt machine supports up to 512 harts + (CPU hardware threads). - * Raising CONFIG_NR_CPUS to 32 allows us to use a reasonable number of them. This matches the allowed maximum in upstream Linux. Patches for - raising the limit are pending. + * 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 to 32 all of them should be used. + * After raising CONFIG_NR_CPUS to 32 up to 32 of them should + be used. [Where problems could occur] - * This will use slightly more RAM which might hurt very small + * This will allocate slightly more RAM which might hurt very small machines. [Other Info] * Original bug description: The QEMU 7.0 virt machine offers up to 32 virtual harts. This matches the number of hardware threads on a typical desktop CPU (AMD Ryzen 5950X). Our Linux kernel should support this number of harts. Best regards Heinrich
** Description changed: [Impact] * Currently our riscv64 kernels don't support more than 8 CPUs. * The QEMU 7.0 virt machine supports up to 512 harts - (CPU hardware threads). + (CPU hardware threads). * Raising CONFIG_NR_CPUS to the maximum of 32 allows us to use - more of them. + 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 to 32 up to 32 of them should - be 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. [Other Info] * Original bug description: The QEMU 7.0 virt machine offers up to 32 virtual harts. This matches the number of hardware threads on a typical desktop CPU (AMD Ryzen 5950X). Our Linux kernel should support this number of harts. Best regards Heinrich ** Description changed: [Impact] * Currently our riscv64 kernels don't support more than 8 CPUs. - * The QEMU 7.0 virt machine supports up to 512 harts - (CPU hardware threads). + * 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. [Other Info] * Original bug description: The QEMU 7.0 virt machine offers up to 32 virtual harts. This matches the number of hardware threads on a typical desktop CPU (AMD Ryzen 5950X). Our Linux kernel should support this number of harts. Best regards Heinrich -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-riscv in Ubuntu. https://bugs.launchpad.net/bugs/1967889 Title: Raise CONFIG_NR_CPUS Status in linux-riscv package in Ubuntu: New Bug description: [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. [Other Info] * Original bug description: The QEMU 7.0 virt machine offers up to 32 virtual harts. This matches the number of hardware threads on a typical desktop CPU (AMD Ryzen 5950X). Our Linux kernel should support this number of harts. Best regards Heinrich To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-riscv/+bug/1967889/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp