* [dpdk-users] l2fwd example program error : Cannot init mbuf pool @ 2015-11-27 4:04 P D, Arun (Nokia - IN/Bangalore) [not found] ` <56582427.5000307@epfl.ch> 0 siblings, 1 reply; 2+ messages in thread From: P D, Arun (Nokia - IN/Bangalore) @ 2015-11-27 4:04 UTC (permalink / raw) To: users 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <56582427.5000307@epfl.ch>]
[parent not found: <452B978F8CA9744BAA81E3E69370ABC4D927E5@SGSIMBX011.nsn-intra.net>]
* Re: [dpdk-users] l2fwd example program error : Cannot init mbuf pool [not found] ` <452B978F8CA9744BAA81E3E69370ABC4D927E5@SGSIMBX011.nsn-intra.net> @ 2015-11-27 12:06 ` Arseniy Zaostrovnykh 0 siblings, 0 replies; 2+ messages in thread From: Arseniy Zaostrovnykh @ 2015-11-27 12:06 UTC (permalink / raw) To: P D, Arun (Nokia - IN/Bangalore), users 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. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-27 12:06 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-11-27 4:04 [dpdk-users] l2fwd example program error : Cannot init mbuf pool 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 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).