-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
find memory parents in hwloc-info #612
Comments
bgoglin
added a commit
to bgoglin/hwloc
that referenced
this issue
Aug 22, 2023
…scendants Allow to select multiple types of ancestors/descendants. Ref open-mpi#612. Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
bgoglin
added a commit
to bgoglin/hwloc
that referenced
this issue
Aug 22, 2023
Useful for finding where a NUMA is attached: $ hwloc-info --ancestor normal --first numa:1 Package:0 Refs open-mpi#612. Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
bgoglin
added a commit
to bgoglin/hwloc
that referenced
this issue
Aug 28, 2023
…nd --descendants Allow to select multiple types of ancestors/descendants. Ref open-mpi#612. Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
bgoglin
added a commit
to bgoglin/hwloc
that referenced
this issue
Aug 28, 2023
Useful for finding where a NUMA is attached: $ hwloc-info --ancestor normal --first numa:1 Package:0 Refs open-mpi#612. Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
bgoglin
changed the title
find memory parents in hwloc-calc and hwloc-info
find memory parents in hwloc-info
Aug 28, 2023
bgoglin
added a commit
that referenced
this issue
Aug 28, 2023
…nd --descendants Allow to select multiple types of ancestors/descendants. Ref #612. Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr> (cherry picked from commit 9d35ec0) The line checking show_first_only in hwloc_info_recurse_descendants() is removed and kept for next commit to fix intermediate builds.
bgoglin
added a commit
that referenced
this issue
Aug 28, 2023
Useful for finding where a NUMA is attached: $ hwloc-info --ancestor normal --first numa:1 Package:0 Refs #612. Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr> (cherry picked from commit b67f2f4) The line checking show_first_only in hwloc_info_recurse_descendants() was moved from previous commit to that one to fix intermediate builds.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NUMA may be attached at different levels (package, group, cache). The API provides "hwloc_get_memory_parents_depth()" to find that level. It would be nice to have a way to find the "CPU-side" parent from the command-line.
hwloc-info has a --ancestor option that currently accept explicit types. It could be extended to support "cpu-side" to return a first CPU-side parent (i.e. where the NUMA is attached).
hwloc-calc -I and -N would be extended to return something similar ("memory-parent"). That case will require to deduplicate multiple parents in the case of heterogeneous memory (those could even be at different levels).(finding these objects isn't actually useful, the locality is the same anyway)The text was updated successfully, but these errors were encountered: