From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id C028E133F for ; Tue, 21 Mar 2017 13:24:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490099043; x=1521635043; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=eo9py9gI1Zjg4FP0TJhNYKBLn9vOSK/J3sqxtb2BD/E=; b=mREXoh2OpngXlxxrtwhFbgIoJRYJ/yvHkp1KfGR83/2gzeI0h8tLVf75 wObgnfBlkUHDitvO3f4hQF374YK0Bw==; Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Mar 2017 05:24:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,198,1486454400"; d="scan'208";a="836999064" Received: from unknown (HELO [10.252.14.247]) ([10.252.14.247]) by FMSMGA003.fm.intel.com with ESMTP; 21 Mar 2017 05:24:01 -0700 To: Keith Wiles , dev@dpdk.org References: <20170307223918.33906-1-keith.wiles@intel.com> From: Declan Doherty Message-ID: Date: Tue, 21 Mar 2017 12:24:00 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170307223918.33906-1-keith.wiles@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v3] net/bonding: reduce slave starvation on rx poll 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, 21 Mar 2017 12:24:04 -0000 Acking the correct version of the patch this time. On 07/03/2017 10:39 PM, Keith Wiles wrote: > When polling the bonded ports for RX packets the old driver would > always start with the first slave in the list. If the requested > number of packets is filled on the first port in a two port config > then the second port could be starved or have larger number of > missed packet errors. > > The code attempts to start with a different slave each time RX poll > is done to help eliminate starvation of slave ports. The effect of > the previous code was much lower performance for two slaves in the > bond then just the one slave. > > The performance drop was detected when the application can not poll > the rings of rx packets fast enough and the packets per second for > two or more ports was at the threshold thoughput of the application. > At this threshold the slaves would see very little or no drops in > the case of one slave. Then enable the second slave you would see > a large drop rate on the two slave bond and reduction in thoughput. > > Signed-off-by: Keith Wiles > --- ... > Acked-by: Declan Doherty