Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 9 Jul 2013 11:04:49 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: mscash2 multi-device -test=0 (was: bug: GPU use in CPU-only formats)

On 8 Jul, 2013, at 17:36 , Sayantan Datta <std2048@...il.com> wrote:
> On Friday 05 July 2013 05:23 AM, magnum wrote:
>> I think that "decreasing order" requirement should be taken care of by the format, not the user. When using --device=gpu you select all GPU devices available but on Bull they happen to come in increasing order of performance.
>  
> Fixed both of the issues in bleeding.

This now works fine on my laptop too, using -t. For some reason -t=0 doesn't work unless given a specific order:

$ ../run/john -t -form:mscash2-opencl -dev=all
Device 0: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz 
Optimal Work Group Size:1
Kernel Execution Speed (Higher is better):0.001003
Optimal Global Work Size:8192
Device 1: GeForce GT 650M 
Optimal Work Group Size:512
Kernel Execution Speed (Higher is better):0.077778
Optimal Global Work Size:16384
Benchmarking: mscash2-opencl, M$ Cache Hash 2 (DCC2) [PBKDF2-SHA1 OpenCL]... DONE
Raw:	5056 c/s real, 2371 c/s virtual

$ ../run/john -t=0 -form:mscash2-opencl -dev=1,0
Warning: doing quick benchmarking - the performance numbers will be inaccurate
Device 1: GeForce GT 650M 
Device 0: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz 
Benchmarking: mscash2-opencl, M$ Cache Hash 2 (DCC2) [PBKDF2-SHA1 OpenCL]... DONE
Raw:	4934 c/s real, 819200 c/s virtual

$ ../run/john -t=0 -form:mscash2-opencl -dev=0,1
Warning: doing quick benchmarking - the performance numbers will be inaccurate
Device 0: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz 
Device 1: GeForce GT 650M 
Benchmarking: mscash2-opencl, M$ Cache Hash 2 (DCC2) [PBKDF2-SHA1 OpenCL]... OpenCL error (CL_INVALID_WORK_GROUP_SIZE) in file (common_opencl_pbkdf2.c) at line (411) - (Enque Kernel Failed)

I'll look into it and see what happens. It might be caused by my CPU device only supporting LWS=1 (which is a stupid Apple bug IMO).

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.