DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] DPDK on Xen Dom-U hangs during hugepage setup
@ 2014-10-30 18:15 Kiran KN
  2014-10-31  8:11 ` Murillo
  0 siblings, 1 reply; 5+ messages in thread
From: Kiran KN @ 2014-10-30 18:15 UTC (permalink / raw)
  To: dev

Hello,

I am trying to bring up DPDK on Xen Dom-U.

Have followed all the steps in DPDK programmers guide in section 14.3.

However, when I try to run testpmd or any other example application, it is getting stuck during hugepage setup.

It hangs after the print "EAL: Setting up memory..."

Has anyone faced similar issue before?

Thanks,
 Kiran

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] DPDK on Xen Dom-U hangs during hugepage setup
  2014-10-30 18:15 [dpdk-dev] DPDK on Xen Dom-U hangs during hugepage setup Kiran KN
@ 2014-10-31  8:11 ` Murillo
  2014-10-31 18:08   ` Kiran KN
  0 siblings, 1 reply; 5+ messages in thread
From: Murillo @ 2014-10-31  8:11 UTC (permalink / raw)
  To: dev

Hello,

Xen does not support hugepages, so you have to use a kernel module 
called rte_dom0_mm.
The instructions are in the getting started guide in the seccion 2.3.3.
If you manage to execute any example please tell me, because I am stuck 
during the execution of the examples after configuring the environment.



El 30/10/14 a las 19:15, Kiran KN escribió:
> Hello,
>
> I am trying to bring up DPDK on Xen Dom-U.
>
> Have followed all the steps in DPDK programmers guide in section 14.3.
>
> However, when I try to run testpmd or any other example application, it is getting stuck during hugepage setup.
>
> It hangs after the print "EAL: Setting up memory..."
>
> Has anyone faced similar issue before?
>
> Thanks,
>   Kiran
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] DPDK on Xen Dom-U hangs during hugepage setup
  2014-10-31  8:11 ` Murillo
@ 2014-10-31 18:08   ` Kiran KN
  2014-11-03  9:08     ` Murillo
  0 siblings, 1 reply; 5+ messages in thread
From: Kiran KN @ 2014-10-31 18:08 UTC (permalink / raw)
  To: Murillo, dev

Hello Murillo,

Yes, am using rte_dom0_mm as explained in DPDK programmers guide section 14.3.3 step (4).

The examples work when using --no-huge option. 

Are you able to go past the hugepage setup? If so can you tell what are the steps you followed in addition to the ones explained in section 14.3.

Thanks,
 Kiran

-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Murillo
Sent: Friday, October 31, 2014 1:11 AM
To: dev@dpdk.org
Subject: Re: [dpdk-dev] DPDK on Xen Dom-U hangs during hugepage setup

Hello,

Xen does not support hugepages, so you have to use a kernel module called rte_dom0_mm.
The instructions are in the getting started guide in the seccion 2.3.3.
If you manage to execute any example please tell me, because I am stuck during the execution of the examples after configuring the environment.



El 30/10/14 a las 19:15, Kiran KN escribió:
> Hello,
>
> I am trying to bring up DPDK on Xen Dom-U.
>
> Have followed all the steps in DPDK programmers guide in section 14.3.
>
> However, when I try to run testpmd or any other example application, it is getting stuck during hugepage setup.
>
> It hangs after the print "EAL: Setting up memory..."
>
> Has anyone faced similar issue before?
>
> Thanks,
>   Kiran
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] DPDK on Xen Dom-U hangs during hugepage setup
  2014-10-31 18:08   ` Kiran KN
@ 2014-11-03  9:08     ` Murillo
  2014-11-03 12:53       ` Liu, Jijiang
  0 siblings, 1 reply; 5+ messages in thread
From: Murillo @ 2014-11-03  9:08 UTC (permalink / raw)
  To: dev

Hello Kiran,

I was able to execute the helloworld example by running the next steps:

Change in Dpdk/config/common_linuxapp
CONFIG_RTE_LIBRTE_XEN_DOM0=n
to:
CONFIG_RTE_LIBRTE_XEN_DOM0=y
Change indpdk/config/defconfig_x86_64-native-linuxapp-gcc
CONFIG_RTE_MACHINE="native"
To
CONFIG_RTE_MACHINE="default"
make config T=x86_64-native-linuxapp-gcc
make install T=x86_64-native-linuxapp-gcc
sudo modprobe uio
sudo insmod x86_64-native-linuxapp-gcc/kmod/igb_uio.ko
sudo insmod x86_64-native-linuxapp-gcc/kmod/rte_dom0_mm.ko rsv_memsize=2048
echo 2048 /sys/kernel/mm/dom0-mm/memsize-mB/memsize
cd example/helloworld
make
./build/helloworld -c 0x3 -n 2 --xen-dom0 –no-huge



El 31/10/14 a las 19:08, Kiran KN escribió:
> Hello Murillo,
>
> Yes, am using rte_dom0_mm as explained in DPDK programmers guide section 14.3.3 step (4).
>
> The examples work when using --no-huge option.
>
> Are you able to go past the hugepage setup? If so can you tell what are the steps you followed in addition to the ones explained in section 14.3.
>
> Thanks,
>   Kiran
>
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Murillo
> Sent: Friday, October 31, 2014 1:11 AM
> To: dev@dpdk.org
> Subject: Re: [dpdk-dev] DPDK on Xen Dom-U hangs during hugepage setup
>
> Hello,
>
> Xen does not support hugepages, so you have to use a kernel module called rte_dom0_mm.
> The instructions are in the getting started guide in the seccion 2.3.3.
> If you manage to execute any example please tell me, because I am stuck during the execution of the examples after configuring the environment.
>
>
>
> El 30/10/14 a las 19:15, Kiran KN escribió:
>> Hello,
>>
>> I am trying to bring up DPDK on Xen Dom-U.
>>
>> Have followed all the steps in DPDK programmers guide in section 14.3.
>>
>> However, when I try to run testpmd or any other example application, it is getting stuck during hugepage setup.
>>
>> It hangs after the print "EAL: Setting up memory..."
>>
>> Has anyone faced similar issue before?
>>
>> Thanks,
>>    Kiran
>>
>>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] DPDK on Xen Dom-U hangs during hugepage setup
  2014-11-03  9:08     ` Murillo
@ 2014-11-03 12:53       ` Liu, Jijiang
  0 siblings, 0 replies; 5+ messages in thread
From: Liu, Jijiang @ 2014-11-03 12:53 UTC (permalink / raw)
  To: Murillo, dev


The "-no-huge" option is not needed in this case.

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Murillo
> Sent: Monday, November 3, 2014 5:09 PM
> To: dev@dpdk.org
> Subject: Re: [dpdk-dev] DPDK on Xen Dom-U hangs during hugepage setup
> 
> Hello Kiran,
> 
> I was able to execute the helloworld example by running the next steps:
> 
> Change in Dpdk/config/common_linuxapp
> CONFIG_RTE_LIBRTE_XEN_DOM0=n
> to:
> CONFIG_RTE_LIBRTE_XEN_DOM0=y
> Change indpdk/config/defconfig_x86_64-native-linuxapp-gcc
> CONFIG_RTE_MACHINE="native"
> To
> CONFIG_RTE_MACHINE="default"
> make config T=x86_64-native-linuxapp-gcc make install T=x86_64-native-
> linuxapp-gcc sudo modprobe uio sudo insmod x86_64-native-linuxapp-
> gcc/kmod/igb_uio.ko
> sudo insmod x86_64-native-linuxapp-gcc/kmod/rte_dom0_mm.ko
> rsv_memsize=2048 echo 2048 /sys/kernel/mm/dom0-mm/memsize-
> mB/memsize
> cd example/helloworld
> make
> ./build/helloworld -c 0x3 -n 2 --xen-dom0 -no-huge
> 
> 
> 
> El 31/10/14 a las 19:08, Kiran KN escribió:
> > Hello Murillo,
> >
> > Yes, am using rte_dom0_mm as explained in DPDK programmers guide section
> 14.3.3 step (4).
> >
> > The examples work when using --no-huge option.
> >
> > Are you able to go past the hugepage setup? If so can you tell what are the
> steps you followed in addition to the ones explained in section 14.3.
> >
> > Thanks,
> >   Kiran
> >
> > -----Original Message-----
> > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Murillo
> > Sent: Friday, October 31, 2014 1:11 AM
> > To: dev@dpdk.org
> > Subject: Re: [dpdk-dev] DPDK on Xen Dom-U hangs during hugepage setup
> >
> > Hello,
> >
> > Xen does not support hugepages, so you have to use a kernel module called
> rte_dom0_mm.
> > The instructions are in the getting started guide in the seccion 2.3.3.
> > If you manage to execute any example please tell me, because I am stuck
> during the execution of the examples after configuring the environment.
> >
> >
> >
> > El 30/10/14 a las 19:15, Kiran KN escribió:
> >> Hello,
> >>
> >> I am trying to bring up DPDK on Xen Dom-U.
> >>
> >> Have followed all the steps in DPDK programmers guide in section 14.3.
> >>
> >> However, when I try to run testpmd or any other example application, it is
> getting stuck during hugepage setup.
> >>
> >> It hangs after the print "EAL: Setting up memory..."
> >>
> >> Has anyone faced similar issue before?
> >>
> >> Thanks,
> >>    Kiran
> >>
> >>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-03 12:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-30 18:15 [dpdk-dev] DPDK on Xen Dom-U hangs during hugepage setup Kiran KN
2014-10-31  8:11 ` Murillo
2014-10-31 18:08   ` Kiran KN
2014-11-03  9:08     ` Murillo
2014-11-03 12:53       ` Liu, Jijiang

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git