RFR: 8346834: Tests failing with -XX:+UseNUMA due to "NUMA support disabled" warning
David Holmes
dholmes at openjdk.org
Wed Jan 8 04:35:34 UTC 2025
On Tue, 7 Jan 2025 13:46:16 GMT, Swati Sharma <duke at openjdk.org> wrote:
> Hi All,
>
> A number of tests launch VMs and read the output of the sub-process. The changes in [JDK-8205051](https://bugs.openjdk.org/browse/JDK-8205051) mean the warning message "NUMA support disabled: Only a single NUMA node is available" is printed when running the tests -XX:+UseNUMA on system that only have one node, this breaks several tests. After update in some tests, so far, the failures are with:
>
> java/util/logging/LoggingDeadlock2.java
> tools/jar/modularJar/Basic.java
>
> As a fix have changed logging level from "log_warning" to "log_info" when UseNUMA flag is disabled.
>
> Thanks,
> Swati Sharma
> Intel
Just to reinforce what I've already stated, if I ask for something "if available" I don't expect to get a warning when it is not available - I knew it might not be available. If using NUMA is a potential performance boost then naturally people will want to use it, if it is available. My concern is about the potential impact on end-users who set this in their deployment settings, not the tests that shone the light on the potential problem (for which I'm grateful the tests did in fact fail!).
Warning about a NUMA misconfiguration is a different matter - that is a problem that needs someone's attention to fix.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22948#issuecomment-2576730216
More information about the hotspot-runtime-dev
mailing list