-
Notifications
You must be signed in to change notification settings - Fork 35
Add memspace "highest bandwidth" #408
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
Conversation
ec4a05b
to
33dfb12
Compare
To use HWLOC property query API, we need the the lib version |
heh, we are using Ubuntu 22.04. I think the error you have is caused because of typo - you specified to look for |
My bad, I've left the version |
Ok, right. For the few jobs using Ubuntu 20.04 we can do what you proposed - install from source. If this will end up being more than a few lines of code, please make this a python script, e.g. |
040868d
to
ecdb5d0
Compare
The original implementation of the This comment serves as documentation for the development of the memspace API. |
ecdb5d0
to
e5b0990
Compare
e5b0990
to
6fd1a85
Compare
403c1d7
to
3a59a29
Compare
4ea46aa
to
22638d3
Compare
Done. I've added the test case, but there's no QEMU configuration that satisfies the equal bandwidth requirement. I think @KFilipek is working on adding new topologies for testing. |
a48450c
to
d7de5c6
Compare
d443128
to
2e118cf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do those functions works on windows - you did not updated .def file.
Memspace functionality is currently built only on Linux platforms. |
This memspace contains an aggregated list of NUMA nodes identified as best targets after selecting each NUMA node as the initiator. Querying the bandwidth value requires HMAT support on the platform, calling umfMemspaceHighestBandwidthGet() will return NULL if it's not supported.
Those tests are skipped with GTEST_SKIP() when bandwidth property can't be queried (HMAT is not supported on the platform).
It makes it easier to see which tests were actually completed without skipping.
Description
This memspace contains memory targets ordered by the highest bandwidth value (targets higher in the ordering are prioritised).
There is also an alternative way to assign nodes to this memspace by setting
UMF_MEMSPACE_HIGHEST_BANDWIDTH
environment variable.TODO
UMF_MEMSPACE_HIGHEST_BANDWIDTH
Checklist