Linux vs Win speed
#1
I get better performance in Ubuntu 18.04 vs Win7. In Ubuntu, hashcat chooses different -n -u -T values ant it works faster 8-11% on few tested hashes. I tried forcing these values in Win7 but I get same (low) result. Card is EVGA GTX1080 Classified. Both OS on stock clock. There is difference in driver version (Win7 442.19 / Ubuntu 418.43) and cuda versions (10.2 vs 10.1). Still, in Win7 using latest drivers. Wiki implies no difference in speed between OS's, but in my case I just can't make it work on the same level as in Ubuntu. Can anyone confirm this on any Linux distro?


PMKID:
Code:
./hashcat64.bin -m 16800 -w 3 -b
Speed.#1.........:  453.1 kH/s (89.92ms) @ Accel:128 Loops:64 Thr:1024 Vec:1

./hashcat64.bin -m 16800 -w 4 -b
Speed.#1.........:  474.0 kH/s (342.97ms) @ Accel:128 Loops:256 Thr:1024 Vec:1

hashcat64.exe -m 16800 -w 3 -b
Speed.#1.........:  432.3 kH/s (93.27ms) @ Accel:512 Loops:64 Thr:256 Vec:1

hashcat64.exe -m 16800 -w 4 -b
Speed.#1.........:  430.5 kH/s (374.79ms) @ Accel:512 Loops:256 Thr:256 Vec:1

Forcing same -n -u -T values in Windows as per 1st example top:
Code:
hashcat64.exe -m 16800 -a 3 -n 128 -u 64 -T 1024 d:\test.16800 ?a?a?a?a?a?a?a?a --force
Speed.#1.........:  435.0 kH/s (93.16ms) @ Accel:128 Loops:64 Thr:1024 Vec:1

MD5
Code:
./hashcat64.bin -m 0 -w 3 -O -b
Speed.#1.........: 28317.4 MH/s (93.24ms) @ Accel:128 Loops:1024 Thr:1024 Vec:4

./hashcat64.bin -m 0 -w 4 -O -b
Speed.#1.........: 28280.4 MH/s (94.19ms) @ Accel:128 Loops:1024 Thr:1024 Vec:4

hashcat64.exe -m 0 -w 3 -O -b
Speed.#1.........: 25635.4 MH/s (51.49ms) @ Accel:512 Loops:512 Thr:256 Vec:4

hashcat64.exe -m 0 -w 4 -O -b
Speed.#1.........: 25763.1 MH/s (102.63ms) @ Accel:512 Loops:1024 Thr:256 Vec:4
Reply
#2
Code:
hashcat --version
Reply
#3
Code:
D:\hashcat-5.1.0>hashcat64.exe --version

v5.1.0

EDIT: in both OS
Reply
#4
did you try to use beta for both systems (https://hashcat.net/beta) ?

what might also make the difference is as you said the driver version, tuning software (performance/power levels, memory speeds) and some other configurations (like x11 config file etc).

I would recommend to test with both system using the beta and explain how you set up the linux system (and if you use some tuning software like afterburner etc)
Reply
#5
Tried beta with updated drivers. Results normalized. PMKID +7%. Never occurred to me to try beta.
Thanks for tips!

Driver 442.19, CUDA 10.2

Windows
Code:
hashcat.exe -m 16800 -b
Speed.#1.........:  511.5 kH/s (79.67ms) @ Accel:8 Loops:1024 Thr:1024 Vec:1

hashcat.exe -m 0 -b
Speed.#1.........: 28815.2 MH/s (46.41ms) @ Accel:64 Loops:1024 Thr:1024 Vec:8

Ubuntu
Code:
./hashcat.bin -m 16800 -b
Speed.#1.........:  510.7 kH/s (79.86ms) @ Accel:8 Loops:1024 Thr:1024 Vec:1

./hashcat.bin -m 0 -b
Speed.#1.........: 28685.0 MH/s (46.74ms) @ Accel:64 Loops:1024 Thr:1024 Vec:8
Reply