Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120331081754.GA605@openwall.com>
Date: Sat, 31 Mar 2012 12:17:54 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: fast hashes on GPU

On Sat, Mar 31, 2012 at 04:22:34AM +0800, myrice wrote:
> Besides, I write xsha512-cuda format. Optimization is needed. I put it to
> my github: https://github.com/qqldd/myrice-JtR
> However, it is really very slow now. In my P8600 and G9600M GS, it's 1.5M
> and 1M. I will stay tuned.
> Here are benchmarks:
> ----------------------CPU------------------------
> Benchmarking: Mac OS X 10.7+ salted SHA-512 [64/64]... DONE
> Many salts: 1553K c/s real, 1564K c/s virtual
> Only one salt: 1487K c/s real, 1497K c/s virtual
> 
> ---------------------CUDA---------------------------
> Benchmarking: Mac OS X 10.7+ salted SHA-512 [64/64]... DONE //Forgot to
> chane
> Many salts: 983040 c/s real, 1007K c/s virtual
> Only one salt: 955733 c/s real, 955733 c/s virtual

Thanks.  I've just tried on my FX-8120 o/c to 3.9 GHz (limited by 125 W
TDP, so probably the actual clock rate is slightly less) / 4.5 GHz
(turbo) and GTX-570 vendor o/c 1600 MHz.  Here's what I got:

CPU non-OpenMP (should be 4.5 GHz, the sensor reports 50 W to 80 W for
the CPU during this benchmark):

Benchmarking: Mac OS X 10.7+ salted SHA-512 [64/64]... DONE
Many salts:     2150K c/s real, 2150K c/s virtual
Only one salt:  2096K c/s real, 2076K c/s virtual

CPU OpenMP 8 threads (probably about 3.7 GHz, the sensor reports 124 W):

Benchmarking: Mac OS X 10.7+ salted SHA-512 [64/64]... (8xOMP) DONE
Many salts:     10846K c/s real, 1364K c/s virtual
Only one salt:  8169K c/s real, 1018K c/s virtual

Your GPU code (on the GTX-570 1600 MHz):

$ LD_LIBRARY_PATH=/usr/local/cuda/lib64 ../run/john -te -fo=xsha512-cuda
Benchmarking: Mac OS X 10.7+ salted SHA-512 [64/64]... DONE
Many salts:     6397K c/s real, 6397K c/s virtual
Only one salt:  5901K c/s real, 5901K 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.