Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 29 Nov 2011 18:59:09 +0200
From: Caesarmv <caesarmv@...il.com>
To: john-users@...ts.openwall.com
Subject: Re: AMD X6 multicore issue

Hi Alexander.

Please see inline.

2011/11/29 Solar Designer <solar@...nwall.com>

> On Mon, Nov 28, 2011 at 09:39:34PM +0200, Caesarmv wrote:
> > 1) john-1.7.8-jumbo-8/run$ mpiexec -np 4 ./john ./pass.txt
> > And it works well but uses only 1 core of 6.
> >
> > 2) But when I tried to run:
> > john-1.7.8-jumbo-8/run$ mpiexec -np 4 ./john --test
> > It used 4 cores (100% usage).
>
> Please post excerpts of output from the above commands - the "Loaded ..."
> line and benchmark output for the same hash type.
>
> * c@cd:~/pass/john-1.7.8-jumbo-8/run$ mpiexec -np 6 ./john ../../pass.txt*

Loaded 2 password hashes with 2 different salts (generic crypt(3) [?/64])
Loaded 2 password hashes with 2 different salts (generic crypt(3) [?/64])
Remaining 1 password hash
Loaded 2 password hashes with 2 different salts (generic crypt(3) [?/64])
Remaining 1 password hash
Remaining 1 password hash
Node 0@cd: Crash recovery file is locked: ./john.rec
Node 0@cd: Crash recovery file is locked: ./john.rec
Loaded 2 password hashes with 2 different salts (generic crypt(3) [?/64])
Node 0@cd: Crash recovery file is locked: ./john.rec
Remaining 1 password hash
Loaded 2 password hashes with 2 different salts (generic crypt(3) [?/64])
Remaining 1 password hash
Loaded 2 password hashes with 2 different salts (generic crypt(3) [?/64])
Remaining 1 password hash


*c@cd:~/pass/john-1.7.8-jumbo-8/run$ mpiexec -np 6 ./john --test*

 Benchmarking: Raw SHA-512 [64/64]... DONE
Raw:    1235K c/s real, 1235K c/s virtual

Benchmarking: Raw SHA-512 [64/64]... DONE
Raw:    1216K c/s real, 1228K c/s virtual

Benchmarking: Raw SHA-512 [64/64]... DONE
Raw:    1213K c/s real, 1237K c/s virtual

Benchmarking: Raw SHA-512 [64/64]... DONE
Raw:    1194K c/s real, 1231K c/s virtual

Benchmarking: Raw SHA-512 [64/64]... DONE
Raw:    1186K c/s real, 1235K c/s virtual

Benchmarking: Raw SHA-512 [64/64]... DONE
Raw:    1786K c/s real, 1804K c/s virtual


> Compilation type is  *make linux-x86-64.*
>
> Did you enable MPI or/and OpenMP in the Makefile?


Yes.


> > Could you please point me how to config it to work with several cores?
>
> There are different ways, with their pros and cons.  You really got to
> provide more info, such as on the hash type(s) you're interested in.
>

I'm interested in *SHA512* (ubuntu default pass file).


> For generic answers, see:
>
> http://openwall.info/wiki/john/parallelization


I've read it also, but no result.


> Alexander
>

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.