Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 15 Jun 2015 20:15:14 +0200
From: Agnieszka Bielec <bielecagnieszka8@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: PHC: Lyra2 on CPU

I had strange problems with openmp, even when I created my own barrier
I noticed that speed is decreased but I discovered later that it has
normal speed with --skip-self-test and I was noticing strange things
in another cases. I used pthread barrier for lyra2-lm
I ported both lyra and lyra-lm where lm means low memory and uploaded
to my bleeding-jumbo branch


without SSE

none@...e ~/Desktop/conn/run $ ./john --test --format=lyra2
Will run 8 OpenMP threads
Benchmarking: Lyra2, Generic Lyra2 [ ]... (8xOMP) DONE
Speed for cost 1 (t) of 8, cost 2 (m) of 8
Many salts:     8168 c/s real, 1045 c/s virtual
Only one salt:  8600 c/s real, 1085 c/s virtual

none@...e ~/Desktop/conn/run $ ./john --test --format=lyra2-lm
Will run 8 OpenMP threads
Benchmarking: Lyra2-lm, Generic Lyra2 [ ]... (8xOMP) DONE
Speed for cost 1 (t) of 8, cost 2 (m) of 8
Many salts:     5200 c/s real, 681 c/s virtual
Only one salt:  8144 c/s real, 1044 c/s virtual

with SSE

none@...e ~/Desktop/conn/run $ ./john --test --format=lyra2
Will run 8 OpenMP threads
Benchmarking: Lyra2, Generic Lyra2 [ ]... (8xOMP) DONE
Speed for cost 1 (t) of 8, cost 2 (m) of 8
Many salts:     12576 c/s real, 1663 c/s virtual
Only one salt:  14824 c/s real, 1895 c/s virtual


none@...e ~/Desktop/conn/run $ ./john --test --format=lyra2-lm
Will run 8 OpenMP threads
Benchmarking: Lyra2-lm, Generic Lyra2 [ ]... (8xOMP) DONE
Speed for cost 1 (t) of 8, cost 2 (m) of 8
Many salts:     11072 c/s real, 1506 c/s virtual
Only one salt:  13288 c/s real, 1753 c/s virtual



I need openmp for version b) but when I add in the beginning of
Lyra2_lm_fmt_plug.c #ifdef _OPENMP, make doesn't see
Lyra2_lm_fmt_plug.c
./configure must be modified to make this working

Powered by blists - more mailing lists

Your e-mail address:

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