From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AF6BEA04E7; Mon, 2 Nov 2020 15:45:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F03BBC8D2; Mon, 2 Nov 2020 15:45:10 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 0E8F4C8C6 for ; Mon, 2 Nov 2020 15:45:09 +0100 (CET) IronPort-SDR: AJBbXg1cC2cYVHedpY2vuTiAA8nKmnAJbdYi8mhBTvHra/ZVXvdqVQ3Wv95AoVCgx28OsHV9Wo Hp+r/RLLfBZQ== X-IronPort-AV: E=McAfee;i="6000,8403,9792"; a="148749500" X-IronPort-AV: E=Sophos;i="5.77,445,1596524400"; d="scan'208";a="148749500" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2020 06:45:06 -0800 IronPort-SDR: LsTcBmMOhBX5j/n8voTDHj7nsaZ+qudtAv8+Q/F9Lc+Oz6g6fRpYJVOMqNpuHUAWGUJZ4XFE7J 7Mla6bT4Bc9g== X-IronPort-AV: E=Sophos;i="5.77,445,1596524400"; d="scan'208";a="538044666" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.49.238]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 02 Nov 2020 06:45:01 -0800 Date: Mon, 2 Nov 2020 14:44:57 +0000 From: Bruce Richardson To: Juraj =?utf-8?Q?Linke=C5=A1?= Cc: Ruifeng.Wang@arm.com, Honnappa.Nagarahalli@arm.com, Phil.Yang@arm.com, vcchunga@amazon.com, Dharmik.Thakkar@arm.com, jerinjacobk@gmail.com, hemant.agrawal@nxp.com, dev@dpdk.org Message-ID: <20201102144457.GB1454@bricha3-MOBL.ger.corp.intel.com> References: <1603893845-5736-1-git-send-email-juraj.linkes@pantheon.tech> <1604323278-18039-1-git-send-email-juraj.linkes@pantheon.tech> <1604323278-18039-9-git-send-email-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1604323278-18039-9-git-send-email-juraj.linkes@pantheon.tech> Subject: Re: [dpdk-dev] [PATCH v6 08/11] build: optional NUMA and cpu counts detection X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Nov 02, 2020 at 02:21:15PM +0100, Juraj Linkeš wrote: > Add an option to automatically discover the host's numa and cpu counts > and use those values for a non cross-build. > Give users the option to override the per-arch default values or values > from cross files by specifying them on the command line with -Dmax_lcores > and -Dmax_numa_nodes. > > Signed-off-by: Juraj Linkeš > --- > buildtools/get_cpu_count.py | 7 ++++++ > buildtools/get_numa_count.py | 22 +++++++++++++++++ > buildtools/meson.build | 2 ++ > config/meson.build | 47 ++++++++++++++++++++++++++++++++++-- > config/x86/meson.build | 2 ++ > meson_options.txt | 8 +++--- > 6 files changed, 82 insertions(+), 6 deletions(-) > create mode 100644 buildtools/get_cpu_count.py > create mode 100644 buildtools/get_numa_count.py > Acked-by: Bruce Richardson