From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490690727; x=1522226727; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=vDtJwlFr6EfVsIpBblh3bQhZQAuIXrO+GaTOmaSFbws=; b=voJzHggtJAGvpZ6VYegsbHAg73pv9xzayucEbk/FSWWii3pzFeJfVafj 5u4dOppzQpbElYqhIAfe8UqkvrTa1g==; Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2017 01:45:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,236,1486454400"; d="scan'208";a="948933459" Received: from dhunt5-mobl.ger.corp.intel.com (HELO [10.237.221.69]) ([10.237.221.69]) by orsmga003.jf.intel.com with ESMTP; 28 Mar 2017 01:45:22 -0700 To: Thomas Monjalon 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> Cc: dev@dpdk.org, bruce.richardson@intel.com From: "Hunt, David" Message-ID: <430cfedb-bfe2-4598-7c0c-53f75a68a065@intel.com> Date: Tue, 28 Mar 2017 09:45:22 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <2938979.OkyPpIgWtL@xps13> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v11 14/18] examples/distributor: tweaks for performance 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, 28 Mar 2017 08:45:27 -0000 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.