numam-dpdk/usertools
David Christensen 2204feccf2 usertools: show hugepages on POWER systems
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>
2021-02-05 19:49:32 +01:00
..
cpu_layout.py usertools: fix CPU layout script to be PEP8 compliant 2020-11-13 15:40:21 +01:00
dpdk-devbind.py usertools: fix binding regex or misc device 2020-11-25 14:04:58 +01:00
dpdk-hugepages.py usertools: show hugepages on POWER systems 2021-02-05 19:49:32 +01:00
dpdk-pmdinfo.py usertools: fix pmdinfo parsing 2020-11-22 22:22:44 +01:00
dpdk-telemetry-client.py usertools: remove unnecessary parens and else 2020-11-22 22:14:12 +01:00
dpdk-telemetry.py support python 3 only 2020-10-02 13:51:00 +02:00
meson.build usertools: add huge page setup script 2020-11-22 22:38:03 +01:00