Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKGDhHWnokjjGRxGsvLNa4aSjw_MzeGEx_vrYLnSW2srH7m-1A@mail.gmail.com>
Date: Tue, 2 Jun 2015 22:03:14 +0200
From: Agnieszka Bielec <bielecagnieszka8@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: PHC: Parallel in OpenCL

yet another experiment

here are results with first loop:

[a@...er run]$ ./john --test --format=parallel-opencl --dev=1 --skip-self-test
Speed for cost 1 (s) of 0, cost 2 (p) of 0
Many salts:     45093 c/s real, 4915K c/s virtual
Only one salt:  45093 c/s real, 4915K c/s virtual

     7: 00009e2a 25430 FUNC    LOCAL  DEFAULT    7 __OpenCL_parallel_kernel_

and after change first loop:

    for (int i = 0; i < 16; i++) {
        t1 = k[i] + w[i] + h + Sigma1(e) + Ch(e, f, g);
        t2 = Maj(a, b, c) + Sigma0(a);

        h = g;
        g = f;
        f = e;
        e = d + t1;
        d = c;
        c = b;
        b = a;
        a = t1 + t2;
    }

to:

for (int i = 0; i < 10; i++) {
        t1 = k[i] + w[i] + h + Sigma1(e) + Ch(e, f, g);
        t2 = Maj(a, b, c) + Sigma0(a);

        h = g;
        g = f;
        f = e;
        e = d + t1;
        d = c;
        c = b;
        b = a;
        a = t1 + t2;
    }

results are......

[a@...er run]$ ./john --test --format=parallel-opencl --dev=1 --skip-self-test
Speed for cost 1 (s) of 0, cost 2 (p) of 0
Many salts:     28493 c/s real, 3276K c/s virtual
Only one salt:  28493 c/s real, 3276K c/s virtual

     7: 00009e2a 54514 FUNC    LOCAL  DEFAULT    7 __OpenCL_parallel_kernel_

I tested this even two times, uploading my files on server again.

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.