From: Paul Tsvika <mozloverinweb@gmail.com>
To: Shreyansh Jain <shreyansh.jain@nxp.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Run testpmd application and encountered no free page issues
Date: Tue, 20 Jun 2017 16:57:10 +0800 [thread overview]
Message-ID: <CAGi_MXmnngjv9ejT3yy-QKWP6o6Q9FN0srEuZ+gNM5nMo301Bg@mail.gmail.com> (raw)
In-Reply-To: <VI1PR0401MB246464EA15917CE627206FB790C40@VI1PR0401MB2464.eurprd04.prod.outlook.com>
Hi Shreyansh,
Thanks for the reply.
By using the set-up script in DPDK:
the hugepage memory looks to be allocated properly:
cat /proc/meminfo
HugePages_Total: 240
HugePages_Free: 240
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
and then i run the commands below in sequence:
$ sudo modprobe uio
$ sudo insmod ./build/kmod/igb_uio.ko
$ sudo ./usertools/dpdk-devbind.py -b igb_uio xxx:xx.0 xxx:xx.1 (
xxx.xx.0, xxx.xx.1 <-- 10G port pci address )
$ sudo ./build/app/testpmd -l 1,2,3 -n 2 -- -i
EAL: Detected 16 lcore(s)
*EAL: No free hugepages reported in hugepages-1048576kB*
EAL: Probing VFIO support...
EAL: VFIO support initialized
*EAL: PCI device 0000:03:00.0 on NUMA socket 0*
*EAL: probe driver: 8086:15ad net_ixgbe*
*EAL: PCI device 0000:03:00.1 on NUMA socket 0*
*EAL: probe driver: 8086:15ad net_ixgbe*
EAL: PCI device 0000:05:00.0 on NUMA socket 0
EAL: probe driver: 8086:1521 net_e1000_igb
EAL: PCI device 0000:05:00.1 on NUMA socket 0
EAL: probe driver: 8086:1521 net_e1000_igb
Interactive-mode selected
USER1: create a new mbuf pool <mbuf_pool_socket_0>: n=163456, size=2176,
socket=0
Configuring Port 0 (socket 0)
PMD: ixgbe_dev_link_status_print(): Port 0: Link Down
Port 0: 00:25:90:5C:E9:58
Configuring Port 1 (socket 0)
PMD: ixgbe_dev_link_status_print(): Port 1: Link Down
Port 1: 00:25:90:5C:E9:59
Checking link statuses...
Done
testpmd>
Questions below:
1. It looks like the application can enter the interactive mode. however, I
have no idea why *EAL: No free hugepages reported in hugepages-1048576kB *keeps
popping out.
2. Is there any reason why the ports went down why I run the commands? The
Link was up before running it.
3. The hugepage will be gone after running this application.
HugePages_Total: 240
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
It became this. However, how can i free it again ? I tried to umount and
mount again but it did not work.
Please advice if any.
Paul
next prev parent reply other threads:[~2017-06-20 8:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-16 10:20 Paul Tsvika
2017-06-17 15:46 ` Paul Tsvika
2017-06-19 5:49 ` Shreyansh Jain
2017-06-19 6:08 ` Paul Tsvika
2017-06-19 8:39 ` Shreyansh Jain
2017-06-20 8:57 ` Paul Tsvika [this message]
2017-06-20 11:10 ` Shreyansh Jain
2017-06-21 3:16 ` Paul Tsvika
2017-06-21 4:40 ` Muhammad Zain-ul-Abideen
2017-06-21 5:35 ` Shreyansh Jain
2017-06-21 7:49 ` Paul Tsvika
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=CAGi_MXmnngjv9ejT3yy-QKWP6o6Q9FN0srEuZ+gNM5nMo301Bg@mail.gmail.com \
--to=mozloverinweb@gmail.com \
--cc=shreyansh.jain@nxp.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).