From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-f178.google.com (mail-yk0-f178.google.com [209.85.160.178]) by dpdk.org (Postfix) with ESMTP id CD055379E for ; Mon, 21 Dec 2015 19:04:04 +0100 (CET) Received: by mail-yk0-f178.google.com with SMTP id x184so138808459yka.3 for ; Mon, 21 Dec 2015 10:04:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=wM0dcxnKebyJHayOqKOSAbPnXL4ebEbKycVXT2N4Xg4=; b=sChXadnaXqlae+TaDsi+Q4hNtEy0ONUGAd00cK4bfG8tyDk+rW3dykf7uBSGJRV88M Dz71Q1rZzM+wn4qaCGPIa0yjiP0o+d91YkjiuhUz2SKNXy7Z+H2We7N2XLr0wgQiGaKE 3smeHbwjQYsjMYed9AGIuNxh5hdVYI7rdvE4b7ZRxXvpNWCqpEuBgaYpolnYZw61Ha6b ACIehFKF9OA8IrdBFFIOpIGgRhkB9PASzUbmFTZGWXttMGwTktWU0BS2SadmboV2OiUY t0NKnUez0q3K1WO/1SSwCbOHXI1nOwCf4wUCowObHmcir+0fxTHqfe3vddK9DvzvMtWD MCDA== X-Received: by 10.129.78.74 with SMTP id c71mr15398775ywb.270.1450721044353; Mon, 21 Dec 2015 10:04:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.1.8 with HTTP; Mon, 21 Dec 2015 10:03:34 -0800 (PST) In-Reply-To: References: <3960464.KpnL1qVCkN@xps13> From: =?UTF-8?B?TWFydGlueCAtIOOCuOOCp+ODvOODoOOCug==?= Date: Mon, 21 Dec 2015 16:03:34 -0200 Message-ID: To: "Xie, Huawei" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] building LIBRTE_PMD_XENVIRT in 32bit triggers some errors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2015 18:04:05 -0000 On 10 December 2015 at 02:45, Xie, Huawei wrote: > On 12/10/2015 6:49 AM, Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3= =82=BA wrote: >> On 9 December 2015 at 18:05, Thomas Monjalon = wrote: >>> 2015-12-09 15:54, Martinx - =E3=82=B8=E3=82=A7=E3=83=BC=E3=83=A0=E3=82= =BA: >>>> Sorry to insist on this subject but, the time for releasing DPDK 2.2 >>>> is near and DPDK build with Xen 32-bit is broken. >>>> >>>> If DPDK doesn't fix this, there will be no way to enable XenVirt >>>> support for next Ubuntu LTS 16.04, which is a shame... >>>> >>>> I'm planning to use DPDK on Xen domUs (PVM, HVM, XenServer and on >>>> Amazon EC2) powered exclusively by a supported version of Ubuntu but, >>>> it is broken now... >>>> >>>> So, please, can someone take a look into this? :-P >>>> >>>> Thanks in advance! >>> Sorry, this area has no maintainer: >>> http://dpdk.org/browse/dpdk/tree/MAINTAINERS#n169 >>> >>> In such case, it may be logic to remove the dead code. >>> If someone wants to make it alive, he's welcome! >> Hi Thomas, >> >> Listen, if DPDK on Xen has no maintainer, where can I find the >> current state of DPDK on Xen? >> >> I mean, I'm planning to use DPDK with Xen on the following environments= : >> >> * Amazon EC2 - HVM Enhanced Networking - *priority* >> * XenServer >> * Open Source Xen on Debian / Ubuntu (both PVM / HVM) >> >> But, if Xen support on DPDK has no maintainer, how to you guys are >> running DPDK on top of Xen (like for example, within Amazon EC2)? >> >> If I google for "DPDK Xen", I can find lots of good information but, >> I can't find recommended setup / drivers... >> >> Do you have any recommendation? > Thiago: > This xen PMD is based on grant table mechanism and virtio interface. > Worth to note is it needs customized backend, which now resides in > examples/vhost_xen. > Another approach is netfront based PMD, which has kernel netback backend > in place, but i guess it couldn't achieve best performance as we need > map each grant page in backend. Stephen submitted the patch for netfront > PMD http://dpdk.org/dev/patchwork/patch/3330/. Thomas, do you know its > status? > Anyway i will try to create the XEN environment, and check the issues. > >> >> Thank you! >> >> Best, >> Thiago >> > Hello Xie, Thank you for your help, I really appreciated it! Basically, what I would like to understand is: - What is the BEST way of running DPDK inside a Xen domU guest? I'm seeing that there are too many options and not enough documentation about each, for example... * Does DPDK XENVIRT option, depends on XENDOM0 option? However, you said that it isn't fast / can't achieve best performance... * Apparently, Xen supports VirtIO (if I'm not wrong), but, I honestly don't know for sure, where/when it is available (XenServer? Amazon high-perf Net Instance? HVM? PVM?) * If Xen supports VirtIO (especially on Amazon / XenServer), isn't this the BEST way of running DPDK Apps on top of this kind of hypervisor (i.e., by not using XENVIRT at all)? Thanks again! Thiago