* [dpdk-dev] mbuf autotest fails with 19.11-rc3
@ 2019-11-21 12:24 Jerin Jacob Kollanukkaran
2019-11-22 9:51 ` Olivier Matz
0 siblings, 1 reply; 3+ messages in thread
From: Jerin Jacob Kollanukkaran @ 2019-11-21 12:24 UTC (permalink / raw)
To: dev, olivier.matz
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] mbuf autotest fails with 19.11-rc3
2019-11-21 12:24 [dpdk-dev] mbuf autotest fails with 19.11-rc3 Jerin Jacob Kollanukkaran
@ 2019-11-22 9:51 ` Olivier Matz
2019-11-22 13:06 ` Jerin Jacob
0 siblings, 1 reply; 3+ messages in thread
From: Olivier Matz @ 2019-11-22 9:51 UTC (permalink / raw)
To: Jerin Jacob Kollanukkaran; +Cc: dev
Hi Jerin,
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, ...)
On my platform the test works, except if I use a very low amount
of memory (few MBs).
Thanks,
Olivier
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] mbuf autotest fails with 19.11-rc3
2019-11-22 9:51 ` Olivier Matz
@ 2019-11-22 13:06 ` Jerin Jacob
0 siblings, 0 replies; 3+ messages in thread
From: Jerin Jacob @ 2019-11-22 13:06 UTC (permalink / raw)
To: Olivier Matz; +Cc: Jerin Jacob Kollanukkaran, dev
On Fri, Nov 22, 2019 at 6:52 PM Olivier Matz <olivier.matz@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-22 13:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-21 12:24 [dpdk-dev] mbuf autotest fails with 19.11-rc3 Jerin Jacob Kollanukkaran
2019-11-22 9:51 ` Olivier Matz
2019-11-22 13:06 ` Jerin Jacob
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).