|
Message-ID: <20120415023133.GA1801@openwall.com> Date: Sun, 15 Apr 2012 06:31:33 +0400 From: Solar Designer <solar@...nwall.com> To: john-dev@...ts.openwall.com Subject: Re: Xsha512 OpenCL Code On Sun, Apr 15, 2012 at 10:06:08AM +0800, myrice wrote: > On Apr 15, 2012 8:46 AM, "Solar Designer" <solar@...nwall.com> wrote: > > On Sat, Apr 14, 2012 at 11:13:41PM +0800, myrice wrote: > > > I just implement XSHA512 on OpenCL. It is already in myrice-JtR of my > > > github(https://github.com/qqldd/myrice-JtR). > > > > Are you sure it's there? Somehow I don't see it. > It is on bleeding branch. OK, I've just tried it out. There's a performance regression for CUDA: user@...l:~/john/myrice-JtR/src$ ../run/john -te -fo=xsha512-cuda Benchmarking: Mac OS X 10.7+ salted SHA-512 [CUDA]... DONE Many salts: 34754K c/s real, 34754K c/s virtual Only one salt: 10944K c/s real, 10944K c/s virtual Increasing THREADS to 512 helps a little bit: user@...l:~/john/myrice-JtR/src$ ../run/john -te -fo=xsha512-cuda Benchmarking: Mac OS X 10.7+ salted SHA-512 [CUDA]... DONE Many salts: 40348K c/s real, 40106K c/s virtual Only one salt: 11796K c/s real, 11796K c/s virtual Now the OpenCL stuff: user@...l:~/john/myrice-JtR/src$ ../run/john -te -fo=xsha512-opencl OpenCL platform 0: NVIDIA CUDA, 1 device(s). Using device 0: GeForce GTX 570 Benchmarking: Mac OS X 10.7+ salted SHA-512 [OpenCL]... DONE Many salts: 25204K c/s real, 22649K c/s virtual Only one salt: 17086K c/s real, 15649K c/s virtual user@...l:~/john/myrice-JtR/src$ ../run/john -te -fo=xsha512-opencl -pla=1 OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s). Using device 0: Tahiti Compilation log: /tmp/OCLbj5mOR.cl(121): warning: type qualifier specified more than once __global uint64_t* hash, uint32_t offset, __constant const char* salt) ^ /tmp/OCLbj5mOR.cl(224): warning: type qualifier specified more than once __constant const char *salt) ^ LOOP UNROLL: pragma unroll (line 182) Unrolled as requested! LOOP UNROLL: pragma unroll (line 187) Unrolled as requested! LOOP UNROLL: pragma unroll (line 202) Unrolled as requested! Benchmarking: Mac OS X 10.7+ salted SHA-512 [OpenCL]... FAILED (get_hash[0](0)) user@...l:~/john/myrice-JtR/src$ ../run/john -te -fo=xsha512-opencl -pla=1 -dev=1 OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s). Using device 1: AMD FX(tm)-8120 Eight-Core Processor Compilation log: /tmp/OCLxcEdSH.cl(121): warning: type qualifier specified more than once __global uint64_t* hash, uint32_t offset, __constant const char* salt) ^ /tmp/OCLxcEdSH.cl(224): warning: type qualifier specified more than once __constant const char *salt) ^ LOOP UNROLL: pragma unroll (line 182) Unrolled as requested! LOOP UNROLL: pragma unroll (line 187) Unrolled as requested! LOOP UNROLL: pragma unroll (line 202) Unrolled as requested! LOOP UNROLL: pragma unroll (line 182) Unrolled as requested! LOOP UNROLL: pragma unroll (line 187) Unrolled as requested! LOOP UNROLL: pragma unroll (line 202) Unrolled as requested! Benchmarking: Mac OS X 10.7+ salted SHA-512 [OpenCL]... DONE Many salts: 10400K c/s real, 1361K c/s virtual Only one salt: 7809K c/s real, 1207K c/s virtual 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.