Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 19 Mar 2012 08:53:00 -0300
From: Claudio André <claudioandre.br@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: New patch for OpenCL SHA-512

For example of bad things in GPU code, data dependent decisions and
paths (not avoidable, right?????????):
     if (ctx->buflen <= 111)
        ...
     else
        ...
---
     for (int i = 0; i < 16 + (alt_result->mem_08)[0]; i++)


Means, can't use all GPU power.


Em 18-03-2012 18:48, Solar Designer escreveu:
> Hi Claudio,
>
> On Sun, Mar 18, 2012 at 08:11:54AM -0300, Claudio Andr? wrote:
>> It uses john.conf for LWS e KPC (if available), fix the format and 
>> algorithm name, etc.
>> It also uses fast memory to keep temporary buffers (improve performance).
> Thank you!  magnum is the one to merge this into the tree.
>
>> Numbers here:
>> => CPU
>> Benchmarking: crypt SHA-512 (rounds=5000) [OpenSSL 64/64]... DONE
>> Raw:    440 c/s real, 440 c/s virtual
>>
>> => OMP
>> Benchmarking: crypt SHA-512 (rounds=5000) [OpenSSL 64/64]... (6xOMP) DONE
>> Raw:    2254 c/s real, 378 c/s virtual
>>
>> => OpenCL CPU
>> Benchmarking: crypt SHA-512 (rounds=5000) [OpenCL]... DONE
>> Raw:    1422 c/s real, 237 c/s virtual
>>
>> => OpenCL GPU
>> Local work size (LWS) 64, Keys per crypt (KPC) 65536
>> Benchmarking: crypt SHA-512 (rounds=5000) [OpenCL]... DONE
>> Raw:    1228 c/s real, 936228 c/s virtual
> What CPU and GPU are you testing this on?
>
> How do these OpenCL speed numbers compare to those for Lukas' OpenCL
> code?  And to those for Lukas' CUDA code (if you use an Nvidia GPU)?
>
> The OpenCL GPU speed is still quite poor (although this works for a
> development milestone) - do you have specific plans on improving it?
>
> Thanks again,
>
> Alexander

Powered by blists - more mailing lists

Your e-mail address:

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