From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tyo202.gate.nec.co.jp (TYO202.gate.nec.co.jp [210.143.35.52]) by dpdk.org (Postfix) with ESMTP id D9BBC2E8B for ; Thu, 11 Sep 2014 10:31:57 +0200 (CEST) Received: from mailgate3.nec.co.jp ([10.7.69.197]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id s8B8b9uj009249; Thu, 11 Sep 2014 17:37:09 +0900 (JST) Received: from mailsv4.nec.co.jp (imss62.nec.co.jp [10.7.69.157]) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) with ESMTP id s8B8b8R12326; Thu, 11 Sep 2014 17:37:08 +0900 (JST) Received: from mail01b.kamome.nec.co.jp (mail01b.kamome.nec.co.jp [10.25.43.2]) by mailsv4.nec.co.jp (8.13.8/8.13.4) with ESMTP id s8B8b8bL026497; Thu, 11 Sep 2014 17:37:08 +0900 (JST) Received: from bpxc99gp.gisp.nec.co.jp ([10.38.151.142] [10.38.151.142]) by mail03.kamome.nec.co.jp with ESMTP id BT-MMP-1870197; Thu, 11 Sep 2014 17:36:48 +0900 Received: from BPXM14GP.gisp.nec.co.jp ([169.254.1.238]) by BPXC14GP.gisp.nec.co.jp ([10.38.151.142]) with mapi id 14.02.0328.011; Thu, 11 Sep 2014 17:36:48 +0900 From: Hiroshi Shimamoto To: Tetsuya Mukawa , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [memnic PATCH 0/7] MEMNIC PMD performance improvement Thread-Index: Ac/NlE/Fv35UQejCSsClQ/TnobDspf//cOuA//9nfsA= Date: Thu, 11 Sep 2014 08:36:48 +0000 Message-ID: <7F861DC0615E0C47A872E6F3C5FCDDBD011AA7E1@BPXM14GP.gisp.nec.co.jp> References: <7F861DC0615E0C47A872E6F3C5FCDDBD011A98AD@BPXM14GP.gisp.nec.co.jp> <5411598F.70907@igel.co.jp> In-Reply-To: <5411598F.70907@igel.co.jp> Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.205.5.123] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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:31:58 -0000 Hi Mukawa-san, > Subject: Re: [dpdk-dev] [memnic PATCH 0/7] MEMNIC PMD performance improve= ment >=20 > Hi Shimamoto-san, >=20 >=20 > (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? In this case, I use 4 dedicated cores pinned to each vCPU, so the answer is 4 cores, more precisely 2 cores for the test DPDK App. > 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? I think you can see the test details in the first patch. The test is done in guest only because I just want to know the PMD performance only. The host does nothing in the test. In guest 1 thread =3D 1 dedicated core emulates packet send/recv by turning flag on/off. On the other hand another thread, also pinned 1 dedicated core, does rx_burst and tx_burst. The test measures how much packets can be received and transmitted by MEMNIC PMD. This results means that if host can sends and receives packets in enough performance, how much throughput the guest application can achieve. thanks, Hiroshi >=20 > Thanks, > Tetsuya Mukawa >=20 > > 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 > >