From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 659BC9612 for ; Mon, 15 Feb 2016 10:20:33 +0100 (CET) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1aVFLr-0003Ix-DY; Mon, 15 Feb 2016 10:21:51 +0100 To: Keith Wiles , dev@dpdk.org References: <1455039006-86816-1-git-send-email-keith.wiles@intel.com> <1455302184-48822-1-git-send-email-keith.wiles@intel.com> From: Olivier MATZ X-Enigmail-Draft-Status: N1110 Message-ID: <56C19857.4050809@6wind.com> Date: Mon, 15 Feb 2016 10:20:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.3.0 MIME-Version: 1.0 In-Reply-To: <1455302184-48822-1-git-send-email-keith.wiles@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4] 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: Mon, 15 Feb 2016 09:20:33 -0000 On 02/12/2016 07:36 PM, Keith Wiles wrote: > The rte_mempool structure is changed, which will cause an ABI change > for this structure. Providing backward compat is not reasonable > here as this structure is used in multiple defines/inlines. > > 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. > > Allocating small mempools which do not require cache can consume > larges amounts of memory if you have a number of these mempools. > > Change to be effective in release 16.07. > > Signed-off-by: Keith Wiles Acked-by: Olivier Matz (for 16.07)