I am trying to run DPDK helloworld example in a custom Linux distribution. I have installed custom Linux in a VMware player. The program is failed due to the fact the NUMA node is not supported.
When I try to execute grep NUMA /boot/config-
uname -a`, I don't get any results.
On the other hand, I tried the same activity in Ubuntu VM in VMware player. There DPDK helloworld didn't fail. When I try to execute grep NUMA /boot/config-
uname -a` , I got details about NUMA configuration.
The other day, VMplayer provided different default NIC cards for Ubuntu and custom Linux. Hence i changed entries in vmx file.
I am just wondering whether different results are due to any setting parameters in custom linux or vmx file settings in the virtual machine.
Would appreicate your help on this to understand the cause of the issue.
I tried the following commands in different VMs
In CentOS VM
cat /etc/centos-release
centOS Linux release 8.2
uname -r
4.18.0
lscpu
NUMA node(s) :1
NUMA node0 CPU(s): 0-3
grep NUMA /boot/Config.x
CONFIG_NUMA=y
In Ubuntu VM
uname -r
4.10.0
lsb_release -a
Ubuntu 16.04
lscpu
NUMA node(s) :1
NUMA node0 CPU(s): 0-3
grep NUMA /boot/Config.x
CONFIG_NUMA=y
numactl --hardware gives output
In Custom Linux
uname -r
3.16.71
**lscpu output don't contain NUMA details**
zgrep NUMA /proc/config.gz
CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
CONFIG_ARCH_WANTS_PROT_NUMA_PROT_NONE=y
**#CONFIG_NUMA is not set**
numactl --show
**No NUMA support available on this system**
In custom Linux source code the following line is there
sources/kernel-headers/linux-3.4.104/arch/x86/configs/x86_64_defconfig
**Config_NUMA=y**
But as per results, it says CONFIG_NUMA is not set.
Would appreciate your inputs whether do I need to update any other part in kernel source code to enable NUMA node.