Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <BEE1A65E-8D75-4B6C-8F4A-ADC715F1FA7C@erols.com>
Date: Fri, 13 Aug 2010 11:57:40 -0400
From: Erik Winkler <ewinkler@...ls.com>
To: john-users@...ts.openwall.com
Subject: Re: SSE intrinsics patch update


On Aug 13, 2010, at 5:14 AM, bartavelle@...quise.net wrote:

> I've updated my patch on the Wiki. I hope it is working, as it has been
> done hastily. It is to be applied over john-1.7.6-jumbo6. It includes
> the following changes :
> * Some copyright clarifications, which could be included in the jumbo patch
> * SSE intrinsics code for the raw MD5 function, raw SHA1 and MD5 crypt
> * format updates to use these functions in raw-md5, md5, raw-sha1

Using gcc 4.6 on macosx I am getting good increased performance:

Standard 64-bit build:
./john -test -format:raw-md5
Benchmarking: Raw MD5 [raw-md5 64x1]... DONE
Raw:	4498K c/s real, 4544K c/s virtual

./john -test -format:md5
Benchmarking: FreeBSD MD5 [32/64 X2]... DONE
Raw:	10170 c/s real, 10170 c/s virtual

./john -test -format:raw-sha1
Benchmarking: Raw SHA-1 [raw-sha1]... DONE
Raw:	2882K c/s real, 2911K c/s virtual

32-bit SSE2 build:
./john -test -format:raw-md5
Benchmarking: Raw MD5 SSE2 [raw-md5 SSE2 16x4]... DONE
Raw:	10678K c/s real, 10786K c/s virtual

./john -test -format:md5
Benchmarking: FreeBSD MD5 [32/32]... DONE
Raw:	6581 c/s real, 6581 c/s virtual

./john -test -format:raw-sha1
Benchmarking: Raw SHA-1 SSE2 [raw-sha1 SSE2]... DONE
Raw:	7076K c/s real, 7076K c/s virtual

64-bit build w/ SSE intrinsics code:
./john -test -format:raw-md5
Benchmarking: Raw MD5 [raw-md5 SSE]... DONE
Raw:	13606K c/s real, 13743K c/s virtual

./john -test -format:md5
Benchmarking: FreeBSD MD5 [12x]... DONE
Raw:	25104 c/s real, 25104 c/s virtual

./john -test -format:raw-sha1
Benchmarking: Raw SHA-1(8x) [SHA-1]... DONE
Raw:	7695K c/s real, 7773K c/s virtual


Although, md5a fails the benchmark test,

./john -test -format:md5a
Benchmarking: Apache MD5 [12x]... FAILED (get_hash[0](0))

Erik




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.