Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPKcp6beTHTYU+v38DP7r4qBATUpfdemsJLuTFO7rL1sO=X0_w@mail.gmail.com>
Date: Wed, 26 Sep 2012 11:53:38 -0700
From: Francois Pesce <fpesce@...lys.com>
To: john-dev@...ts.openwall.com
Subject: Re: Re: choosing code optimisations

By tweaking the output of john --test to normalize it to the number of
second to run... say 100000 iterations of a hash, you should use directly
acovea ( http://en.gentoo-wiki.com/wiki/Acovea ) to optimize gcc parameters
on your platform.

On Wed, Sep 26, 2012 at 11:23 AM, Tavis Ormandy <taviso@...xchg8b.com>wrote:

> magnum <john.magnum@...hmail.com> wrote:
>
> > On 26 Sep, 2012, at 13:45 , Tavis Ormandy
> > <taviso@...xchg8b.com> wrote:
> >
> > > Hey, just in case anybody else wants to try it with their formats, here
> > > is a quick note on finding low hanging performance wins for gcc. I've
> > > been using the attached script to benchmark different options, it turns
> > > out
> > ...
> >
> > That's curious. I'll play a little with it. How many of those are there?
> > Ideally I guess you'd want to test combinations of two or more of these
> > too, but that might end up in a truckload of combinations.
>
> Quite a few, and there are also some non-optimiser options that can be
> quite
> beneficial, like -minline-all-stringops (seems like a minor win for
> raw-sha1-ng, but maybe not worth a patch).
>
> >
> > > $ ../run/john --test --format=nt Benchmarking: NT MD4 [128/128 X2
> > > SSE2-16]... DONE Raw:    37253K c/s real, 37253K c/s virtual
> > >
> > > $ bash ~/chooseopts.sh linux-x86-64-native nt2_fmt_plug.c nt | sort -g
> |
> > > tail
> >
> > Not sure if that was just some kind of cosmetic error in your mail but
> > just FYI, NT (source file NT_fmt_plug.c) is one thing, and nt2 (source
> > file nt2_fmt_plug.c) are completely different implementations of the same
> > format. With today's naming the latter would be called nt-ng I suppose.
> >
>
> Oops, yes, I was typing from memory.
>
> Tavis.
>
>
> --
> -------------------------------------
> taviso@...xchg8b.com | pgp encrypted mail preferred
> -------------------------------------------------------
>
>

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.