Skip to content
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

Only print NUMA nodes if requested #22

Merged
merged 3 commits into from
Jul 27, 2023

Conversation

bwatkinson
Copy link
Collaborator

After updating the build system to CMake XDD was outputing the NUMA domain for each worker thread in the header of the output. This address that issue by printing that info in the event it is requested through the -debug flag.

Since the GO_DEBUG_USER1 global debug was never used, it was updated to be used for init debugging and changed to GO_DEBUG_INIT. So if the user does -debug init they will now see what cpus the worker threads have been pinned to.

As part of the work, I also reorganized the test directory a bit. I made a separate debug test directory just to test out this functionality as it really did not make sense for it to be in the fuctional test cases. I placed all the common test CMake variables in the CMakeLists.txt and then just added individual test information in the functional and debug CMakeLists.txt files.

Fixes #13
Signed-off-by: Brian Atkinson batkinson@lanl.gov

After updating the build system to CMake XDD was outputing the NUMA
domain for each worker thread in the header of the output. This address
that issue by printing that info in the event it is requested through
the `-debug` flag.

Since the `GO_DEBUG_USER1` global debug was never used, it was updated
to be used for init debugging and changed to GO_DEBUG_INIT. So if the
user does `-debug init` they will now see what cpus the worker threads
have been pinned to.

As part of the work, I also reorganized the test directory a bit. I made
a separate debug test directory just to test out this functionality as
it really did not make sense for it to be in the fuctional test cases. I
placed all the common test CMake variables in the CMakeLists.txt and
then just added individual test information in the functional and debug
CMakeLists.txt files.

Fixes #13
Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
SQAUSH before merging

I overlooked cleaning up the CMakeLists.txt in the debug test case
directory. This fixes that oversight.

Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
SQUASH before merging

Made updates to test_xdd_debug_init.sh to just call XDD directly without
putting it in a string first.

Not sure what the idea was behind the redirection of the shell scripts
to the log file was. As fas as I can tell, it never resulted in anything
being written out to test-dir/logs. For now, I am just getting rid of
the redirection till someone can show me what it was suppose to do.

Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
@bwatkinson bwatkinson merged commit 0753d88 into MigeljanImeri:xdd-2.0 Jul 27, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

XDD appears to be NUMA pinning when it shouldn't
3 participants