Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 25 Mar 2014 22:43:12 +0100
From: "-.-PhanTom-.-" <phantom@...uribox.net>
To: john-users@...ts.openwall.com
Subject: Re: john-1.8.0-Win-32 - john.omp.exe - cores used

On 25-03-2014 22:19, Solar Designer wrote:
> On Tue, Mar 25, 2014 at 09:37:09PM +0100, -.-PhanTom-.- wrote:
>> I did do that in the win64-build I have been trying to compile myself,
>> but with no success yet (see my reply to JimF post on the guide he made
>> to compile Bleeding under Cygwin (64bit)
> Yes.  I've never tried 64-bit Cygwin, but I think the DLL should come
> with Cygwin somewhere.  Maybe you didn't make a sufficiently complete
> install.  The bash output showing "-bash: ./john: No such file or
> directory" suggests that "john" itself might not be in the current
> directory, so I'd double-check that first.
>
>> H:\HA\john179w2\john179\run>john-omp -t
>> Benchmarking: Traditional DES [128/128 BS SSE2]... DONE
>> Many salts:     11338K c/s real, 3265K c/s virtual
>> Only one salt:  10791K c/s real, 3204K c/s virtual
>>
>> H:\HA\john179w2\john179\run>john -t
>> Benchmarking: Traditional DES [128/128 BS SSE2]... DONE
>> Many salts:     4506K c/s real, 4635K c/s virtual
>> Only one salt:  4312K c/s real, 4425K c/s virtual
>>
>> So only 152% better with 4 cores for DES in john179w2.
> In other words, 2.52x out of 4x max.  That's not great, but it's not
> that bad either if you recall that we're switching from non-thread-safe
> assembly code to thread-safe compiler-generated code on an architecture
> with only 8 registers (where compilers have difficulty generating decent
> code, especially for something like bitslice DES).  A 64-bit build
> should provide higher efficiency, since we have 16 registers there.
>
> Also, your CPU probably runs at a higher clock rate with only 1 core in
> use (max turbo) than with all 4 in use, so the max speedup is below 4x.
> Your bcrypt benchmark suggests that it's about 3.83x, which is rather
> good, though.
>
>> H:\HA\john179j5w\john179j5\run>john-omp -test
>> Benchmarking: Traditional DES [128/128 BS SSE2]... (4xOMP) DONE
>> Many salts:     12315K c/s real, 3276K c/s virtual
>> Only one salt:  10764K c/s real, 3087K c/s virtual
>>
>> H:\HA\john179j5w\john179j5\run>john -test
>> Benchmarking: Traditional DES [128/128 BS SSE2]... DONE
>> Many salts:     4670K c/s real, 4675K c/s virtual
>> Only one salt:  4505K c/s real, 4517K c/s virtual
>>
>> And around 164% better with 4 cores for john179j5w.
> That's 2.64x out of ~3.83x max.  I don't know why it performs better
> than john179w2 for you.  Could be lucky relative placement of its
> components in memory.
>
>> I never really got around to learning my way around Linux as on OS, but
>> I guess the userfriendlyness has come a long way since I last tried.
>> I guess I could try to install Ubuntu in a  VmWare sessions and try to
>> compile there...
>> Would Ubuntu in a WVWare session perform as well as a native Ubuntu
>> dualboot installation?
> It might perform almost as well.
>
> Alexander
>
>
I tried reinstalling all of the Cygwin packages listed by JimF in his 
post, but still no luck.

However, you were right about the wrong folder. :)
In /run folder I can invoke ./john fine for the 1.8.0.2-bleeding so it 
looks like it compiled... but I don't understand, why no dll files at 
all are in the same dir. So I cannot run this in a windows command 
prompt as I still get the message about the missing crypto dll. Also the 
normal cygwin.dll is also not present.
Maybe I am missing something obvious again......

In cygwin bash ( ~/JtR-Bleeding/run), I get:

$ ./john --test
Will run 4 OpenMP threads
Benchmarking: descrypt, traditional crypt(3) [DES 128/128 SSE2-16]... 
(4xOMP) DONE
Many salts:     5262K c/s real, 2245K c/s virtual
Only one salt:  5080K c/s real, 2364K c/s virtual

Those test speeds I don't understand at all.....

Good point about the 1 core speed versus 4 cores. I guess i will have to 
try another performance profile and maybe even overclock a bit.
This PC build is only a few weeks old, and I have not had time to play 
around with any hardware settings really... ah adult life+works drains 
spare time :)

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.