From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 9D465A0524;
	Fri,  5 Feb 2021 18:57:25 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 152B940682;
	Fri,  5 Feb 2021 18:57:25 +0100 (CET)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com
 [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id 5836C4067B
 for <dev@dpdk.org>; Fri,  5 Feb 2021 18:57:23 +0100 (CET)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.nyi.internal (Postfix) with ESMTP id B500C5C008D;
 Fri,  5 Feb 2021 12:57:22 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Fri, 05 Feb 2021 12:57:22 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding:content-type; s=fm3; bh=
 nQH/NdQLzBOkAFzijU0xoESb7HzmVXR3TAD4VdgrIbQ=; b=U1X24hsdmEo5dNdy
 rrXLZEu9QyqpwSDSGIGrWrQzg7kL1jjuTdbBuNqjPi+CkEAeJ/xXir4XjU2tEQXG
 5fsZS2lvq9GwTF+GQDXGbZC9pR5zk2AwvYDdLC7b46i0eROtmsvUILWCF08ycqKW
 XOvpy0f6ct6P5zs9ZSLyWn61BurWJcZEOKcxITCV1FU7PmjUA2qkyfzghnTUTXLP
 QcnJxELhd/YaH+MrOmJtDb9zFyqWalBXPv/Xcon+C83dK7utsyDutFUo4hj/uNWv
 9XaQn1ZMAJd5YNonXbdqqQ5AEusDqAQBYlag3YF2/P4Bdg0FPQeDnOKumn8a0N7W
 yztM5w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm2; bh=nQH/NdQLzBOkAFzijU0xoESb7HzmVXR3TAD4VdgrI
 bQ=; b=deC7wQMsYqHKTq7EKOLhJxNn8NZzOaDfK5TSBMleus0c/Cd8jXY0SfyWf
 YutW0yTNeH+B/KRr+zoA+FiUoJBelLLlAjSEi4AQdSL0MRBgBQWZ4M2ZHy7Gn6e+
 McIFNi6BTy7/4skHREL+cOF56BBG8kmNPYyO6NiCRyBN+1vL2eQVH9jtXcqrdeLH
 ucRAseyCFcmcKofpQwMEmwhxrrdTzIyI150D/+XMG+mG9cp498JSaYp2SUgayhdJ
 bo+IZOz211gsxdSyrE1GxSKugv5rViEksyLFgmQ0yFwfX6KN3UeUjw7joKRSbtHQ
 iFL+gEprHtBrZsRFiYIoFNjAtSxAQ==
X-ME-Sender: <xms:AYcdYDZpvs36zTdQRbCFrEzc4h-b7BxKmtO0FmSGH4pXdDVteq3i_A>
 <xme:AYcdYCZsV8YrlTsHNDRbAg85kLgn_VzfShJzQcy7zxSf-An9isU7iLZN9Aa--yn7l
 _ZQbbJsNs-s9ryRSg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrgeeigdeludcutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgjfhgggfgtsehtufertd
 dttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehm
 ohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepudeggfdvfeduffdtfeegle
 fghfeukefgfffhueejtdetuedtjeeuieeivdffgeehnecukfhppeejjedrudefgedrvddt
 fedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh
 hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght
X-ME-Proxy: <xmx:AYcdYF-Iy5z4CKCttc0nib5RnZYzS3H5-l0x7fElFN_e2ktF1iggyA>
 <xmx:AYcdYJrWpf1GYA93z2e16IxNZ5mJO_t8ccZ5Of5VKQTXdvaRUjRw5g>
 <xmx:AYcdYOp_ppxKVMcuA9Eds96k4Ew69pWkWgAv039xFlptFMuubxMVfw>
 <xmx:AocdYFSy935U1IG2-8jVFJ_l_hoRuqr4IeR1yIoQVu_1HShsZJQNWw>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 5BAEC24005D;
 Fri,  5 Feb 2021 12:57:21 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: David Christensen <drc@linux.vnet.ibm.com>
Cc: dev@dpdk.org, stephen@networkplumber.org
Date: Fri, 05 Feb 2021 18:57:19 +0100
Message-ID: <4648258.iI1bcg0Xb4@thomas>
In-Reply-To: <20201202205756.39577-1-drc@linux.vnet.ibm.com>
References: <20201202181959.13753-1-drc@linux.vnet.ibm.com>
 <20201202205756.39577-1-drc@linux.vnet.ibm.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH v2] usertools: show hugepages on POWER systems
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

02/12/2020 21:57, David Christensen:
> The IBM PowerNV systems include NUMA nodes that don't have associated
> CPUs or hugepage memory.  Here is an example on an IBM AC922 system:
> 
> $ lscpu
> ...
> NUMA node0 CPU(s):   0-63
> NUMA node8 CPU(s):   64-127
> NUMA node252 CPU(s):
> ...
> 
> $ numastat -m
> ...
>                           Node 0          Node 8        Node 252
>                  --------------- --------------- ---------------
> MemTotal               126763.19       130785.06            0.00
> MemFree                119513.38       125294.44            0.00
> MemUsed                  7249.81         5490.62            0.00
> ...
> HugePages_Total             4.00         1734.00            0.00
> HugePages_Free              0.00            4.00            0.00
> HugePages_Surp              4.00         1730.00            0.00
> ...
> 
> Modify dpdk-hugepages.py to test for the ../hugepages directory before
> attempting to parse the hugepage entries.
> 
> Signed-off-by: David Christensen <drc@linux.vnet.ibm.com>

Applied, thanks