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 20E1D5F72 for ; Fri, 16 Mar 2018 15:08:12 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Mar 2018 07:08:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,316,1517904000"; d="scan'208";a="212186367" Received: from fyigit-mobl.ger.corp.intel.com (HELO [10.237.221.62]) ([10.237.221.62]) by fmsmga005.fm.intel.com with ESMTP; 16 Mar 2018 07:08:10 -0700 From: Ferruh Yigit To: Mallesh Koujalagi , dev@dpdk.org, konstantin.ananyev@intel.com Cc: mtetsuyah@gmail.com References: <1517627510-60932-1-git-send-email-malleshx.koujalagi@intel.com> <1520552441-20833-1-git-send-email-malleshx.koujalagi@intel.com> <1f784f92-70fe-915c-8ca2-54539a7ceb60@intel.com> Message-ID: <17d3b393-4f39-ca32-abf7-37b0e0dbdbed@intel.com> Date: Fri, 16 Mar 2018 14:08:10 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1f784f92-70fe-915c-8ca2-54539a7ceb60@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] net/null: support bulk allocation 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: Fri, 16 Mar 2018 14:08:13 -0000 On 3/9/2018 11:09 AM, Ferruh Yigit wrote: > On 3/8/2018 11:40 PM, Mallesh Koujalagi wrote: >> Bulk allocation of multiple mbufs increased more than ~2% and less >> than 8% throughput on single core (1.8 GHz), based on usage for example >> 1: Testpmd case: Two null devices with copy 8% improvement. >> testpmd -c 0x3 -n 4 --socket-mem 1024,1024 >> --vdev 'eth_null0,size=64,copy=1' --vdev 'eth_null1,size=64,copy=1' >> -- -i -a --coremask=0x2 --txrst=64 --txfreet=64 --txd=256 >> --rxd=256 --rxfreet=64 --burst=64 --txpt=64 --txq=1 --rxq=1 --numa >> 2. Ovs switch case: 2% improvement. >> $VSCTL add-port ovs-br dpdk1 -- set Interface dpdk1 type=dpdk \ >> options:dpdk-devargs=eth_null0,size=64,copy=1 >> $VSCTL add-port ovs-br dpdk2 -- set Interface dpdk2 type=dpdk \ >> options:dpdk-devargs=eth_null1,size=64,copy=1 >> >> Signed-off-by: Mallesh Koujalagi > > Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/master, thanks.