Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 5 Jul 2015 00:52:48 +0200
From: Agnieszka Bielec <bielecagnieszka8@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: PHC: Lyra2 on GPU

2015-07-04 18:22 GMT+02:00 Solar Designer <solar@...nwall.com>:
> On Sat, Jul 04, 2015 at 05:08:29PM +0200, Agnieszka Bielec wrote:
>> 2015-07-04 11:54 GMT+02:00 Solar Designer <solar@...nwall.com>:
>> > On Sat, Jul 04, 2015 at 02:04:26AM +0200, Agnieszka Bielec wrote:
>> >> I received results:
>> >>
>> >> [a@...er run]$ ./john --test --format=lyra2-opencl --dev=5
>> >> Benchmarking: Lyra2-opencl, Lyra2 [Lyra2 Sponge OpenCL (inefficient,
>> >> development use only)]... Device 5: GeForce GTX TITAN
>> >> Local worksize (LWS) 64, global worksize (GWS) 2048
>> >> DONE
>> >> Speed for cost 1 (t) of 8, cost 2 (m) of 8, cost 3 (c) of 256, cost 4 (p) of 2
>> >> Raw:    6023 c/s real, 5965 c/s virtual
>> >>
>> >> [a@...er run]$ ./john --test --format=lyra2-opencl
>> >> Benchmarking: Lyra2-opencl, Lyra2 [Lyra2 Sponge OpenCL (inefficient,
>> >> development use only)]... Device 0: Tahiti [AMD Radeon HD 7900 Series]
>> >> Local worksize (LWS) 64, global worksize (GWS) 2048
>> >> DONE
>> >> Speed for cost 1 (t) of 8, cost 2 (m) of 8, cost 3 (c) of 256, cost 4 (p) of 2
>> >> Raw:    7447 c/s real, 51200 c/s virtual
>> >>
>> >> before optimizations speed was equal to 1k
>> >
>> > Cool.  And these are much better than what you were getting with Lyra2
>> > authors' CUDA code, right?
>>
>> yes, but they claimed that theirs implementation isn't optimal
>>
>> this is the best result I gained
>>
>> [a@...er run]$ ./john --test --format=lyra2-cuda
>> Benchmarking: Lyra2-cuda, Lyra2 [Lyra2 CUDA]... DONE
>> Speed for cost 1 (t) of 8, cost 2 (m) of 8
>> Raw:    1914 c/s real, 1932 c/s virtual
>
> OK.  And what's the best speed on CPU?

on super:

[a@...er run]$ GOMP_CPU_AFFINITY=0-31 ./john --test --format=lyra2
Will run 32 OpenMP threads
Benchmarking: Lyra2, Generic Lyra2 [ ]... (32xOMP) DONE
Speed for cost 1 (t) of 8, cost 2 (m) of 8
Many salts:     49792 c/s real, 1556 c/s virtual
Only one salt:  49504 c/s real, 1546 c/s virtual

[a@...er run]$ GOMP_CPU_AFFINITY=0-31 ./john --test --format=lyra2-lm
Will run 32 OpenMP threads
Benchmarking: Lyra2-lm, Generic Lyra2 [ ]... (32xOMP) DONE
Speed for cost 1 (t) of 8, cost 2 (m) of 8
Many salts:     38848 c/s real, 1263 c/s virtual
Only one salt:  42272 c/s real, 1376 c/s virtual

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.