Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 14 Aug 2015 17:31:07 +0200
From: Agnieszka Bielec <bielecagnieszka8@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: PHC: Argon2 on GPU

2015-08-14 17:20 GMT+02:00 Solar Designer <solar@...nwall.com>:
> On Fri, Aug 14, 2015 at 04:44:09PM +0200, Agnieszka Bielec wrote:
>> wtf?
>>
>> [a@...er run]$ ./john --test --format=argon2i-opencl
>> Benchmarking: argon2i-opencl [Blake2 OpenCL]...
>> memory per hash : 1.46 MB
>> Device 0: Tahiti [AMD Radeon HD 7900 Series]
>> using different password for benchmarking
>> DONE
>> Speed for cost 1 (t) of 3, cost 2 (m) of 1500, cost 3 (l) of 1
>> Many salts:     423 c/s real, 102400 c/s virtual
>> Only one salt:  423 c/s real, 102400 c/s virtual
>>
>> [a@...er run]$ ./john --test --format=argon2i-opencl --v=4
>> Benchmarking: argon2i-opencl [Blake2 OpenCL]...
>> memory per hash : 1.46 MB
>> Device 0: Tahiti [AMD Radeon HD 7900 Series]
>> Calculating best global worksize (GWS); max. 1s single kernel invocation.
>> gws:       256         387 c/s         387 rounds/s 659.830ms per crypt_all()!
>> gws:       512         720 c/s         720 rounds/s 710.817ms per crypt_all()+
>> gws:      1024        1305 c/s        1305 rounds/s 784.470ms per crypt_all()+
>> Local worksize (LWS) 64, global worksize (GWS) 1024
>> using different password for benchmarking
>> DONE
>> Speed for cost 1 (t) of 3, cost 2 (m) of 1500, cost 3 (l) of 1
>> Many salts:     389 c/s real, 102400 c/s virtual
>> Only one salt:  386 c/s real, 51200 c/s virtual
>>
>> [a@...er run]$ GWS=1024 ./john --test --format=argon2i-opencl --v=4
>> Benchmarking: argon2i-opencl [Blake2 OpenCL]...
>> memory per hash : 1.46 MB
>> Device 0: Tahiti [AMD Radeon HD 7900 Series]
>> Local worksize (LWS) 64, global worksize (GWS) 1024
>> using different password for benchmarking
>> DONE
>> Speed for cost 1 (t) of 3, cost 2 (m) of 1500, cost 3 (l) of 1
>> Many salts:     1296 c/s real, 204800 c/s virtual
>> Only one salt:  1304 c/s real, 204800 c/s virtual
>
> So the reported auto-tuned GWS works differently from manually set one?
> You certainly need to figure this out.

no, in this case:

>> [a@...er run]$ ./john --test --format=argon2i-opencl --v=4
>> Benchmarking: argon2i-opencl [Blake2 OpenCL]...
>> memory per hash : 1.46 MB
>> Device 0: Tahiti [AMD Radeon HD 7900 Series]
>> Calculating best global worksize (GWS); max. 1s single kernel invocation.
>> gws:       256         387 c/s         387 rounds/s 659.830ms per crypt_all()!
>> gws:       512         720 c/s         720 rounds/s 710.817ms per crypt_all()+
>> gws:      1024        1305 c/s        1305 rounds/s 784.470ms per crypt_all()+
>> Local worksize (LWS) 64, global worksize (GWS) 1024
>> using different password for benchmarking
>> DONE
>> Speed for cost 1 (t) of 3, cost 2 (m) of 1500, cost 3 (l) of 1
>> Many salts:     389 c/s real, 102400 c/s virtual
>> Only one salt:  386 c/s real, 51200 c/s virtual

reports that GWS=1024 in main test but it's actually 256

this also occurs in yescrypt, I have there MEM_SIZE/4 although this
makes problems on Tahiti

>
> And just as important: figure out why the speeds are so poor, compared
> to what you're getting on your laptop, as well as to what you had
> reported earlier (IIRC).

when earlier? I remember only earlier tests when I had another costs


>
>> this can have something common with MEM_SIZE/4 (now I have removed /4)
>
> When did you remove the /4?  Before or after running the test above?
>
>> http://www.openwall.com/lists/john-dev/2015/08/06/22
>> sorry, couldn't find my original e-mail

after

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.