[Kernel-packages] [Bug 1967889] Re: Raise CONFIG_NR_CPUS

2022-08-31 Thread Emil Renner Berthing
** Changed in: linux-riscv (Ubuntu)
 Assignee: (unassigned) => Emil Renner Berthing (esmil)

-- 
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:
  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


[Kernel-packages] [Bug 1967889] Re: Raise CONFIG_NR_CPUS

2022-08-31 Thread Emil Renner Berthing
** 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


[Kernel-packages] [Bug 1967889] Re: Raise CONFIG_NR_CPUS

2022-08-31 Thread Heinrich Schuchardt
** Description changed:

  [Impact]
  
-  * Currently our riscv64 kernels don't support more than 8 CPUs.
+  * Currently our riscv64 kernels don't support more than 8 CPUs.
  
-  * The QEMU 7.0 virt machine supports up to 32 harts (CPU threads).
+  * The QEMU 7.0 virt machine supports up to 512 harts (CPU threads).
  
-  * Raising CONFIG_NR_CPUS to 32 allows us to use all of them.
+  * 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.
  
  [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.
+  * 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 all of them should be used.
  
  [Where problems could occur]
  
-  * This will use slightly more RAM which might hurt very small
-machines.
+  * This will use slightly more RAM which might hurt very small
+    machines.
  
  [Other Info]
-  
-  * Original bug description:
+ 
+  * 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


[Kernel-packages] [Bug 1967889] Re: Raise CONFIG_NR_CPUS

2022-08-31 Thread Emil Renner Berthing
** 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


[Kernel-packages] [Bug 1967889] Re: Raise CONFIG_NR_CPUS

2022-04-21 Thread Heinrich Schuchardt
The following patch sets reasonable values for CONFIG_NR_CPUS on RISC-V:

[PATCH v3] RISC-V: Increase range and default value of NR_CPUS
https://lore.kernel.org/all/20220420112408.155561-1-apa...@ventanamicro.com/

-- 
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:
  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