Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 17 Aug 2015 22:53:06 +0800
From: Kai Zhao <loverszhao@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: FMT_OMP_BAD

Hi Alexander,

On Mon, Aug 17, 2015 at 10:43 PM, Solar Designer <solar@...nwall.com> wrote:
> On Mon, Aug 17, 2015 at 05:23:55PM +0300, Solar Designer wrote:
>> wpapsk is in there by mistake.  It's a slow format that should show good
>> OpenMP scaling, and it does when I test it now:
>>
>> [solar@...er run]$ OMP_NUM_THREADS=1 ./john-omp -test -form=wpapsk
>> Warning: OpenMP is disabled; a non-OpenMP build may be faster
>> Benchmarking: wpapsk, WPA/WPA2 PSK [PBKDF2-SHA1 128/128 AVX 4x]... DONE
>> Raw:    1308 c/s real, 1308 c/s virtual
>>
>> [solar@...er run]$ OMP_NUM_THREADS=10 ./john-omp -test -form=wpapsk
>> Will run 10 OpenMP threads
>> Benchmarking: wpapsk, WPA/WPA2 PSK [PBKDF2-SHA1 128/128 AVX 4x]... (10xOMP) DONE
>> Raw:    11560 c/s real, 1154 c/s virtual
>>
>> There must have been some glitch during my benchmarks causing wpapsk to
>> appear to scale poorly.
>
> Confirmed that it was a glitch (unrelated server load?) by reviewing the
> individual benchmarks' output.  wpapsk's benchmark at 10 threads was:
>
> Benchmarking: wpapsk, WPA/WPA2 PSK [PBKDF2-SHA1 128/128 AVX 4x]... (10xOMP) DONE
> Raw:    3120 c/s real, 311 c/s virtual
>
> Nearby benchmarks (the previous and the next format benchmarked) look
> unaffected.
>

On my laptop and build with ./configure && make -sj8

$ OMP_NUM_THREADS=1 ../john -test -form=wpapsk
Warning: OpenMP is disabled; a non-OpenMP build may be faster
Benchmarking: wpapsk, WPA/WPA2 PSK [PBKDF2-SHA1 256/256 AVX2 8x]... DONE
Raw: 3232 c/s real, 3232 c/s virtual

$ OMP_NUM_THREADS=10 ../john -test -form=wpapsk
Will run 10 OpenMP threads
Benchmarking: wpapsk, WPA/WPA2 PSK [PBKDF2-SHA1 256/256 AVX2 8x]...
(10xOMP) DONE
Raw: 9346 c/s real, 2038 c/s virtual

So the wpapsk format should set FAST_FORMATS_OMP and
FMT_OMP_BAD ?


Thanks,

KAi

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.