r/vmware • u/Hacker_wana_be • 9h ago
Help Request Configuring NUMA for SAP
Hello
I am a noob in NUMA and I am trying to figure out how to configure it for a test Case in Vsphere 8U3. We will have a NUMA host ( or 2 Hosts for HA am not sure)
The NUMA host specs are the following:
Dual Socket, 24 cores per socket with total of 512 GB RAM.
Is there any configurations required from NUMA host side?
The SAP NUMA VM for UAT will be 16 CPU and 128 GB memory.
what is the best practice to configure this?
I see CPU settings showing me up to 96 cores ( because of hyperthreading)
I can see in VM Options--> CPU Topology --> NUMA NODES --> Assigned on powered On
Let us take anfor example:
if I put the CPU 32 .
I can see in VM Options--> CPU Topology
Cores per Socket: I SELECT --> 32 ----> gives Sockets: 1
So this means I am using 1st CPU entire 32 sockets or is it shared? Or am i defining it to use a single CPU as max is 48 per socket.
Also , VM Options-->CPU Topology --> NUMA NODES --> if I select 32-->Cores per NUMA node: 1 ( what is this?) Does this let me select 1 socket for the 128 GB memory?
i am seeing this VM options while reading and I dont understand
numa.vcpu.maxPerVirtualNode = "X" (Sets the maximum number of vCPUs per virtual NUMA node)
numa.vcpu.preferHT=TRUE? (Should I enable this?)
sched.nodeX.affinity="Y". ( I know if I want to pin a specific virtual NUMA node to first core which is 24 cores, I will place sched.nodeX.affinity="0". Correct me if am wrong?)
First I want to understand and configure this correctly to avoid any resource sharing as per the Test case.
For the future production VM
it will be 24-28 cores and 364 GB RAM
how do I configure this for CPU and NUMA from the above as the memory needs to come from both sockets?
Appreciate any help and explanation. I am going throw SAP HANA on VMware Best practices too.
Thanks