hashcat Forum
pocl benchmarks - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Developer (https://hashcat.net/forum/forum-39.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-40.html)
+--- Thread: pocl benchmarks (/thread-7472.html)



pocl benchmarks - hops - 05-02-2018

Recently I became aware of pocl's CUDA backend and decided to test it with hashcat.
I didn't expect much so I was astonished by the results.

pocl
Code:
Hashmode: 3200 - bcrypt $2*$, Blowfish (Unix) (Iterations: 32)

Speed.Dev.#2.....:    16586 H/s (37.79ms) @ Accel:16 Loops:8 Thr:8 Vec:1
Speed.Dev.#3.....:    16366 H/s (38.19ms) @ Accel:16 Loops:8 Thr:8 Vec:1
Speed.Dev.#*.....:    32953 H/s

NVIDIA
Code:
Hashmode: 3200 - bcrypt $2*$, Blowfish (Unix) (Iterations: 32)

Speed.Dev.#1.....:    14718 H/s (42.53ms) @ Accel:16 Loops:8 Thr:8 Vec:1
Speed.Dev.#2.....:    14516 H/s (43.12ms) @ Accel:16 Loops:8 Thr:8 Vec:1
Speed.Dev.#*.....:    29234 H/s

OpenCL info: https://gist.github.com/hops/fed6d821f59ae28c791a0803849ec308
pocl benchmarks: https://gist.github.com/hops/309b5a542164bc6d8ce58b337c60a46a
NVIDIA benchmarks: https://gist.github.com/hops/e4a639116a0e7c0bfafab3b2c666fa0a

Now before you all get excited and replace your NVIDIA drivers with pocl, let me stop you right there.
As you can see most of the benchmarks fail with the "CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES" error. Even basic attacks like MD5 dict+rules don't work.
However I do think this is worth keeping an eye on. I'm still surprised that an experimental FOSS project can (in some cases) outperform a proprietary OpenCL runtime developed with deep knowledge about the hardware.
To be fair the LLVM NVPTX backend (which pocl uses) seems to be maintained by NVIDIA engineers.
Also this is a single data point with 2x GTX 1080 so the results may differ on other GPUs.


RE: pocl benchmarks - royce - 05-02-2018

Wow - that is quite interesting - thanks for the stats, hops. Promising for the future - and useful even today for people with specific attack needs.