** Description changed:

+ [Impact]
+ 
+  * Currently our riscv64 kernels don't support more than 8 CPUs.
+ 
+  * The QEMU 7.0 virt machine supports up to 32 harts (CPU threads).
+ 
+  * Raising CONFIG_NR_CPUS to 32 allows us to use all 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.
+ 
+ [Where problems could occur]
+ 
+  * This will use 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 32 harts (CPU threads).

   * Raising CONFIG_NR_CPUS to 32 allows us to use all 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.

  [Where problems could occur]

   * This will use 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

Reply via email to