On Fri, Nov 22, 2019 at 6:52 PM Olivier Matz <olivier.m...@6wind.com> wrote: > > Hi Jerin,
Hi Olivier, > > On Thu, Nov 21, 2019 at 12:24:24PM +0000, Jerin Jacob Kollanukkaran wrote: > > mbuf autotest fails with 19.11-rc3 > > > > $ echo "mbuf_autotest" | sudo ./build/app/test/dpdk-test -c 0x3 > > > > EAL: Detected 56 lcore(s) > > EAL: Detected 2 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: PCI device 0000:01:00.0 on NUMA socket 0 > > EAL: probe driver: 8086:1521 net_e1000_igb > > EAL: PCI device 0000:01:00.1 on NUMA socket 0 > > EAL: probe driver: 8086:1521 net_e1000_igb > > APP: HPET is not enabled, using TSC as default timer > > RTE>>mbuf_autotest > > Test mbuf dynamic fields and flags > > Reserved fields: > > Reserved flags: > > Free space in mbuf (0 = free, value = zone alignment): > > 0000: 00 00 00 00 00 00 00 00 > > 0008: 00 00 00 00 00 00 00 00 > > 0010: 00 00 00 00 00 00 00 00 > > 0018: 00 00 00 00 00 00 00 00 > > 0020: 00 00 00 00 00 00 00 00 > > 0028: 00 00 00 00 00 00 00 00 > > 0030: 00 00 00 00 00 00 00 00 > > 0038: 00 00 00 00 00 00 00 00 > > 0040: 00 00 00 00 00 00 00 00 > > 0048: 00 00 00 00 00 00 00 00 > > 0050: 00 00 00 00 00 00 00 00 > > 0058: 00 00 00 00 00 00 00 00 > > 0060: 00 00 00 00 00 00 00 00 > > 0068: 00 00 00 00 00 00 00 00 > > 0070: 10 10 10 10 10 10 10 10 > > 0078: 10 10 10 10 10 10 10 10 > > dynfield: offset=112, offset2=114, offset3=120 > > dynflag: flag=23, flag2=24, flag3=40 > > Reserved fields: > > name=test-dynfield offset=112 size=1 align=1 flags=0 > > name=test-dynfield2 offset=114 size=2 align=2 flags=0 > > name=test-dynfield3 offset=120 size=1 align=1 flags=0 > > Reserved flags: > > name=test-dynflag bitnum=23 flags=0 > > name=test-dynflag2 bitnum=24 flags=0 > > name=test-dynflag3 bitnum=40 flags=0 > > Free space in mbuf (0 = free, value = zone alignment): > > 0000: 00 00 00 00 00 00 00 00 > > 0008: 00 00 00 00 00 00 00 00 > > 0010: 00 00 00 00 00 00 00 00 > > 0018: 00 00 00 00 00 00 00 00 > > 0020: 00 00 00 00 00 00 00 00 > > 0028: 00 00 00 00 00 00 00 00 > > 0030: 00 00 00 00 00 00 00 00 > > 0038: 00 00 00 00 00 00 00 00 > > 0040: 00 00 00 00 00 00 00 00 > > 0048: 00 00 00 00 00 00 00 00 > > 0050: 00 00 00 00 00 00 00 00 > > 0058: 00 00 00 00 00 00 00 00 > > 0060: 00 00 00 00 00 00 00 00 > > 0068: 00 00 00 00 00 00 00 00 > > 0070: 00 01 00 00 04 04 04 04 > > 0078: 00 01 02 02 04 04 04 04 > > cannot allocate mbuf pool > > Test Failed > > Could you please share some details about your configuration? > (amount of memory, arch, ...) The QA reported this issue on an octeontx2 machine. But when I tested on an x86 server it was reproducible(That above log was with x86 server, 56 cores + 2 NUMA). So I thought it is a generic issue(I did not spend any time debugging this). Now debugged the failure on x86, it was the case of low memory. I will debug more on the octeontx2 failure case. > > On my platform the test works, except if I use a very low amount > of memory (few MBs). > > Thanks, > Olivier