Date: Sun, 8 Jul 2012 14:41:08 +0530 From: Sayantan Datta <std2048@...il.com> To: john-dev@...ts.openwall.com Subject: Re: Rotate and bitselect investigation On Sun, Jul 8, 2012 at 2:11 PM, Solar Designer <solar@...nwall.com> wrote: > Sayantan, magnum - > > On Sun, Jul 08, 2012 at 12:34:51PM +0530, Sayantan Datta wrote: > > There was a small typo in the optimized kernel. Apparently you didn't > > change from manual to bitselect in the SHA1_digest() function which is > > called in the 10K iteration. > > Are we getting this committed now - my optimizations and this extra fix? > I think we should, including into the branch for 1.7.9-jumbo-7. > > Alexander > Here's the result with previous value of KPC. Last login: Sun Jul 8 10:30:58 2012 from localhost std2048@...l:~$ cd ~/bin/run std2048@...l:~/bin/run$ ./john -te -fo=mscash2-opencl OpenCL platform 0: NVIDIA CUDA, 1 device(s). Using device 0: GeForce GTX 570 Optimal Work Group Size:128 Kernel Execution Speed (Higher is better):0.482603 Benchmarking: M$ Cache Hash 2 (DCC2) PBKDF2-HMAC-SHA-1 [OpenCL]... DONE Raw: 31319 c/s real, 31282 c/s virtual std2048@...l:~/bin/run$ ./john -te -fo=mscash2-opencl -pla=1 OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s). Using device 0: Tahiti Optimal Work Group Size:256 Kernel Execution Speed (Higher is better):1.549828 Benchmarking: M$ Cache Hash 2 (DCC2) PBKDF2-HMAC-SHA-1 [OpenCL]... DONE Raw: 101803 c/s real, 101606 c/s virtual So the results are little slow on 570 and also on 4890. So if you want we can have two binary kernel specifiaclly tailored for these two and one general kernel for all other devices. Or we may go the opposite way too i.e using binary for 7970. Do you want me to commit it and push to git repo? Sayantan Content of type "text/html" skipped
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.