[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Virtio on Xen



On Tue, Feb 11, 2014 at 01:01:40PM +0000, Ian Campbell wrote:
> On Mon, 2014-02-10 at 10:07 -0800, Peter X. Gao wrote:
> > Thanks for your reply. I am now using virtio-net and it seems working.
> > However, Intel DPDK also requires hugepage. When a DPDK application is
> > initiating hugepage, I got the following error. Do I need to config
> > something in Xen to support hugepage?
> 
> I'm not sure about the status of superpage support in mainline kernels
> for PV Xen guests. IIRC there was a requirement to add a Xen command
> line flag to enable it at the level.
> 
> Or you could just use an HVM guest, since no special support is needed
> for hugepages there.
> 
> But maybe I'm confused because I think your use of virtio-net would
> necessarily require that you be using an HVM not PV guest.
> 
> But then looking at your logs I see Xen PV block and net but no sign of
> virtio -- so I suspect you are actually doing PV and not using
> virtio-net at all.

DPDK 1.6 is out - and you can do Xen. You need to use HVM guests and
a special module in dom0 to setup 2MB contingous pages that
is shared with the guest.  

The protocol that DPDK uses is VirtIO.

See:
http://dpdk.org/browse/dpdk/commit/?id=47bd46112b710dc59b1becfb67e18da319c5debe
http://dpdk.org/browse/dpdk/commit/?id=148f963fb5323c1c6b6d5cea95084deb25cc73f8

> 
> Ian.
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.