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

Benchmark against BLAKE2 #5

Open
kwinz opened this issue Jun 14, 2016 · 4 comments
Open

Benchmark against BLAKE2 #5

kwinz opened this issue Jun 14, 2016 · 4 comments

Comments

@kwinz
Copy link

kwinz commented Jun 14, 2016

Hi,

could you please benchmark against BLAKE2b and BLAKE2s if it's not too much hassle?
It tries to be a very fast cryptographically secure hash function. I believe it to be still ballpark 10x slower than MUM but it would be nice to know for sure! Of course it would also make sense to compare it with MUM512. Thanks in advance!

[1] https://blake2.net/

@vnmakarov
Copy link
Owner

Thank you for the proposal. I've added sse version of blake2b for comparison of crypto-hash functions and blake2 speed results to README.md file. Basically Blake2B is a bit faster than MUM512.

As for the comparison of blake2 with non crypto hash functions, I don't think it is necessary. Blake2 has a different application target. But still I ran SSE blake2b (with -march=native) vs MUM and here are the results on i7-4790K:

+++5-byte speed (1,280M keys):
MUM      :  8.52s
Blake2:  398.43s
+++8-byte speed (1,280M keys):
MUM      :  5.52s
Blake2:  397.71s
+++16-byte speed (1,280M keys):
MUM      :  7.36s
Blake2:  396.54s
+++32-byte speed (1,280M keys):
MUM      :  8.22s
Blake2:  393.25s
+++64-byte speed (1,280M keys):
MUM      :  11.58s
Blake2:  399.59s
+++128-byte speed (1,280M keys):
MUM      :  17.18s
Blake2:  401.92s
+++Bulk speed 1KB (100M keys):
MUM      :  6.62s
Blake2:  122.48s

@kwinz
Copy link
Author

kwinz commented Sep 1, 2016

Thank you, much appreciated!

@sergeevabc
Copy link

@vnmakarov,
could you be so kind to generate .exe for the rest of us who are mere Windows users w/o compiler?

@vnmakarov
Copy link
Owner

Sorry, Alekander. I don not use Windows at all and I have no Windows machine at my disposal. I guess you can install VM (e.g. virtualbox) on your Windows computer and a Linux distributive inside it. Another possibility is to use mingw or cygwin environment on Windows machine. They have GCC compiler in it.

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