@@ -164,6 +164,9 @@ When combined with \fB\-\-nodeset\fR or \fB\-\-nodeset-output\fR,
164
164
the nodeset is considered instead of the CPU set for finding matching objects.
165
165
This is useful when reporting the output as a number or set of NUMA nodes.
166
166
167
+ \fI <type \fR may contain a filter to select specific objects among
168
+ the type. For instance \fB \- N "numa[mcdram]" \fR counts MCDRAM NUMA nodes on KNL.
169
+
167
170
If an OS device subtype such as \fI gpu \fR is given instead of \fI osdev \fR ,
168
171
only the os devices of that subtype will be counted.
169
172
.TP
@@ -182,6 +185,9 @@ When combined with \fB\-\-nodeset\fR or \fB\-\-nodeset-output\fR,
182
185
the nodeset is considered instead of the CPU set for finding matching objects.
183
186
This is useful when reporting the output as a number or set of NUMA nodes.
184
187
188
+ \fI <type \fR may contain a filter to select specific objects among
189
+ the type. For instance \fB \- I "numa[mcdram]" \fR lists MCDRAM NUMA nodes on KNL.
190
+
185
191
If an OS device subtype such as \fI gpu \fR is given instead of \fI osdev \fR ,
186
192
only the os devices of that subtype will be returned.
187
193
@@ -391,6 +397,16 @@ whose locality is exactly equal to a Package:
391
397
$ hwloc-calc --local-memory-flags 0 --best-memattr capacity --physical-output pack:1
392
398
4
393
399
400
+ To find the number of NUMA nodes with subtype MCDRAM (on KNL):
401
+
402
+ $ hwloc-calc -N "numa[mcdram]" all
403
+ 4
404
+
405
+ To find the NUMA node of subtype MCDRAM (on KNL) near a PU:
406
+
407
+ $ hwloc-calc -I "numa[mcdram]" pu:157
408
+ 1
409
+
394
410
Converting object logical indexes (default) from/to physical/OS indexes
395
411
may be performed with \fB --intersect \fR combined with either \fB --physical-output \fR
396
412
(logical to physical conversion) or \fB --physical-input \fR (physical to logical):
0 commit comments