all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH v2 container/manager 0/2] increase core limit for lxc
@ 2020-09-15  9:14 Oguz Bektas
  2020-09-15  9:14 ` [pve-devel] [PATCH v2 container 1/2] fix #2938: increase limit of max cores from 128 to 8192 Oguz Bektas
  0 siblings, 1 reply; 3+ messages in thread
From: Oguz Bektas @ 2020-09-15  9:14 UTC (permalink / raw)
  To: pve-devel

increase the limit of total cpu cores to 8192 to match it with the
kernel limit.

pve-container:

Oguz Bektas (1):
  fix #2938: increase limit of max cores from 128 to 8192

 src/PVE/LXC/Config.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

pve-manager:

Oguz Bektas (1):
  lxc: increase limit of max cores from 128 to 512

 www/manager6/lxc/ResourceEdit.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [pve-devel] [PATCH v2 container 1/2] fix #2938: increase limit of max cores from 128 to 8192
  2020-09-15  9:14 [pve-devel] [PATCH v2 container/manager 0/2] increase core limit for lxc Oguz Bektas
@ 2020-09-15  9:14 ` Oguz Bektas
  2020-09-15  9:24   ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 3+ messages in thread
From: Oguz Bektas @ 2020-09-15  9:14 UTC (permalink / raw)
  To: pve-devel

to match limit from kernel

https://git.proxmox.com/?p=mirror_ubuntu-focal-kernel.git;a=blob;f=arch/x86/Kconfig;h=8ef85139553f5a4ad5187375af898266355c4177;hb=b311b46c7d1ab21bf0a11a6fa5bad76f98fb77af#l1014

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
---
 src/PVE/LXC/Config.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
index 4cd669c..49f599b 100644
--- a/src/PVE/LXC/Config.pm
+++ b/src/PVE/LXC/Config.pm
@@ -401,14 +401,14 @@ my $confdesc = {
 	type => 'integer',
 	description => "The number of cores assigned to the container. A container can use all available cores by default.",
 	minimum => 1,
-	maximum => 128,
+	maximum => 8192,
     },
     cpulimit => {
 	optional => 1,
 	type => 'number',
 	description => "Limit of CPU usage.\n\nNOTE: If the computer has 2 CPUs, it has a total of '2' CPU time. Value '0' indicates no CPU limit.",
 	minimum => 0,
-	maximum => 128,
+	maximum => 8192,
 	default => 0,
     },
     cpuunits => {
-- 
2.20.1




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [pve-devel] applied: Re: [PATCH v2 container 1/2] fix #2938: increase limit of max cores from 128 to 8192
  2020-09-15  9:14 ` [pve-devel] [PATCH v2 container 1/2] fix #2938: increase limit of max cores from 128 to 8192 Oguz Bektas
@ 2020-09-15  9:24   ` Thomas Lamprecht
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Lamprecht @ 2020-09-15  9:24 UTC (permalink / raw)
  To: Proxmox VE development discussion, Oguz Bektas

On 9/15/20 11:14 AM, Oguz Bektas wrote:
> to match limit from kernel
> 
> https://git.proxmox.com/?p=mirror_ubuntu-focal-kernel.git;a=blob;f=arch/x86/Kconfig;h=8ef85139553f5a4ad5187375af898266355c4177;hb=b311b46c7d1ab21bf0a11a6fa5bad76f98fb77af#l1014
> 
> Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
> ---
>  src/PVE/LXC/Config.pm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
>

applied, thanks!




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-15  9:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15  9:14 [pve-devel] [PATCH v2 container/manager 0/2] increase core limit for lxc Oguz Bektas
2020-09-15  9:14 ` [pve-devel] [PATCH v2 container 1/2] fix #2938: increase limit of max cores from 128 to 8192 Oguz Bektas
2020-09-15  9:24   ` [pve-devel] applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal