Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 19 Aug 2015 03:46:20 +0300
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: PHC: Argon2 on GPU

On Tue, Aug 18, 2015 at 01:35:47AM +0200, Agnieszka Bielec wrote:
> 2015-08-16 23:51 GMT+02:00 Solar Designer <solar@...nwall.com>:
> > What speeds are you getting on well's CPU for Argon2d at these settings?
> > With memory (de)allocation out of the loop, like we had for the Lyra2
> > and yescrypt benchmarks.
> >
> > Also, please set m=1536, so we'd have exactly 1.5 MiB.
> 
> I made some tests although there is still a bug on super's AMD.

You mean the auto-tuning weirdness?

> --dev=5 on super is working now. also I checked most of better speeds
> in cracking run and were ok. I was setting gws every time due to this
> bug on AMD and a bug with MEM_SIZE on nvidia

OK for now.

> argon2i
> CPU on well - 2480
> GeForce GTX 960M - 1861
> AMD Tahiti - 1288
> GeForce GTX TITAN - 2805
> memory: 1.5 MB
> 
> argon2d
> CPU on well - 7808
> GeForce GTX 960M - 4227
> AMD Tahiti - 2742
> GeForce GTX TITAN - 6083
> memory: 1.5 MB

OK.  We really need to get a Titan X to run tests on it as well,
hopefully soon.  Your 960M works impressively well here.

> a@...l:~/f/run$ ./john --test --format=argon2d
> Will run 8 OpenMP threads
> Benchmarking: argon2d [Blake2 AVX]... (8xOMP)
> memory per hash : 1.50 MB
> using different password for benchmarking
> DONE
> Speed for cost 1 (t) of 1, cost 2 (m) of 1536, cost 3 (l) of 1
> Many salts:     7760 c/s real, 971 c/s virtual
> Only one salt:  7808 c/s real, 976 c/s virtual

I assume it's just a temporary glitch that "Many salts" appeared
slightly slower than "Only one salt" here.  They should be almost the
same, or "Many salts" very slightly better.  In fact, once you're done
debugging these formats, you'll need to set BENCHMARK_LENGTH to -1 to
suppress these separate benchmark (there will be just one then: Raw).

> a@...l:~/f/run$ ./john --test --format=argon2d --cost=1:1,1536:1536,5:5
> Will run 8 OpenMP threads
> Benchmarking: argon2d [Blake2 AVX]... (8xOMP)
> memory per hash : 1.50 MB
> using different password for benchmarking
> DONE
> Speed for cost 1 (t) of 1, cost 2 (m) of 1536, cost 3 (l) of 5
> Many salts:     7288 c/s real, 911 c/s virtual
> Only one salt:  7224 c/s real, 904 c/s virtual

What's that "cost 3 (l)"?

> Titan X

We don't have a Titan X yet, unfortunately.  Our Titan is of the older
type, based on Kepler architecture.  We need to buy and add a Titan X
into this machine, hopefully soon.

Alexander

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ