Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 15 Apr 2013 00:41:17 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: [patch] sse/xop implementation of raw-sha512

On 14 Apr, 2013, at 13:56 , Jeremi Gosney <epixoip@...dshell.nl> wrote:
> Since the self tests are working, we can still get an idea of the speed.
> On Bulldozer, performance is as expected (almost 2x speed-up). On Intel,
> however, there's little to no performance gain over OpenSSL. Need to
> spend more time figuring out how to show Intel some love.
> 
> 
> Xeon X7350, no speed-up.
> 
> Benchmarking: Raw SHA-512 [64/64 OpenSSL]... DONE
> Raw:    1916K c/s real, 1916K c/s virtual
> 
> Benchmarking: Raw SHA-512 [128/128 SSSE3 instrinsics 2x]... DONE
> Raw:    1922K c/s real, 1922K c/s virtual
> 
> 
> Xeon E5645, slight speed-up. About 1.18x faster.
> 
> Benchmarking: Raw SHA-512 [64/64 OpenSSL]... DONE
> Raw:    1529K c/s real, 1529K c/s virtual
> 
> Benchmarking: Raw SHA-512 [128/128 SSSE3 intrinsics 2x]... DONE
> Raw:    1809K c/s real, 1809K c/s virtual
> 
> 
> FX-4100, good performance. About 1.9x faster.
> 
> Benchmarking: Raw SHA-512 [64/64 OpenSSL]... DONE
> Raw:    1854K c/s real, 1854K c/s virtual
> 
> Benchmarking: Raw SHA-512 [128/128 XOP intrinsics 2x]... DONE
> Raw:    3564K c/s real, 3541K c/s virtual

With the fixed version I do get a 2x speedup on Intel, and this despite it's only SSE2 (because Apple's silly OSX assembler can't handle AVX and stuff).

$ ../run/john -t -fo:raw-sha512*
Benchmarking: Raw SHA-512 [128/128 SSE2 intrinsics 2x]... DONE
Raw:	2890K c/s real, 2890K c/s virtual

Benchmarking: Raw SHA-512 [64/64 CommonCrypto]... DONE
Raw:	1449K c/s real, 1449K c/s virtual

...and just over 2x on Bull:

$ ../run/john -t -fo:raw-sha512*
Benchmarking: Raw SHA-512 [128/128 XOP intrinsics 2x]... DONE
Raw:    3813K c/s real, 3778K c/s virtual

Benchmarking: Raw SHA-512 [64/64 OpenSSL]... DONE
Raw:    1889K c/s real, 1889K c/s virtual


magnum

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.