From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Virtio on Xen Date: Wed, 5 Mar 2014 13:02:15 -0500 Message-ID: <20140305180215.GB9058@phenom.dumpdata.com> References: <20140210104223.GN15387@zion.uk.xensource.com> <52F8B5C3.1020308@m2r.biz> <1392123700.26657.112.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WLG9E-0007HO-5M for Xen-devel@lists.xenproject.org; Wed, 05 Mar 2014 18:02:28 +0000 Content-Disposition: inline In-Reply-To: <1392123700.26657.112.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "Peter X. Gao" , Xen-devel@lists.xenproject.org, Fabio Fantoni , Wei Liu , xen-users@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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@lists.xen.org > http://lists.xen.org/xen-devel