Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150509000843.GA27126@openwall.com>
Date: Sat, 9 May 2015 03:08:43 +0300
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: Adding OpenMP support to SunMD5

Lei,

On Fri, May 08, 2015 at 09:52:53AM +0800, Lei Zhang wrote:
> Now I've got SunMD5 to work with OpenMP

It fails on super:

[solar@...er src]$ OMP_NUM_THREADS=1 ../run/john -te -form=sunmd5
Warning: OpenMP is disabled; a non-OpenMP build may be faster
Benchmarking: SunMD5 [MD5 128/128 AVX 4x3]... DONE
Speed for cost 1 (iteration count) of 5000
Raw:    528 c/s real, 528 c/s virtual

[solar@...er src]$ OMP_NUM_THREADS=2 ../run/john -te -form=sunmd5
Will run 2 OpenMP threads
Benchmarking: SunMD5 [MD5 128/128 AVX 4x3]... (2xOMP) FAILED (cmp_all(4))

[solar@...er src]$ ../run/john -te -form=sunmd5
Will run 32 OpenMP threads
Benchmarking: SunMD5 [MD5 128/128 AVX 4x3]... (32xOMP) FAILED (cmp_all(7))

and the single-thread performance is a bit lower than it was before.
It was:

[solar@...er run]$ ./john -te -form=sunmd5
Benchmarking: SunMD5 [MD5 128/128 AVX 4x3]... DONE
Speed for cost 1 (iteration count) of 5000
Raw:    538 c/s real, 538 c/s virtual

Alexander

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.