Is: DPDK 1.6 and Xen. Was:Re: Virtio on Xen
Quoted 9 lines · Peter X. Gao
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.
Please don't top post. I am afraid that I can't help you much - as I just did a scan through the logs and found that.
I would recommend you email this to the DPDK mailing list. They should be able to help you much more thoroughly than I can.
Quoted 45 lines
Regards
PeterQuoted 40 lines · Konrad Rzeszutek Wilk
Quoted 13 lines · Ian Campbell
Quoted 4 lines · Peter X. Gao
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.
Quoted 6 lines
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=148f963fb5323c1c6b6d5cea95084deb25cc73f8Quoted 9 lines
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Intel has a getting started guide - perhaps that helps: http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/intel-dpdk-getting-started-guide.html
Check the Xen section.
On Thursday, March 6, 2014 2:50 AM, Konrad Rzeszutek Wilk <[email protected]> wrote:
Quoted 9 lines · Peter X. Gao
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.
Please don't top post. I am afraid that I can't help you much - as I just did a scan through the logs and found that.
I would recommend you email this to the DPDK mailing list. They should be able to help you much more thoroughly than I can.
Quoted 45 lines
Regards
PeterQuoted 40 lines · Konrad Rzeszutek Wilk
Quoted 13 lines · Ian Campbell
Quoted 4 lines · Peter X. Gao
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.
Quoted 6 lines
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=148f963fb5323c1c6b6d5cea95084deb25cc73f8Quoted 9 lines
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel