From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rahul Lakkireddy Subject: Re: [PATCH 1/3] cxgbe: Fix RX performance for cxgbe PMD. Date: Thu, 9 Jul 2015 20:24:35 +0530 Message-ID: <20150709145433.GA3409@scalar.blr.asicdesigners.com> References: <96172d6f608d59f6d8463d407f21d08a963d6d5a.1436288467.git.rahul.lakkireddy@chelsio.com> <6332495.cKaf3cHUcn@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, Felix Marti , Nirranjan Kirubaharan , Kumar Sanghvi To: Thomas Monjalon Return-path: Received: from stargate3.asicdesigners.com (stargate.chelsio.com [67.207.112.58]) by dpdk.org (Postfix) with ESMTP id 834F3C2FC for ; Thu, 9 Jul 2015 11:24:58 +0200 (CEST) Content-Disposition: inline In-Reply-To: <6332495.cKaf3cHUcn@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Thomas, On Tue, Jul 07, 2015 at 23:30:38 +0200, Thomas Monjalon wrote: > 2015-07-07 22:42, Rahul Lakkireddy: > > CXGBE PMD rx allocates a new mbuf everytime, which could lead to performance > > hit. Instead, do bulk allocation of mbufs and re-use them. > > > > Also, simplify the overall rx-handler, and update its logic to fix rx perf. > > For such change, it would be nice to provide some benchmark numbers. > Thanks On my setup having T580-CR card which is 2-port 40G, I see Rx PPS improving for 64 byte size from ~25Mpps to ~37Mpps on single port. Similarly, roughly 10 Mpps improvement is seen for dual port also. And for IO size 128 bytes, approx. 3Mpps improvement is seen. Of course, my setup is not a powerful one as used by our QA team. Nevertheless, the improvement is visible in my setup also. Thanks, Rahul