From: "Liu, Jijiang" <jijiang.liu@intel.com>
To: Gary M <garym@oedata.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Setup script for xen ?
Date: Wed, 9 Jul 2014 00:45:58 +0000 [thread overview]
Message-ID: <1ED644BD7E0A5F4091CF203DAFB8E4CC01D3E9CA@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <CAGwOJnzsFVb7Kifq11gbnSm409HA2BxHwcuRQA+QvkEvpgCUeg@mail.gmail.com>
The setup script in Dom0 probably can't work.
Could you execute DPDK application on Dom0 as follows:
1. insmod igb_uio.ko
2. insmod rte_dom0_mm.ko
Before compiling DPDK, you should set CONFIG_RTE_LIBRTE_XEN_DOM0=y
(#
#Compile Xen domain0 support
#
CONFIG_RTE_LIBRTE_XEN_DOM0=y
)
3. echo 2048 > /sys/kernel/mm/dom0-mm/memsize-mB/mem_size
4. start DPDK application with --xen-dom0 option.
./testpmd -c f -n 3 --xen-dom0 -- -i --portmask=0x3
For more details how use DPDK application on Dom0, please look at DPDK Getting Start Guide document .
-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Gary M
Sent: Wednesday, July 09, 2014 4:25 AM
To: dev@dpdk.org
Subject: [dpdk-dev] Setup script for xen ?
Hi,
New to the dpdk and just downloaded 1.7. I attempting to execute the test application (17) in Dom0 through the setup script.
It hangs during or just after setting up memory. I know I'm doing something wrong, I just can't quickly figure out it is.. need some help !!
I have UIO and KNI modules loaded and 64 pages NUMA shared memory. (I also tried 64 pages non-numa with the same result.)
See:
Option: 17
Enter hex bitmask of cores to execute test app on
Example: to execute app on cores 0 to 7, enter 0xff
bitmask: 0x01
Launching app
EAL: Detected lcore 0 as core 1 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 2 on socket 0
EAL: Detected lcore 4 as core 3 on socket 0
EAL: Detected lcore 5 as core 3 on socket 0
EAL: Detected lcore 6 as core 4 on socket 0
EAL: Detected lcore 7 as core 4 on socket 0
EAL: Support maximum 64 logical core(s) by configuration.
EAL: Detected 8 lcore(s)
EAL: unsupported IOMMU type!
EAL: VFIO support could not be initialized
EAL: Setting up memory...
Using debian jessie 3.14-1-amd64 #1 SMP Debian 3.14.4-1 (2014-05-13) x86_64 GNU/Linux with XEN 4.3.0
Any suggestions ?
-gary
next prev parent reply other threads:[~2014-07-09 0:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-08 20:24 Gary M
2014-07-09 0:45 ` Liu, Jijiang [this message]
2014-07-17 18:39 ` Gary M
2014-07-30 2:11 ` Liu, Jijiang
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=1ED644BD7E0A5F4091CF203DAFB8E4CC01D3E9CA@SHSMSX101.ccr.corp.intel.com \
--to=jijiang.liu@intel.com \
--cc=dev@dpdk.org \
--cc=garym@oedata.com \
/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).