From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 46FF88D90 for ; Wed, 3 Feb 2016 18:12:04 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 03 Feb 2016 09:11:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,391,1449561600"; d="scan'208";a="646623607" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by FMSMGA003.fm.intel.com with ESMTP; 03 Feb 2016 09:11:45 -0800 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by irsmsx110.ger.corp.intel.com (163.33.3.25) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 3 Feb 2016 17:11:40 +0000 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.237]) by irsmsx155.ger.corp.intel.com ([169.254.14.217]) with mapi id 14.03.0248.002; Wed, 3 Feb 2016 17:11:41 +0000 From: "Ananyev, Konstantin" To: "Wiles, Keith" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] mempool: Reduce rte_mempool structure size Thread-Index: AQHRXg33HDtwtMcTQ02GDBkJlIG1158aj4+A Date: Wed, 3 Feb 2016 17:11:40 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836B02C8F@irsmsx105.ger.corp.intel.com> References: <1454454177-26743-1-git-send-email-keith.wiles@intel.com> In-Reply-To: <1454454177-26743-1-git-send-email-keith.wiles@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] mempool: Reduce rte_mempool structure size 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: Wed, 03 Feb 2016 17:12:04 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Keith Wiles > Sent: Tuesday, February 02, 2016 11:03 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] mempool: Reduce rte_mempool structure size >=20 > The rte_mempool structure is changed, which will cause an ABI change > for this structure. >=20 > Allow mempool cache support to be dynamic depending on if the > mempool being created needs cache support. Saves about 1.5M of > memory used by the rte_mempool structure. Performance does not seem > to be effected running l3fwd and the test_mempool execution passed. >=20 > Allocating small mempools which do not require cache can consume > larges amounts of memory if you have a number of these mempools. >=20 > Signed-off-by: Keith Wiles > --- Acked-by: Konstantin Ananyev