[dpdk-dev] processor/core count issue

Jeff Venable, Sr. jeff at vectranetworks.com
Fri Jul 17 05:40:14 CEST 2015


In a VM Fusion environment configured with 2 processors with 1 core each I get the following:

PANIC in rte_eal_init():
Cannot init logs
4: [/lib/x86_64-linux-gnu/libc.so<http://libc.so/>.6(__libc_start_main+0xf5) [0x7f9fd3bdaec5]]
3: [/usr/lib/dpdk-2.0.0/librte_eal.so<http://librte_eal.so/>.1(rte_eal_init+0x123a) [0x7f9fd4f462fa]]
2: [/usr/lib/dpdk-2.0.0/librte_eal.so<http://librte_eal.so/>.1(__rte_panic+0xc3) [0x7f9fd4f449e8]]
1: [/usr/lib/dpdk-2.0.0/librte_eal.so<http://librte_eal.so/>.1(rte_dump_stack+0x16) [0x7f9fd4f4daa6]]
Aborted (core dumped)

rte_socket_id() was returning 0xFFFFFFFF here:

(gdb) bt
#0  0x00007ffff797ae95 in rte_malloc_socket () from /usr/lib/dpdk-2.0.0/librte_malloc.so.1
#1  0x00007ffff797af4e in rte_zmalloc_socket () from /usr/lib/dpdk-2.0.0/librte_malloc.so.1
#2  0x00007ffff7573ef8 in rte_ring_create () from /usr/lib/dpdk-2.0.0/librte_ring.so.1
#3  0x00007ffff777770d in rte_mempool_xmem_create () from /usr/lib/dpdk-2.0.0/librte_mempool.so.1
#4  0x00007ffff7777b97 in rte_mempool_create () from /usr/lib/dpdk-2.0.0/librte_mempool.so.1
#5  0x00007ffff7b90899 in ?? () from /usr/lib/dpdk-2.0.0/librte_eal.so.1
#6  0x00007ffff7b88d34 in ?? () from /usr/lib/dpdk-2.0.0/librte_eal.so.1
#7  0x00007ffff7b84950 in rte_eal_init () from /usr/lib/dpdk-2.0.0/librte_eal.so.1

When I reconfigured the VM to 1 processor with 2 cores, everything works as expected.

This was not a problem in 1.6.

Jeff


More information about the dev mailing list