[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Virtio on Xen
Hi Konrad, Just to make sure I understand everything. So I need to set up 2MB hugepage in Dom0 and use a module to share it with a HVM guest. How could I compile the module? Inside the DomU, how could I see the shared 2MB hugepages? Do I need another frontend driver? Many thanks. Regards Peter On Wed, Mar 5, 2014 at 10:02 AM, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote: > 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |