You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System info tests fail on my machine due to attempt at using NUMA and finding an empty cpu group.
Expected Behavior
Tests pass, NUMA is detected as unavailable.
Current Behavior
common.c correctly loads libnuma, even references g_numa_available_ptr, however never actually checks to see it NUMA is available (it is not on my system, and returns -1). During the system info tests a single group is detected, however all cpus are in group -1 as returned by libnuma. This fails the test. Instead numa should be entirely disabled if it's unavailable.
Reproduction Steps
compile and run tests.
Possible Solution
Numa should be entirely disabled if it's unavailable. Note that if I remove libnuma.so.1, the tests pass as numa is correctly disabled.
Additional Information/Context
This is running on an Odroid N2+, using Ubuntu 22.04.
Amlogic S922X Processor
Quad-core Cortex-A73 and Dual-core Cortex-A53
aws-c-common version used
HEAD
Compiler and version used
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
Operating System and version
Ubuntu 22.04 aarch64
The text was updated successfully, but these errors were encountered:
Hi, thanks for reporting the issue. I put up a potential fix for the issue you mentioned.
However, unfortunately, we don't have the platform to test it out. Is it possible for you to test the branch here and let us know if it fixes your issue or not?
Describe the bug
System info tests fail on my machine due to attempt at using NUMA and finding an empty cpu group.
Expected Behavior
Tests pass, NUMA is detected as unavailable.
Current Behavior
common.c correctly loads
libnuma
, even referencesg_numa_available_ptr
, however never actually checks to see it NUMA is available (it is not on my system, and returns -1). During the system info tests a single group is detected, however all cpus are in group-1
as returned by libnuma. This fails the test. Instead numa should be entirely disabled if it's unavailable.Reproduction Steps
compile and run tests.
Possible Solution
Numa should be entirely disabled if it's unavailable. Note that if I remove libnuma.so.1, the tests pass as numa is correctly disabled.
Additional Information/Context
This is running on an Odroid N2+, using Ubuntu 22.04.
Amlogic S922X Processor
Quad-core Cortex-A73 and Dual-core Cortex-A53
aws-c-common version used
HEAD
Compiler and version used
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
Operating System and version
Ubuntu 22.04 aarch64
The text was updated successfully, but these errors were encountered: