Ryzen 5 2400G: Difference between Linux and Windows wrt -m 1800: Factor 3.5
#8
FYI: with a new kernel and new ROCm drivers it's way better (but still the half of the H/s under Windows):

---
prompt> uname -a
Linux REDACTED 5.1.5-1-default #1 SMP Mon May 27 07:14:33 UTC 2019 (6ad4f79) x86_64 x86_64 x86_64 GNU/Linux
prompt> hashcat -I | grep Driver.Version. # above was 2814.0
Driver.Version.: 2874.0 (HSA1.1,LC)
[..]
prompt> hashcat -D1,2 -b -m1800
hashcat (v5.1.0) starting in benchmark mode...
[..]
OpenCL Platform #2: Intel(R) Corporation
========================================
* Device #2: AMD Ryzen 5 2400G with Radeon Vega Graphics, 7539/30159 MB allocatable, 8MCU

Benchmark relevant options:
===========================
* --opencl-device-types=1,2
* --optimized-kernel-enable

Hashmode: 1800 - sha512crypt $6$, SHA512 (Unix) (Iterations: 5000)

Speed.#1.........: 7614 H/s (70.12ms) @ Accel:128 Loops:32 Thr:64 Vec:1
Speed.#2.........: 2592 H/s (78.17ms) @ Accel:512 Loops:256 Thr:1 Vec:4
Speed.#*.........: 10206 H/s
[..]
---

The effect of the newer version is even better:

prompt> /tmp/hashcat-5.1.0/hashcat.bin -b -D1,2 -m 1800
hashcat (v5.1.0-1116-g3c603019) starting in benchmark mode...
[..]
Hashmode: 1800 - sha512crypt $6$, SHA512 (Unix) (Iterations: 5000)

Speed.#1.........: 10672 H/s (51.34ms) @ Accel:4 Loops:256 Thr:256 Vec:1
Speed.#2.........: 2586 H/s (78.47ms) @ Accel:128 Loops:1024 Thr:1 Vec:4
Speed.#*.........: 13258 H/s
[..]
prompt>
---


On the flip side of the coin: If run the benchmark w/o any "m" option version 5.1.0 bails out:
----
[..]
Hashmode: 1400 - SHA2-256

clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

* Device #1: Kernel REDACTED/hashcat-5.1.0/OpenCL/m01400_a3-optimized.cl build failed - proceeding without this device.

: error: undefined hidden symbol: m01400m
>>> referenced by REDACTED/hashcat-5.1.0/OpenCL/t_13390_101-838704.o:(m01400_m04)
[..]
: error: undefined hidden symbol: m01400s
>>> referenced by REDACTED/hashcat-5.1.0/OpenCL/t_13390_101-838704.o:(m01400_s16)
Error: Creating the executable from LLVM IRs failed.

---
Reply


Messages In This Thread
RE: Ryzen 5 2400G: Difference between Linux and Windows wrt -m 1800: Factor 3.5 - by Dirk - 06-06-2019, 12:28 PM