From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 1467D5F2F for ; Fri, 9 Mar 2018 12:09:04 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Mar 2018 03:09:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,445,1515484800"; d="scan'208";a="181291005" Received: from fyigit-mobl.ger.corp.intel.com (HELO [10.237.221.62]) ([10.237.221.62]) by orsmga004.jf.intel.com with ESMTP; 09 Mar 2018 03:09:01 -0800 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> From: Ferruh Yigit Message-ID: <1f784f92-70fe-915c-8ca2-54539a7ceb60@intel.com> Date: Fri, 9 Mar 2018 11:09:01 +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: <1520552441-20833-1-git-send-email-malleshx.koujalagi@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, 09 Mar 2018 11:09:05 -0000 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