Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 10 Oct 2011 19:21:24 -0400
From: Erik Winkler <ewinkler@...ls.com>
To: john-dev@...ts.openwall.com
Subject: Re: Benchmarks vs GCC version


On Oct 10, 2011, at 6:19 PM, Solar Designer wrote:

> On Mon, Oct 10, 2011 at 04:48:08PM -0400, Erik Winkler wrote:
>> Why is the gcc 4.2.1 code significantly faster than the 4.6.1 code?  Is it because of the SSE2 intrinsics code used with gcc 4.6.1?
> 
> Maybe, but this was not supposed to be the case.  I might do some more
> testing with gcc 4.6.1 specifically.  However, in current CVS tree, the
> use of intrinsics has been disabled for another reason anyway.  You can
> try this trivial patch too:

Yes, that was the issue.  See new benchmarks below using gcc 4.6.1 after I applied the patch to x86-64.h.

../run/john -test=5 -format:DES
Benchmarking: Traditional DES [128/128 BS SSE2-16]... DONE
Many salts:	2530K c/s real, 2530K c/s virtual
Only one salt:	2098K c/s real, 2098K c/s virtual

../run/john -test=5 -format:LM
Benchmarking: LM DES [128/128 BS SSE2-16]... DONE
Raw:	11717K c/s real, 11764K c/s virtual


Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ