From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 549AD2B96 for ; Tue, 6 Dec 2016 09:04:46 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 06 Dec 2016 00:04:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,309,1477983600"; d="scan'208";a="199466140" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga004.fm.intel.com with ESMTP; 06 Dec 2016 00:04:44 -0800 Received: from bgsmsx105.gar.corp.intel.com (10.223.43.197) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 6 Dec 2016 00:04:44 -0800 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.239]) by BGSMSX105.gar.corp.intel.com ([169.254.3.8]) with mapi id 14.03.0248.002; Tue, 6 Dec 2016 13:34:42 +0530 From: "Yang, Zhiyong" To: Thomas Monjalon CC: "dev@dpdk.org" , "yuanhan.liu@linux.intel.com" , "Richardson, Bruce" , "Ananyev, Konstantin" Thread-Topic: [dpdk-dev] [PATCH 4/4] lib/librte_vhost: improve vhost perf using rte_memset Thread-Index: AQHSTHcrC/qjMHUKP0a2QIxx7tD+aaD0DLoAgAZv/HA= Date: Tue, 6 Dec 2016 08:04:41 +0000 Message-ID: References: <1480926387-63838-1-git-send-email-zhiyong.yang@intel.com> <1480926387-63838-5-git-send-email-zhiyong.yang@intel.com> <1608392.pphkK3YPda@xps13> In-Reply-To: <1608392.pphkK3YPda@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGVlMWFhN2EtOGE4Yy00MDAwLWEwNGQtM2NmZjAzYzYyZGI2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlIraWV0eVdQV1wvdVBFU2FIaXFtd0ZNYURkWE16bW4wWlNGMG5ESHZlVE84PSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.223.10.10] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 4/4] lib/librte_vhost: improve vhost perf using rte_memset 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: Tue, 06 Dec 2016 08:04:46 -0000 Hi, Thomas: > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Friday, December 2, 2016 5:46 PM > To: Yang, Zhiyong > Cc: dev@dpdk.org; yuanhan.liu@linux.intel.com; Richardson, Bruce > ; Ananyev, Konstantin > > Subject: Re: [dpdk-dev] [PATCH 4/4] lib/librte_vhost: improve vhost perf > using rte_memset >=20 > 2016-12-05 16:26, Zhiyong Yang: > > +* **Introduced rte_memset and related test on IA platform.** > > + > > + Performance drop had been caused in some cases on Ivybridge when > > + DPDK code calls glibc function memset. It was necessary to introduce > more high efficient function to fix it. > > + The function rte_memset supported three types of instruction sets > > + including sse & avx(128 bits), > > + avx2(256 bits) and avx512(512bits). > > + > > + * Added rte_memset support on IA platform. > > + * Added functional autotest support for rte_memset. > > + * Added performance autotest support for rte_memset. >=20 > No need to reference autotests in the release notes. Ok. I will remove the two lines. >=20 > > + * Improved performance to use rte_memset instead of > copy_virtio_net_hdr in lib/librte_vhost. >=20 > Please describe this change at a higher level. Which case it is improving= ? Ok, good comments. * Improved performance to get 3% or so perf improvement on IA platform by using rte_memset when running virtio/vhost non-mergeable loopback test without NIC. Thanks Zhiyong