From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f178.google.com (mail-yw0-f178.google.com [209.85.161.178]) by dpdk.org (Postfix) with ESMTP id DD25A47CD for ; Wed, 21 Sep 2016 10:50:02 +0200 (CEST) Received: by mail-yw0-f178.google.com with SMTP id g192so41689540ywh.1 for ; Wed, 21 Sep 2016 01:50:02 -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=AXXn+m4HohQyvvBkzxn5gj6EBDo14iD6fn25eMU1cwA=; b=LGijSRoJuKf3aL7G7N+sqHVxXWTD7nzGQ3mDsZIDNwKzug3KZX/vyhbmoGiFzso3r5 fdiixZrOWE0M27uKfXaTWcpxNlyly5fhcwRRH4ERrIHh5HN1h380BWngEsPDY1tSCXfZ Syiqd8yRnuQDEGd8rvy3Le1cXKNVIshBvExig= 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=AXXn+m4HohQyvvBkzxn5gj6EBDo14iD6fn25eMU1cwA=; b=WPMiBbSARGmZIIG9m4vgYikn45eCpuiOndYDFHoVe1IBvUU7MjDpYeTTqryNmJQ+ho 8+jKjy7qHdrVUSUHEy2seK5xerSy1l62cTR7eWHalEbKRLQlQYyXFiB8bh1wzqN8YPrG H6JsvJLT5lqstafsRTYV3ciSrieNfoVkBu0yt/nv8nV1J00wQ7mSyvFocDvA96KsVMyQ +i7M6JoJld1VeMkzI7CUZ0OTnQcJ6Qi1Hc/wPbKV/4WPpeTRVuNnA8QXcEopZk6J/6pg ogwaDjKmaiqJvi7IKiCKXQApBr1oXEyfImksfmUnhLcX1VAqmBTlmwTJ+8CnIzvRL4Ik wQUA== X-Gm-Message-State: AE9vXwOSMfjkhkwu4cuqlTxilX/hNG0eJWbcxAASIGcCLztWM1q3G0wqt1hyXdQd+6V8nIJV44AXEA5R2vCSoxqo X-Received: by 10.13.223.22 with SMTP id i22mr27067712ywe.32.1474447802334; Wed, 21 Sep 2016 01:50:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.25.6 with HTTP; Wed, 21 Sep 2016 01:50:01 -0700 (PDT) In-Reply-To: References: <1471319402-112998-1-git-send-email-zhihong.wang@intel.com> <1471585430-125925-1-git-send-email-zhihong.wang@intel.com> From: Jianbo Liu Date: Wed, 21 Sep 2016 16:50:01 +0800 Message-ID: To: Maxime Coquelin Cc: Zhihong Wang , dev@dpdk.org, yuanhan.liu@linux.intel.com 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: Wed, 21 Sep 2016 08:50:03 -0000 Hi Maxime, On 22 August 2016 at 16:11, Maxime Coquelin wrote: > Hi Zhihong, > > On 08/19/2016 07:43 AM, Zhihong Wang wrote: >> >> This patch set optimizes the vhost enqueue function. >> ... > > 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. > pktgen-dpdk. The hosts forwards received packets back to the guest > using testpmd on vhost pmd interface. Guest's vCPUs are pinned to > physical CPUs. > > I tested it with and without your v1 patch, with and without > rx-mergeable feature turned ON. > Results are the average of 8 runs of 60 seconds: > > Rx-Mergeable ON : 7.72Mpps > Rx-Mergeable ON + "vhost: optimize enqueue" v1: 9.19Mpps > Rx-Mergeable OFF: 10.52Mpps > Rx-Mergeable OFF + "vhost: optimize enqueue" v1: 10.60Mpps > > Regards, > Maxime