From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5 0/2] Balanced allocation of hugepages Date: Tue, 20 Jun 2017 15:07:11 +0200 Message-ID: <2889333.ySLvsRWIRF@xps> References: <1496736832-835-1-git-send-email-i.maximets@samsung.com> <3ccc716f-27ae-55a4-0751-c60b5329d7a4@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Hemant Agrawal , Sergio Gonzalez Monroy , Bruce Richardson , David Marchand , Heetae Ahn , Yuanhan Liu , Jianfeng Tan , Neil Horman , Yulong Pei To: Ilya Maximets Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id E5C0B2C8 for ; Tue, 20 Jun 2017 15:07:12 +0200 (CEST) In-Reply-To: <3ccc716f-27ae-55a4-0751-c60b5329d7a4@nxp.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" 19/06/2017 13:10, Hemant Agrawal: > >>> On Thu, Jun 08, 2017 at 02:21:58PM +0300, Ilya Maximets wrote: > >>>> So, there are 2 option: > >>>> > >>>> 1. Return back config option RTE_LIBRTE_EAL_NUMA_AWARE_HUGEPAGES > >>>> from the first version of the patch and disable it by default. > >>>> > >>>> 2. Keep patch as it is now and make everyone install libnuma > >>>> for successful build. > > > +1 for option 1 > It will be a issue and undesired dependency for SoCs, not supporting > NUMA architecture. > > It can be added to the config, who desired to use it by default. Yes I agree, it cannot be a dependency for architectures which do not support NUMA. Please can we rework the patch so that only one node is assumed if NUMA is disabled for the architecture?