Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1d448737ae98946c958b97cb7dd327a3@smtp.hushmail.com>
Date: Fri, 5 Jul 2013 01:53:09 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: bug: GPU use in CPU-only formats

On 5 Jul, 2013, at 1:24 , magnum <john.magnum@...hmail.com> wrote:
> I'm looking into some weirdness with mscash2-opencl when using multiple devices, I may have to tweak something.

That problem was not introduced now so I'll leave it to Sayantan. It only happens with --test=0:

$ ../run/john -t=0 -form:mscash2-opencl -dev=gpu
Warning: doing quick benchmarking - the performance numbers will be inaccurate
Device 0: GeForce GTX 570 
Device 1: Tahiti (AMD Radeon HD 7900 Series)
Optimal Work Group Size:256
Kernel Execution Speed (Higher is better):1.565550
Optimal Global Work Size:253952
WARNING: Device 0 is too slow and might cause degradation in performance.
WARNING: Devices are NOT arranged in DECREASING order of performance and might cause degradation in performance.
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 (353) - (Enque Kernel Failed)

$ ../run/john -t -form:mscash2-opencl -dev=gpu
Device 0: GeForce GTX 570 
Optimal Work Group Size:128
Kernel Execution Speed (Higher is better):0.470798
Optimal Global Work Size:81920
Device 1: Tahiti (AMD Radeon HD 7900 Series)
Optimal Work Group Size:256
Kernel Execution Speed (Higher is better):1.565677
Optimal Global Work Size:253952
WARNING: Devices are NOT arranged in DECREASING order of performance and might cause degradation in performance.
Benchmarking: mscash2-opencl, M$ Cache Hash 2 (DCC2) [PBKDF2-SHA1 OpenCL]... DONE
Raw:    64291 c/s real, 64129 c/s virtual

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.

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.