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

Is malloc() correct in stream.c? #2

Open
greensquirrel opened this issue Jul 25, 2018 · 0 comments
Open

Is malloc() correct in stream.c? #2

greensquirrel opened this issue Jul 25, 2018 · 0 comments

Comments

@greensquirrel
Copy link

Dear NUMA-STREAM developers!

If I understand it correctly, the latest stream.c @ e5aa9ca should be NUMA aware.
The OPENMP threads are spread across the CPUs but all these threads seem to do their work
on the same memory chunks that have been allocated via malloc(). Therefore, I think that
stream.c is not completely NUMA aware. I expect NUMA aware memory allocations like e.g.
numa_alloc_onnode().

Is stream-pthread the recommended NUMA aware benchmark? At the first glance, it allocates memory for each thread individually via numa_alloc_onnnode() and the code seems to be
be NUMA aware.

Which version of stream have you used in your paper "Measuring NUMA effects with the STREAM benchmark"?

Thank you in advance!

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

No branches or pull requests

1 participant