From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 3A8EA1B39E; Thu, 12 Jul 2018 07:56:38 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jul 2018 22:56:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,341,1526367600"; d="scan'208";a="72087859" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 11 Jul 2018 22:56:26 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 11 Jul 2018 22:56:16 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 11 Jul 2018 22:56:16 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.124]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.81]) with mapi id 14.03.0319.002; Thu, 12 Jul 2018 13:56:14 +0800 From: "Lu, Wenzhuo" To: "Li, Xiaoyun" , "Zhang, Qi Z" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v2] app/testpmd: fix little perf drop with XL710 Thread-Index: AQHUGL7qB7Kcm31QNki88o09DVcwJaSLFs6g Date: Thu, 12 Jul 2018 05:56:14 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B803A5C@shsmsx102.ccr.corp.intel.com> References: <1531189709-312497-1-git-send-email-xiaoyun.li@intel.com> <1531275335-29234-1-git-send-email-xiaoyun.li@intel.com> In-Reply-To: <1531275335-29234-1-git-send-email-xiaoyun.li@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 v2] app/testpmd: fix little perf drop with XL710 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: Thu, 12 Jul 2018 05:56:39 -0000 Hi Xiaoyun, > -----Original Message----- > From: Li, Xiaoyun > Sent: Wednesday, July 11, 2018 10:16 AM > To: Zhang, Qi Z ; Lu, Wenzhuo > > Cc: dev@dpdk.org; Li, Xiaoyun ; stable@dpdk.org > Subject: [PATCH v2] app/testpmd: fix little perf drop with XL710 >=20 > There is about 1.8M perf drop with XL710. And it is because of a bitrate What's 1.8M mean? BPS? PPS? Looks like this patch fixes the CPU consuming problem and has nothing to do= with a specific NIC. 2 suggestions. Just omit XL710, also in the tittle. Maybe better mentioning how many percent drop but not an accurate number. Except that, Acked-by: Wenzhuo Lu > calculation in the datapath. So improve it by maintaining an array of por= t > indexes in testpmd, which is updated with ethdev events. >=20 > Fixes: 8728ccf37615 ("fix ethdev ports enumeration") > Cc: stable@dpdk.org >=20 > Signed-off-by: Xiaoyun Li