From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hunt, David" Subject: Re: [PATCH v11 14/18] examples/distributor: tweaks for performance Date: Tue, 28 Mar 2017 09:45:22 +0100 Message-ID: <430cfedb-bfe2-4598-7c0c-53f75a68a065@intel.com> References: <1489558767-56329-2-git-send-email-david.hunt@intel.com> <1490004522-183515-1-git-send-email-david.hunt@intel.com> <1490004522-183515-15-git-send-email-david.hunt@intel.com> <2938979.OkyPpIgWtL@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, bruce.richardson@intel.com To: Thomas Monjalon Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 646CED07E for ; Tue, 28 Mar 2017 10:45:27 +0200 (CEST) In-Reply-To: <2938979.OkyPpIgWtL@xps13> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 27/3/2017 2:04 PM, Thomas Monjalon wrote: > 2017-03-20 10:08, David Hunt: >> Approximately 10% performance increase due to these changes. > It would have been better to explain what are the changes. > >> Signed-off-by: David Hunt >> Acked-by: Bruce Richardson >> --- >> examples/distributor/main.c | 36 +++++++++++++++++++++++------------- >> 1 file changed, 23 insertions(+), 13 deletions(-) Hi Thomas, Sure, how about this: This patch tunes Rx, Tx, and rte_distributor_process() burst sizes to maximize performance. It also addresses some checkpatch issues. The result is approximately 10% performance increase. Regards, Dave.