From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 53C8F239 for ; Mon, 27 Nov 2017 11:46:02 +0100 (CET) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Nov 2017 02:46:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,464,1505804400"; d="scan'208";a="153609840" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga004.jf.intel.com with ESMTP; 27 Nov 2017 02:46:00 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 27 Nov 2017 02:46:00 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 27 Nov 2017 02:46:00 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.159]) with mapi id 14.03.0319.002; Mon, 27 Nov 2017 18:45:58 +0800 From: "Zhang, Qi Z" To: "Richardson, Bruce" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "Richardson, Bruce" Thread-Topic: [dpdk-dev] [PATCH 0/2] AVX2 Vectorized Rx/Tx functions for i40e Thread-Index: AQHTZHvVmVXSsqXxOEOxuKPsU/Rp8aMoCwnA Date: Mon, 27 Nov 2017 10:45:58 +0000 Message-ID: <039ED4275CED7440929022BC67E70611531168A4@SHSMSX103.ccr.corp.intel.com> References: <20171123165314.168786-1-bruce.richardson@intel.com> In-Reply-To: <20171123165314.168786-1-bruce.richardson@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 0/2] AVX2 Vectorized Rx/Tx functions for i40e 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, 27 Nov 2017 10:46:02 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson > Sent: Friday, November 24, 2017 12:53 AM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Richardson, Bruce > Subject: [dpdk-dev] [PATCH 0/2] AVX2 Vectorized Rx/Tx functions for i40e >=20 > This patch adds an AVX2 vectorized path to the i40e driver, based on the > existing SSE4.2 version. Using AVX2 instructions gives better performance > than the SSE version, though the percentage increase depends on the exact > settings used. For example: >=20 > * Using 16B rather than 32B descriptors gives the biggest benefit since > 2 descriptors at a time can be read, rather than just 1 when 32B ones > are used. > * Bigger burst sizes for RX gives improved performance - while we see an > improvement with testpmd with the default burst size of 32, burst sizes > of up to 128 give further improvements > * In my testing, most of the improvement comes from faster processing on > the RX path, though the improved TX also gives benefit. >=20 > This has been tested on a system with CPU: "Intel(R) Xeon(R) Gold 6154 CP= U > @ 3.00GHz", and I've focused on testing with Rx ring sizes of approx 1k - > generally --rxd=3D1024 and --txd=3D512, rather than the defaults which te= nd to > give poorer zero-loss performance due to the smaller amount of buffering. Reviewed-by: Qi Zhang Manipulated the instructions, no issue be found. The patch is wonderful!. Thanks Qi >=20 > Bruce Richardson (2): > net/i40e: add AVX2 Tx function > net/i40e: add AVX2 Rx function >=20 > drivers/net/i40e/Makefile | 19 + > drivers/net/i40e/i40e_rxtx.c | 31 ++ > drivers/net/i40e/i40e_rxtx.h | 6 + > drivers/net/i40e/i40e_rxtx_vec_avx2.c | 792 > ++++++++++++++++++++++++++++++++++ > 4 files changed, 848 insertions(+) > create mode 100644 drivers/net/i40e/i40e_rxtx_vec_avx2.c >=20 > -- > 2.13.6