[dpdk-users] Invalid NUMA socket when running helloworld on VM linux

Dheeraj Dang dheerajdang138 at gmail.com
Sun Mar 3 10:57:50 CET 2019


Hi Changchun,

You can set numa_node using this command

*echo 0 > /sys/devices/pci0000\:00/<pci_id>/numa_node (if numa node is 0)*
*echo 1 > /sys/devices/pci0000\:00/<pci_id>/numa_node *
*(if numa node is 1)*
In logs, you are seeing its invalid value i.e -1.

Regards
Dheeraj Dang


On Sun, Mar 3, 2019 at 4:22 AM Changchun Zhang <changchun.zhang at oracle.com>
wrote:

>
>
> Hi Gurus,
>
>
>
> I launched a virtual box based linux on my windows, and my PC is thinkpad
> T480.
>
> After configured the huge pages as number of 2MBs and the cpu number as 4
> on the vm linux, I build DPDK and run the example of hellowworld but get
> the below output, in which I saw the "invalid NUMA socket". What does it
> mean and does it matter, as I see the hello from core # is also printed.
>
>
>
> [~ build]$ sudo ./helloworld
>
> EAL: Detected 4 lcore(s)
>
> EAL: Detected 1 NUMA nodes
>
> EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
>
> EAL: Probing VFIO support...
>
> EAL: PCI device 0000:00:03.0 on NUMA socket -1
>
> EAL:   Invalid NUMA socket, default to 0
>
> EAL:   probe driver: 8086:100e net_e1000_em
>
> hello from core 1
>
> hello from core 2
>
> hello from core 3
>
> hello from core 0
>


More information about the users mailing list