Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 10 May 2015 19:57:35 +0200
From: Luis Rocha <luiscrocha@...il.com>
To: john-users@...ts.openwall.com
Subject: Multiple Cores and GPU

Hello John-Users,

I am a newbie around here so please bare with me in case I write something
odd .... I am trying to get john to use all CPU cores and 1 GPU together.

Not sure how to do this but my current system has 4 cores and 1 GPU but
when I try to use the --fork suffix I would like to set that for CPU device
use --fork=4 but for GPU --fork=1
Because when I try to use --fork=4, John starts a second instance running
on the GPU which is useless ....

Is this possible?

Below some commands output:

root@...kstation:~/john-1.8.0-jumbo-1/run# ./john --list=opencl-devices |
grep Device
        Device #0 (0) name:     Pitcairn
        Device vendor:          Advanced Micro Devices, Inc.
        Device type:            GPU (LE)
        Device version:         OpenCL 1.2 AMD-APP (923.1)
        Device #1 (1) name:     Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz
        Device vendor:          GenuineIntel
        Device type:            CPU (LE)
        Device version:         OpenCL 1.2 AMD-APP (923.1)


root@...kstation:~/john-1.8.0-jumbo-1/run# cat /proc/cpuinfo | grep
processor
processor       : 0
processor       : 1
processor       : 2
processor       : 3


root@...kstation:~/john-1.8.0-jumbo-1/run# ./john hashes
--format=md5crypt-opencl --increment --fork=4 --dev=all
Loaded 1 password hashes with 1 different salts (md5crypt-opencl, crypt(3)
$1$ [MD5 OpenCL])
Remaining 1 password hashes with 1 different salts
Node numbers 1-4 of 4 (fork)
Device 0: Pitcairn (AMD Radeon HD 7800 Series)
Device 1: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz
Device 1: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz
Device 0: Pitcairn (AMD Radeon HD 7800 Series)
Local worksize (LWS) 1, global worksize (GWS) 1024
Local worksize (LWS) 1, global worksize (GWS) 4096
Local worksize (LWS) 64, global worksize (GWS) 8192
Local worksize (LWS) 64, global worksize (GWS) 8192
Press 'q' or Ctrl-C to abort, almost any other key for status
4 0g 0:00:00:04  0g/s 5378p/s 10757c/s 10757C/s adiets..adorew
2 0g 0:00:00:04  0g/s 6606p/s 13212c/s 13212C/s juluch..jhelar
1 0g 0:00:00:03  0g/s 0p/s 0c/s 0C/s GPU:37°C util:48% fan:40%
Waiting for 4 children to terminate
3 0g 0:00:00:03  0g/s 0p/s 0c/s 0C/s GPU:37°C util:48% fan:40%
Session aborted


root@...kstation:~/john-1.8.0-jumbo-1/run# ./john hashes
--format=md5crypt-opencl --increment --fork=3 --dev=1,0
Loaded 1 password hashes with 1 different salts (md5crypt-opencl, crypt(3)
$1$ [MD5 OpenCL])
Remaining 1 password hashes with 1 different salts
Node numbers 1-3 of 3 (fork)
Device 1: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz
Device 0: Pitcairn (AMD Radeon HD 7800 Series)
Device 1: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz
Local worksize (LWS) 64, global worksize (GWS) 8192
Local worksize (LWS) 1, global worksize (GWS) 1024
Local worksize (LWS) 1, global worksize (GWS) 2048
Press 'q' or Ctrl-C to abort, almost any other key for status



Thank you,
Luis

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.