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

Benchmarking program for unaligned accesses #8

Open
nemequ opened this issue Mar 8, 2017 · 4 comments
Open

Benchmarking program for unaligned accesses #8

nemequ opened this issue Mar 8, 2017 · 4 comments

Comments

@nemequ
Copy link
Owner

nemequ commented Mar 8, 2017

We need a program to benchmark the different methods for the unaligned module. Shouldn't be difficult now that the clock module is in reasonable shape…

@Cyan4973, did you do anything special for that blog post, or just benchmarking xxhash? If the former, I don't suppose you still have the code sitting around somewhere (and would be willing to share it)?

@Cyan4973
Copy link

Cyan4973 commented Mar 8, 2017

I guess I just used the internal benchmark module of xxhsum and lz4 (command -b).

@travisdowns
Copy link

If you're on Linux x86, you can also consider uarch-bench to test the "raw" performance of loads/stores of various size and misalignments, perhaps as a baseline to compare to the psnip versions. It measures all 64-byte alignments, and the results align with what we know from published performance and optimization manuals. In uses small snippets of asm for the actual test code, which is the only thing that would need to be ported to make it work on other archs.

@nemequ
Copy link
Owner Author

nemequ commented Jul 31, 2017

x86, and especially Linux, are pretty well tested. So is ARM; this issue is really more for more exoctic architectures and compilers.

uarch-bench looks very cool, though; could be useful for SIMDe.

@travisdowns
Copy link

Right, it makes sense. I do want to support other mainstream archs on uarch bench, but that probably mostly just means ARM.

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

3 participants