From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id B91E2137C for ; Mon, 28 Aug 2017 13:42:41 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP; 28 Aug 2017 04:42:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,441,1498546800"; d="scan'208";a="145288066" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga006.fm.intel.com with ESMTP; 28 Aug 2017 04:42:40 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 28 Aug 2017 04:42:39 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 28 Aug 2017 04:42:38 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.39]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.219]) with mapi id 14.03.0319.002; Mon, 28 Aug 2017 19:41:32 +0800 From: "Yao, Lei A" To: Jens Freimann , "Bie, Tiwei" CC: "dev@dpdk.org" , "yliu@fridaylinux.org" , "maxime.coquelin@redhat.com" , "Wang, Zhihong" , "Yang, Zhiyong" Thread-Topic: [dpdk-dev] [PATCH] vhost: adaptively batch small guest memory copies Thread-Index: AQHTHH99lnefowi89EK7Z0TXLEACxKKYz22AgADb86A= Date: Mon, 28 Aug 2017 11:41:31 +0000 Message-ID: <2DBBFF226F7CF64BAFCA79B681719D953A25ED65@shsmsx102.ccr.corp.intel.com> References: <20170824021939.21306-1-tiwei.bie@intel.com> <20170828063123.l2eu7cetbr537boc@localhost.localdomain> In-Reply-To: <20170828063123.l2eu7cetbr537boc@localhost.localdomain> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzVlODlhM2EtMzNmZi00ZjEzLWFiOGQtZGU0OTUxYzU2OWUxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IkdRYVVQNmhQNnlcL0REWk91VmhXZXZYekhXa2tGZW1cL2NqRGtcL3BRQ3pqanc9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] vhost: adaptively batch small guest memory copies X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 11:42:42 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jens Freimann > Sent: Monday, August 28, 2017 2:31 PM > To: Bie, Tiwei > Cc: dev@dpdk.org; yliu@fridaylinux.org; maxime.coquelin@redhat.com; > Wang, Zhihong ; Yang, Zhiyong > > Subject: Re: [dpdk-dev] [PATCH] vhost: adaptively batch small guest memor= y > copies >=20 > Hi Tiwei, >=20 > On Thu, Aug 24, 2017 at 10:19:39AM +0800, Tiwei Bie wrote: > >This patch adaptively batches the small guest memory copies. > >By batching the small copies, the efficiency of executing the > >memory LOAD instructions can be improved greatly, because the > >memory LOAD latency can be effectively hidden by the pipeline. > >We saw great performance boosts for small packets PVP test. >=20 > this sounds interesting. Do you have numbers showing how much > performance improved for small packets? >=20 > regards, > Jens Hi, Jens On my test bench, the performance gain as following for=20 64B small packets Mergeable: 19% Vector =1B$B!'=1B(B 21% No-mergeable: 21% CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz OS: Ubuntu 16.04