From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id F1C7FA10 for ; Tue, 7 Jul 2015 23:31:48 +0200 (CEST) Received: by wgfr2 with SMTP id r2so24245257wgf.1 for ; Tue, 07 Jul 2015 14:31:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=/gd2i7bXZajz/jN4LkGuTxDVlVJaXjNCmBEu6D0U8Nk=; b=PDvObLkMkTMATwUkc6Gww1UjIsW8lk3rTtVplGxHL65O2xb14Y6tnxRgXCyuQC3AuD KLeLsQyq/CtlnoUwXQqVpwBpMVlwn+VcBH0T6wW5Blggn0tF9SUfIAfjwrxdUcHZ6Vse Sok9V2s7bAbeWBOUwMZ785HkXkZbbBDn+PmmzpDcumcasv9GI/DG15FgNdHR+eL63nzP lLv8/bOMqPfX2BLOr6uikAnPsT6RPflUgdCxs1bIrrVwV0ZSP7MJESkj1W5kzf13I8Ei PT3v8dZxu25RMjG3XAh9LpMAuiDp4zOsJDK9rtOEesCrH70ButjeQbW7fiVF76FtmrI8 CxcQ== X-Gm-Message-State: ALoCoQk123/Kt+9IAE+o+LKATfGDgiVxhwzX4A7pLhWvX48hUWDkmtQZRjIibPJYWKyloh6Xv2ym X-Received: by 10.180.95.67 with SMTP id di3mr66432552wib.78.1436304708833; Tue, 07 Jul 2015 14:31:48 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id c11sm54443440wib.1.2015.07.07.14.31.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jul 2015 14:31:48 -0700 (PDT) From: Thomas Monjalon To: Rahul Lakkireddy Date: Tue, 07 Jul 2015 23:30:38 +0200 Message-ID: <6332495.cKaf3cHUcn@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <96172d6f608d59f6d8463d407f21d08a963d6d5a.1436288467.git.rahul.lakkireddy@chelsio.com> References: <96172d6f608d59f6d8463d407f21d08a963d6d5a.1436288467.git.rahul.lakkireddy@chelsio.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Felix Marti , Nirranjan Kirubaharan , Kumar Sanghvi Subject: Re: [dpdk-dev] [PATCH 1/3] cxgbe: Fix RX performance for cxgbe PMD. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2015 21:31:49 -0000 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