Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bd05376541e1adcb807b2e7030c04ac5@smtp.hushmail.com>
Date: Mon, 12 Mar 2012 22:33:08 +0100
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Forget it, it is working now [was Help on SHA-512]

Unless I misinterpreted Solar, ALGORITHM_NAME should be "OpenCL" (or
something more specific if applicable) while FORMAT_NAME should be eg.
"crypt SHA-512" but not contain OpenCL. That is how it's done in most
SSE2/MMX formats.

Yes, that preferred multiple can sometimes speed up things a lot for LWS
enumeration on CPU but no format use it yet. Actually, what is even more
important is that if I say "KPC=8192 LWS=0" you should enumerate LWS
using a KPC of 8192. Otherwise this enumeration could take half an hour
or more on CPU.

ssha-opencl will do that, and I think it is the best OpenCL template
right now. I have an experimental branch that moves the enumeration to
opencl-common (and also use best multiple) but it's not finished and
only tested on CPU. It currently uses the OS timer instead of ocl
profiling because it uses the format's set_salt(), set_key() and
crypt_all() just like a normal benchmark.

magnum


On 03/12/2012 10:15 PM, Claudio André wrote:
> I can do it. Anyway, i have some doubts:
> 
> - ALGORITHM_NAME is only "OpenCL"?
> - you talked about use "Kernel Preferred work group size multiple"?
> - And the move of LWS and KPC to opencl_common?
> 
> So, my question is, what is the new pattern i should follow? ssha-opencl?
> 
> 
> Em 12-03-2012 18:04, magnum escreveu:
>> On 03/12/2012 08:33 PM, Claudio André wrote:
>>> Thanks to Ulrich Drepper works.
>>>
>>> Patch available.
>>>
>> Nice, I'll commit it. I see you support tuning of LWS and KPC: How about
>> introducing john.conf support for that too, like I demontrated in commit
>> 3279fdc for ssha-opencl? It's just a couple of lines to add.
>>
>> I think you need to revise ALGORITHM_NAME et al. It still says OpenSSL
>> instead of OpenCL :)
>>
>> cheers,
>> magnum
>>
> 


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.