leoll2/UDPDK

Number of cores needed

boyracer2014 opened this issue · 0 comments

We have an instance with 2 cores , 2 NICs.

Are two cores enough?

[root@colo-14 pingpong]# LD_LIBRARY_PATH=/usr/local/lib64  ./pingpong -c ../../config.ini -f pong
Application args: ./pingpong -l 1 -n 2 --proc-type=primary -- -f pong 
Poller args: ./pingpong -l 1 -n 2 --proc-type=secondary 
EAL: Detected 2 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Detected 2 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   Invalid NUMA socket, default to 0
EAL:   Invalid NUMA socket, default to 0
EAL: Probe PCI driver: net_ixgbe_vf (8086:10ed) device: 0000:00:04.0 (socket 0)
EAL: No legacy callbacks, legacy socket not created
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_174955_199a03d762812
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
INIT: Could not set port 0 to promiscous mode
INIT: Cannot initialize RX port 0
INTR: Killing the poller process (174955)...
CLOSE: Killing the poller process (174955)...
Caught signal 15 in pingpong main process
INTR: Killing the poller process (0)...
EAL:   Invalid NUMA socket, default to 0
EAL:   Invalid NUMA socket, default to 0
EAL: Probe PCI driver: net_ixgbe_vf (8086:10ed) device: 0000:00:04.0 (socket 0)
EAL: No legacy callbacks, legacy socket not created
POLLINIT: Waiting to initialize IPC...
POLLINIT: Waiting to initialize IPC...

Not sure how to fix this ...