From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2] net/null: support bulk allocation Date: Fri, 9 Mar 2018 11:09:01 +0000 Message-ID: <1f784f92-70fe-915c-8ca2-54539a7ceb60@intel.com> References: <1517627510-60932-1-git-send-email-malleshx.koujalagi@intel.com> <1520552441-20833-1-git-send-email-malleshx.koujalagi@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: mtetsuyah@gmail.com To: Mallesh Koujalagi , dev@dpdk.org, konstantin.ananyev@intel.com 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) In-Reply-To: <1520552441-20833-1-git-send-email-malleshx.koujalagi@intel.com> Content-Language: en-US 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 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