From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] app/testpmd: optimize membuf pool allocation Date: Wed, 19 Sep 2018 15:38:00 +0200 Message-ID: <3618143.o1vK1DBNeJ@xps> References: <1535362398-6526-1-git-send-email-phil.yang@arm.com> <1536717266-6363-1-git-send-email-phil.yang@arm.com> <8CEF83825BEC744B83065625E567D7C260CEF262@IRSMSX107.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Iremonger, Bernard" , "gavin.hu@arm.com" , "stable@dpdk.org" To: "phil.yang@arm.com" Return-path: In-Reply-To: <8CEF83825BEC744B83065625E567D7C260CEF262@IRSMSX107.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > By default, testpmd will create membuf pool for all NUMA nodes and ignore EAL > > configuration. > > > > Count the number of available NUMA according to EAL core mask or core list > > configuration. Optimized by only creating membuf pool for those nodes. > > > > Fixes: c9cafcc ("app/testpmd: fix mempool creation by socket id") Fixes: c9cafcc82de8 ("app/testpmd: fix mempool creation by socket id") Cc: stable@dpdk.org > > Signed-off-by: Phil Yang > > Acked-by: Gavin Hu > > Acked-by: Bernard Iremonger Applied, thanks