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
Count memory tiers with command line tool #661
Comments
Hello. There's currently no way, mostly because there's no API to query tiers (and there likely won't be before 3.0).
In 3.0 it would be a topology info:
I can easily add this for 2.11. |
I think I'll add an option to get a single attribute to hwloc-info and make it work with that syntax for both 2.x and 3.0. Something like:
|
To be honnest, I initially looked for a syntax like |
That would require much more work since we'd need to emulate a fake "tier" object to count them, hwloc-calc doesn't know how to do that at all. And it would be quite annoying to implement for anything but machine:0. |
…x etc Refs open-mpi#661 Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
Closes open-mpi#661 Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
`hwloc-info --get-attr "info MemoryTiersNr" topology` Closes #661
Hello,
I was playing with the recent introduction of memory tiers. I am still looking for the command that would give me the number of memory tiers available on the machine. Does any of the command line tool provide such feature ?
My current workaround is to count with something like this :
Best.
The text was updated successfully, but these errors were encountered: