From: Arseniy Zaostrovnykh <arseniy.zaostrovnykh@epfl.ch>
To: "P D, Arun (Nokia - IN/Bangalore)" <arun.p_d@nokia.com>, users@dpdk.org
Subject: Re: [dpdk-users] l2fwd example program error : Cannot init mbuf pool
Date: Fri, 27 Nov 2015 13:06:26 +0100 [thread overview]
Message-ID: <56584742.9060507@epfl.ch> (raw)
In-Reply-To: <452B978F8CA9744BAA81E3E69370ABC4D927E5@SGSIMBX011.nsn-intra.net>
Did you allocate just 5*2MB = 10 MB for dpdk? That is hardly enough. I
did not run l2fwd, but l3fwd example required more than 200 hugepages (>
500MB). Try to allocate more
On 27.11.2015 12:45, P D, Arun (Nokia - IN/Bangalore) wrote:
> Hi,
>
> Yes the hugepages have been allocated before running the example. Here is the hugepage info from /proc/meminfo
>
> AnonHugePages: 2048 kB
> HugePages_Total: 5
> HugePages_Free: 0
> HugePages_Rsvd: 0
> HugePages_Surp: 0
> Hugepagesize: 2048 kB
>
> Regards,
> Arun Raj
>
> -----Original Message-----
> From: EXT Arseniy Zaostrovnykh [mailto:arseniy.zaostrovnykh@epfl.ch]
> Sent: Friday, November 27, 2015 3:07 PM
> To: P D, Arun (Nokia - IN/Bangalore) <arun.p_d@nokia.com>
> Subject: Re: [dpdk-users] l2fwd example program error : Cannot init mbuf pool
>
> Hi Arun,
>
> Did you allocate hugepages (see tools/setup.sh - option [17]) before
> running the example?
>
>
> On 27.11.2015 05:04, P D, Arun (Nokia - IN/Bangalore) wrote:
>> Hello,
>>
>> I have been trying to run the example program of DPDK namely l2fwd. I have initialized the EAL environments. When I execute the l2fwd program I get error as below.
>>
>> The error is its failing to initialie mbuf pool.
>>
>> [root@localhost app]# ./l2fwd -c 2 -n 2
>> EAL: Detected lcore 0 as core 0 on socket 0
>> EAL: Detected lcore 1 as core 1 on socket 0
>> EAL: Detected lcore 2 as core 2 on socket 0
>> EAL: Detected lcore 3 as core 3 on socket 0
>> EAL: Support maximum 128 logical core(s) by configuration.
>> EAL: Detected 4 lcore(s)
>> EAL: Setting up physically contiguous memory...
>> EAL: Ask a virtual area of 0x200000 bytes
>> EAL: Virtual area found at 0x7ff848200000 (size = 0x200000)
>> EAL: Ask a virtual area of 0x200000 bytes
>> EAL: Virtual area found at 0x7ff847e00000 (size = 0x200000)
>> EAL: Ask a virtual area of 0x200000 bytes
>> EAL: Virtual area found at 0x7ff847a00000 (size = 0x200000)
>> EAL: Ask a virtual area of 0x200000 bytes
>> EAL: Virtual area found at 0x7ff847600000 (size = 0x200000)
>> EAL: Ask a virtual area of 0x200000 bytes
>> EAL: Virtual area found at 0x7ff847200000 (size = 0x200000)
>> EAL: Ask a virtual area of 0x400000 bytes
>> EAL: Virtual area found at 0x7ff846c00000 (size = 0x400000)
>> EAL: Requesting 7 pages of size 2MB from socket 0
>> EAL: TSC frequency is ~3192615 KHz
>> EAL: Master lcore 1 is ready (tid=48625880;cpuset=[1])
>> EAL: PCI device 0000:03:00.0 on NUMA socket -1
>> EAL: probe driver: 8086:1533 rte_igb_pmd
>> EAL: PCI memory mapped at 0x7ff848400000
>> EAL: PCI memory mapped at 0x7ff848500000
>> PMD: eth_igb_dev_init(): port_id 0 vendorID=0x8086 deviceID=0x1533
>> EAL: PCI device 0000:05:00.0 on NUMA socket -1
>> EAL: probe driver: 8086:100e rte_em_pmd
>> EAL: Not managed by a supported kernel driver, skipped
>> EAL: PCI device 0000:06:00.0 on NUMA socket -1
>> EAL: probe driver: 8086:10d3 rte_em_pmd
>> EAL: PCI memory mapped at 0x7ff848504000
>> EAL: PCI memory mapped at 0x7ff848524000
>> EAL: PCI memory mapped at 0x7ff8485a4000
>> PMD: eth_em_dev_init(): port_id 1 vendorID=0x8086 deviceID=0x10d3
>> EAL: Error - exiting with code: 1
>> Cause: Cannot init mbuf pool
>>
>> Please let me know if I am missing anything.
>>
>> Regards,
>> Arun Raj
>>
>>
--
Respectfully,
Arseniy.
prev parent reply other threads:[~2015-11-27 12:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-27 4:04 P D, Arun (Nokia - IN/Bangalore)
[not found] ` <56582427.5000307@epfl.ch>
[not found] ` <452B978F8CA9744BAA81E3E69370ABC4D927E5@SGSIMBX011.nsn-intra.net>
2015-11-27 12:06 ` Arseniy Zaostrovnykh [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56584742.9060507@epfl.ch \
--to=arseniy.zaostrovnykh@epfl.ch \
--cc=arun.p_d@nokia.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).