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

Fix numa01.sh testcases #355

Open
metan-ucw opened this issue Jul 3, 2018 · 2 comments
Open

Fix numa01.sh testcases #355

metan-ucw opened this issue Jul 3, 2018 · 2 comments
Assignees
Labels

Comments

@metan-ucw
Copy link
Member

There are couple of problems that should be fixed:

The support_numa.c with alloc_1MB_shared opens and mmaps a file and while the test is executed in unique temporary directory the helper is called a few times for the same file, we should ensure that the pages are not present in the page cache on subsequent calls. I guess that unlinking the file before we open it should suffice.

The measurements extracted from numastat output show only overall status for the whole process, we should parse /proc/$pid/numa_maps instead where we can get precise number of pages per node for the test file.

The test should be split into separate testcases in the numa runtest file, so instead of "numa tests failed" we will get more granular results.

@metan-ucw metan-ucw added the TODO label Jul 3, 2018
@metan-ucw
Copy link
Member Author

Also the scenarios where the memory is backed up by a file should be executed against all supported filesystems to make sure the allocation is done correctly.

@metan-ucw metan-ucw self-assigned this Aug 7, 2018
@metan-ucw
Copy link
Member Author

This is halfway done, some of the problematic tests were rewritten into C and removed from the numa01.sh test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant