From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id D3F3D1FF13F for ; Thu, 26 Mar 2026 14:35:53 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 4BD3412F99; Thu, 26 Mar 2026 14:36:14 +0100 (CET) From: Maximiliano Sandoval To: "DERUMIER, Alexandre" Subject: Re: [PATCH manager] ui: processor edit: allow setting more than 4 sockets In-Reply-To: <85b678425cfe0ac844e64a9c2e5f20c67203005e.camel@groupe-cyllene.com> (Alexandre DERUMIER's message of "Thu, 26 Mar 2026 13:04:35 +0000") References: <20260326105032.196205-1-m.sandoval@proxmox.com> <85b678425cfe0ac844e64a9c2e5f20c67203005e.camel@groupe-cyllene.com> User-Agent: mu4e 1.12.9; emacs 30.1 Date: Thu, 26 Mar 2026 14:35:39 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1774532090639 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.125 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: GIVDZHXVPV2J33B3CKFVKDO5QLCSOE72 X-Message-ID-Hash: GIVDZHXVPV2J33B3CKFVKDO5QLCSOE72 X-MailFrom: m.sandoval@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: "pve-devel@lists.proxmox.com" X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: "DERUMIER, Alexandre" writes: > Hi, > isn't it better to extend our current numa option (which create 1 node > by socket), to something like "numa_nodes_by_socket" ? As of now, fine-tuning the NUMA configuration is achieved via the `numa[n]` parameters. > Also, I think it could be great to enable numa by default for the vms > too. I have not been able to detect any improvement when running benchmarks on my guest with NUMA enabled with or without defining a topology. The content of this patch is to simply reconcile the documentation and API with the UI. I would be interested however in setups+benchmarks that show any improvement. > Alexandre > > -------- Message initial -------- > De: Maximiliano Sandoval > =C3=80: pve-devel@lists.proxmox.com > Objet: [PATCH manager] ui: processor edit: allow setting more than 4 > sockets > Date: 26/03/2026 11:50:29 > > As per our NUMA documentation [1]: > >> If the NUMA option is used, it is recommended to set the number of >> sockets to the number of nodes of the host system. > > Nowadays, it is common to find CPU models with 8 NUMA nodes. Two > examples are Xeon Platinum 8160 and EPYC 73F3. > > The number 16 was picked to allow for some future proofing while > remaining conservative. > > The schema at qemu-server does not limit the socket amount. > > [1] https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_numa > > Signed-off-by: Maximiliano Sandoval > --- > =C2=A0www/manager6/qemu/ProcessorEdit.js | 2 +- > =C2=A01 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/www/manager6/qemu/ProcessorEdit.js > b/www/manager6/qemu/ProcessorEdit.js > index ffaf014e..11912e3c 100644 > --- a/www/manager6/qemu/ProcessorEdit.js > +++ b/www/manager6/qemu/ProcessorEdit.js > @@ -113,7 +113,7 @@ Ext.define('PVE.qemu.ProcessorInputPanel', { > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = xtype: 'proxmoxintegerfield', > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = name: 'sockets', > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = minValue: 1, > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 maxVa= lue: 4, > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 maxVa= lue: 16, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = value: '1', > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = fieldLabel: gettext('Sockets'), > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = allowBlank: false, --=20 Maximiliano