Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120411041845.GA16250@openwall.com>
Date: Wed, 11 Apr 2012 08:18:45 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: OpenCL tests on HD 7970

magnum, Lukas, Sayantan, Samuele -

Here's a full set of OpenCL tests for magnum-jumbo on my 7970.
(I ran these one by one because we do not yet have "format destructors"
and because a segfault or the like would prevent further tests.)

user@...l:~/john/magnum-jumbo/src$ ../run/john -te -pla=1 -fo=cryptmd5-opencl
OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
Using device 0: Tahiti
OpenCL error (CL_INVALID_VALUE) in file (common-opencl.c) at line (128) - (Error while getting build info)

---

user@...l:~/john/magnum-jumbo/src$ ../run/john -te -pla=1 -fo=cryptsha512-openclOpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
Using device 0: Tahiti
Compilation log: LOOP UNROLL: pragma unroll (line 105)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 90)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 85)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 172)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 172)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 172)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 172)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 172)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 199)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 273)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 199)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 199)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 199)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 199)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 302)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 294)
    Unrolled as requested!

Local work size (LWS) 64, Keys per crypt (KPC) 8192
Benchmarking: crypt SHA-512 (rounds=5000) [OpenCL]... FAILED (get_hash[0](0))

---

user@...l:~/john/magnum-jumbo/src$ ../run/john -te -pla=1 -fo=mscash2-opencl
OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
Using device 0: Tahiti
Benchmarking: MSCASH2-OPENCL [PBKDF2_HMAC_SHA1]... DONE
Raw:    75590 c/s real, 186407 c/s virtual

(This is pretty good speed.  hashcat is reported to do 132.1k c/s on
5970, which is slightly faster.  I'd expect something like 100k for 7970.)

---

user@...l:~/john/magnum-jumbo/src$ ../run/john -te -pla=1 -fo=mysql-sha1-opencl
OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
Using device 0: Tahiti
Max Group Work Size 256 Optimal local work size 32
(to avoid this test on next run do export LWS=32)
Local work size (LWS) 32, Keys per crypt (KPC) 2097152
Benchmarking: MySQL 4.1 double-SHA-1 [mysql-sha1-opencl]... FAILED (get_hash[0](474))

---

user@...l:~/john/magnum-jumbo/src$ ../run/john -te -pla=1 -fo=nt-opencl
OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
Using device 0: Tahiti
Optimal Local work size 64
Benchmarking: NT MD4 [OpenCL 1.0]... DONE
Raw:    26853K c/s real, 28230K c/s virtual

---

user@...l:~/john/magnum-jumbo/src$ ../run/john -te -pla=1 -fo=phpass-opencl
OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
Using device 0: Tahiti
Optimal Group work Size = 64
Benchmarking: PHPASS-OPENCL [PORTABLE-MD5]... DONE
Raw:    1011K c/s real, 5194K c/s virtual

(Also pretty good, but we should try to achieve 2000K+ here.)

---

user@...l:~/john/magnum-jumbo/src$ ../run/john -te -pla=1 -fo=raw-md5-opencl
OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
Using device 0: Tahiti
Max Group Work Size 256 Optimal local work size 32
(to avoid this test on next run do export LWS=32)
Local work size (LWS) 32, Keys per crypt (KPC) 2097152
Benchmarking: Raw MD5 [raw-md5-opencl]... DONE
Raw:    35525K c/s real, 40887K c/s virtual

---

user@...l:~/john/magnum-jumbo/src$ ../run/john -te -pla=1 -fo=raw-sha1-opencl
OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
Using device 0: Tahiti
Max Group Work Size 256 Optimal local work size 256
(to avoid this test on next run do export LWS=256)
Local work size (LWS) 256, Keys per crypt (KPC) 2097152
Benchmarking: Raw SHA-1 OpenCL [raw-sha1-opencl]... DONE
Raw:    38242K c/s real, 43926K c/s virtual

---

user@...l:~/john/magnum-jumbo/src$ ../run/john -te -pla=1 -fo=ssha-opencl
OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
Using device 0: Tahiti
Max Group Work Size 256 Optimal local work size 64
(to avoid this test on next run, put "ssha_LWS = 64" in john.conf, section [Options:OpenCL])
Local work size (LWS) 64, Keys per crypt (KPC) 4194304
Benchmarking: Netscape LDAP SSHA OPENCL [salted SHA-1]... DONE
Many salts:     58798K c/s real, 74898K c/s virtual
Only one salt:  41943K c/s real, 46603K c/s virtual

---

user@...l:~/john/magnum-jumbo/src$ ../run/john -te -fo=rar -pla=1
OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
Using device 0: Tahiti
Max allowed local work size 256, best multiple 64
Local work size (LWS) 128, Keys per crypt (KPC) 2048
Benchmarking: RAR3 (6 characters) [OpenCL]... (8xOMP) FAILED (cmp_all(1))

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.