From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by dpdk.org (Postfix) with ESMTP id 8510D2E8B for ; Thu, 11 Sep 2014 10:07:52 +0200 (CEST) Received: by mail-pd0-f173.google.com with SMTP id ft15so10829159pdb.4 for ; Thu, 11 Sep 2014 01:13:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=jBhfjZr1wGF3tscDwmFO7E5oMD9DjEE44bzOCxQw65M=; b=eHHFNfoWXAZK7mBW8IAG3qt2lQCE6BmmbBvrgY7S7jTGnCvJY+EE7VT9dYzWzJp7LP HjXaJuyH7mkYhdXoZ5dwEU3TEWrTO8gIzZoK7VPg8YnMQFOvdWewHA2DqAzCZ0r7YWt8 z35vbd5JsUj//iCYOZFmCsFQWyeoUTpnlPYncWD+0d84ekBrdTX2eSVSLqPz8SL6nUmp tz7+mkPzhxhALGfGPKpV5udVNB3CrZPmg+/tXMuO+qe7G5kbf0jW+puTsISo56xKAVdQ GyVLkmu5gj4R5DD1eNuJS3MeczxO5uKu3grKpEFOUHUlA7hdhnzoMAQvVl/SiLzm1egH GL2A== X-Gm-Message-State: ALoCoQlZQsAItqbl6j8uU++iPTHJR9O3qzlEOutsmXR03rW4tbx8RkjpCYvvVlxTWoZtCIl1LNXc X-Received: by 10.66.129.139 with SMTP id nw11mr73368027pab.16.1410423184216; Thu, 11 Sep 2014 01:13:04 -0700 (PDT) Received: from [10.16.129.101] (napt.igel.co.jp. [219.106.231.132]) by mx.google.com with ESMTPSA id ty8sm327311pab.26.2014.09.11.01.13.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Sep 2014 01:13:03 -0700 (PDT) Message-ID: <5411598F.70907@igel.co.jp> Date: Thu, 11 Sep 2014 17:13:03 +0900 From: Tetsuya Mukawa User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Hiroshi Shimamoto , "dev@dpdk.org" References: <7F861DC0615E0C47A872E6F3C5FCDDBD011A98AD@BPXM14GP.gisp.nec.co.jp> In-Reply-To: <7F861DC0615E0C47A872E6F3C5FCDDBD011A98AD@BPXM14GP.gisp.nec.co.jp> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: Hayato Momma Subject: Re: [dpdk-dev] [memnic PATCH 0/7] MEMNIC PMD performance improvement 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, 11 Sep 2014 08:07:53 -0000 Hi Shimamoto-san, (2014/09/11 16:45), Hiroshi Shimamoto wrote: > From: Hiroshi Shimamoto > > This patchset improves MEMNIC PMD performance. > > The first patch introduces a new benchmark test run in guest, > and will be used to evaluate the following patch effects. > > This patchset improves the throughput results of memnic-tester. > Using Xeon E5-2697 v2 @ 2.70GHz, 4 vCPU. How many cores are you actually using for sending and receiving? I guess 1 dedicated core is used for sending on host or guest side, and one more dedicated core is for receiving on the other side. And you've got a following performance result. Is this correct? Thanks, Tetsuya Mukawa > size | before | after > 64 | 4.18Mpps | 5.83Mpps > 128 | 3.85Mpps | 5.71Mpps > 256 | 4.01Mpps | 5.40Mpps > 512 | 3.52Mpps | 4.64Mpps > 1024 | 3.18Mpps | 3.68Mpps > 1280 | 2.86Mpps | 3.17Mpps > 1518 | 2.59Mpps | 2.90Mpps > > Hiroshi Shimamoto (7): > guest: memnic-tester: PMD benchmark in guest > pmd: remove needless assignment > pmd: use helper macros > pmd: use compiler barrier > pmd: packet receiving optimization with prefetch > pmd: add branch hint in recv/xmit > pmd: split calling mbuf free > > guest/Makefile | 20 ++++ > guest/README.rst | 94 +++++++++++++++++ > guest/memnic-tester.c | 281 ++++++++++++++++++++++++++++++++++++++++++++++++++ > pmd/pmd_memnic.c | 43 ++++---- > 4 files changed, 417 insertions(+), 21 deletions(-) > create mode 100644 guest/Makefile > create mode 100644 guest/README.rst > create mode 100644 guest/memnic-tester.c >