Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 24 Mar 2017 18:30:02 +0100
From: Patrick Proniewski <>
Subject: Re: GPU performance


On 24 mars 2017, at 08:54, magnum wrote:

> On 2017-03-23 21:04, Patrick Proniewski wrote:
>>> patpro@...cracker:~$ ./john/run/john -test -format=raw-sha1-opencl
>>> Device 1: GeForce GTX 1080
>>> Benchmarking: Raw-SHA1-opencl [SHA1 OpenCL]... DONE
>>> Raw:	87208K c/s real, 87208K c/s virtual
>> On one hand, I find it surprising that raw-sha1-opencl on GTX 1080 is only 3.3 times faster than raw-sha1 on 2.1 GHz Xeon (E5-2620 v4).
>> On the other hand, hashcat got a very nice 8191.7 MH/s on the GPU:
> Try adding -mask too, as in "john -test -mask -format=raw-sha1-opencl". Most of our fast OpenCL formats support GPU-side mask which speeds things up. But for the fastest formats, hashcat is still a bit better.

Thanks, it's way faster:

$ ./john -test -format=raw-sha1-opencl --mask
Device 1: GeForce GTX 1080
Benchmarking: Raw-SHA1-opencl [SHA1 OpenCL]... Build log: 
ptxas info    : 0 bytes gmem
ptxas info    : Compiling entry function 'sha1' for 'sm_61'
ptxas info    : Function properties for sha1
ptxas         .     64 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 30 registers, 16388 bytes smem, 400 bytes cmem[0], 36 bytes cmem[2]
DONE, GPU util:100%
Raw:	5778M c/s real, 5778M c/s virtual

Does it mean I have to use mask mode to get this kind of performance, and other modes would run in the 87M c/s range?


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.