From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f172.google.com (mail-yw0-f172.google.com [209.85.161.172]) by dpdk.org (Postfix) with ESMTP id D0BD258D8 for ; Thu, 22 Sep 2016 11:01:42 +0200 (CEST) Received: by mail-yw0-f172.google.com with SMTP id g192so87064228ywh.1 for ; Thu, 22 Sep 2016 02:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=PZl/PVNzeaqABahnQXbuCKqRbBoXXl7VdF+buscxDi0=; b=aoLBhOemaSO34MmL7RoDsuEcQE3pr12lPOjYIR9p1VLnxxddneO4FfRyrs9AUYpmxi Hm4llEo6j+hCpvCxzaDEwAwfTxSO04+SdXqLePWEeiXNJ2Pw6oUDq/5E6PLMkToAvR5l A6SPCg71O7bFvdYune9rNYDdaGJal8oxUuQ9A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=PZl/PVNzeaqABahnQXbuCKqRbBoXXl7VdF+buscxDi0=; b=JtJL2VKwBHe3Cqs9d61rjxZNfgob3lDon1RHSdWTARSzs86i0PwMLl/M1JEPj80wY/ uve+DsaNkvl7Rf8IU2TFjfPOzccmQFgF92IAw8NItidFEBqrzlPUDeDNxTU46nMA3mYd RxJBrHFxvtmuMWODt9YMnUnxrfrSTwiNJRNq9j/k4icagY/0EBvtv8gOGDKUhpD2TqJ+ UQmpAhPPws4fmD3nUUjDQfXAmG0xJ9GP+NtOYEZV9uk7KcqKgAPomdHJ49fbsoC9twXR XPaQBrn0totcpr0Nd15z5vi219KGjGE2dLmPaAoubkkK0Un+OfiCOW0uV6jx+ih6lvos vfPQ== X-Gm-Message-State: AE9vXwPwWp3oOLAENiIui8COf3ohS9kTrMcfg29KsuBLp5WrLzEsikT5W/k+lj//1R2nR1Rn+fDA2awJSRTgTS0A X-Received: by 10.13.223.22 with SMTP id i22mr629074ywe.32.1474534902158; Thu, 22 Sep 2016 02:01:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.25.6 with HTTP; Thu, 22 Sep 2016 02:01:41 -0700 (PDT) In-Reply-To: <8F6C2BD409508844A0EFC19955BE09414E7B5DAE@SHSMSX103.ccr.corp.intel.com> References: <1471319402-112998-1-git-send-email-zhihong.wang@intel.com> <1471585430-125925-1-git-send-email-zhihong.wang@intel.com> <8F6C2BD409508844A0EFC19955BE09414E7B5581@SHSMSX103.ccr.corp.intel.com> <20160922022903.GJ23158@yliu-dev.sh.intel.com> <8F6C2BD409508844A0EFC19955BE09414E7B5DAE@SHSMSX103.ccr.corp.intel.com> From: Jianbo Liu Date: Thu, 22 Sep 2016 17:01:41 +0800 Message-ID: To: "Wang, Zhihong" Cc: Yuanhan Liu , Maxime Coquelin , "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 Subject: Re: [dpdk-dev] [PATCH v3 0/5] vhost: optimize enqueue 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: Thu, 22 Sep 2016 09:01:43 -0000 On 22 September 2016 at 14:58, Wang, Zhihong wrote: > > >> -----Original Message----- >> From: Jianbo Liu [mailto:jianbo.liu@linaro.org] >> Sent: Thursday, September 22, 2016 1:48 PM >> To: Yuanhan Liu >> Cc: Wang, Zhihong ; Maxime Coquelin >> ; dev@dpdk.org >> Subject: Re: [dpdk-dev] [PATCH v3 0/5] vhost: optimize enqueue >> >> On 22 September 2016 at 10:29, Yuanhan Liu >> wrote: >> > On Wed, Sep 21, 2016 at 08:54:11PM +0800, Jianbo Liu wrote: >> >> >> > My setup consists of one host running a guest. >> >> >> > The guest generates as much 64bytes packets as possible using >> >> >> >> >> >> Have you tested with other different packet size? >> >> >> My testing shows that performance is dropping when packet size is >> more >> >> >> than 256. >> >> > >> >> > >> >> > Hi Jianbo, >> >> > >> >> > Thanks for reporting this. >> >> > >> >> > 1. Are you running the vector frontend with mrg_rxbuf=off? >> >> > >> Yes, my testing is mrg_rxbuf=off, but not vector frontend PMD. >> >> >> > 2. Could you please specify what CPU you're running? Is it Haswell >> >> > or Ivy Bridge? >> >> > >> It's an ARM server. >> >> >> > 3. How many percentage of drop are you seeing? >> The testing result: >> size (bytes) improvement (%) >> 64 3.92 >> 128 11.51 >> 256 24.16 >> 512 -13.79 >> 1024 -22.51 >> 1500 -12.22 >> A correction is that performance is dropping if byte size is larger than 512. > > > Jianbo, > > Could you please verify does this patch really cause enqueue perf to drop? > > You can test the enqueue path only by set guest to do rxonly, and compare > the mpps by show port stats all in the guest. > > Tested with testpmd, host: txonly, guest: rxonly size (bytes) improvement (%) 64 4.12 128 6 256 2.65 512 -1.12 1024 -7.02