Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 12 Jul 2015 17:39:16 +0300
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: PHC: Lyra2 on GPU

Hi Agnieszka,

On Mon, Jul 06, 2015 at 06:07:34PM +0200, Agnieszka Bielec wrote:
> 2015-07-05 8:05 GMT+02:00 Solar Designer <solar@...nwall.com>:
> > On Sun, Jul 05, 2015 at 12:52:48AM +0200, Agnieszka Bielec wrote:
> >> [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
> >
> > What's the difference between Lyra2 and Lyra2-lm?
> 
> lm - low memory. thread: Lyra2 on CPU

Can you perhaps explain what "low memory" means here in a few sentences?
Or refer me to specific postings in that thread?

> > Can you set reasonable comments for them, please?  In place of the
> > "Generic Lyra2 [ ]".
> 
> is it ok? and in pomelo also remove generic pomelo?
> 
> Benchmarking: Lyra2 [Blake2/SSE2]... (8xOMP) DONE
> 
> #define FORMAT_LABEL            "Lyra2"
> #define FORMAT_NAME            ""
> 
> #ifdef SIMD_COEF_64
> #define ALGORITHM_NAME            "Blake2/SSE2"
> #else
> #define ALGORITHM_NAME            "Blake2"
> #endif

No, this is not quite it yet.  We don't use slashes to separate
crypto algorithm names from SIMD instruction set names and such.
We use spaces there.

More importantly, it's not necessarily "SSE2" if SIMD_COEF_64 is
defined.  It could as well be "AVX" or something else, depending on the
build.  Your task is to ensure proper reporting, including for things
like "SSE2" vs. "AVX".

And yes, for POMELO too.

Thanks,

Alexander

Powered by blists - more mailing lists

Your e-mail address:

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