Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 05 Dec 2011 23:29:45 +0100
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: 2 changes to dynamic format

2011-12-05 21:13, jfoug wrote:
>> On my machine, these changes made dynamic_fmt as fast as the "thick"
>> experimental raw-md5 (benchmark still 3% slower but real world speed is
>> same) so I think my "mission" is completed and we could ditch
>> raw-md5thick again, or move it to unused/.
> 
> I think we keep the raw-md5thick for now. It is still quite a bit faster on my 32 bit builds, so is a decent test bed.  
> 
> Also, I have used it some to find some optimizations, such as merging mmx-md5.S and intrisics.S code, so it is the same (inside the formats).  We can for the 'official' release, put this file into unused, and if people want to use it for testing, they simply need to copy that file into src (I would be one doing that for 'now').

Sure, we can keep it. It's pretty clean for using as a template.

>> Another stunt double is "NT2". This format is very interesting for
>> benchmarking MD4 intrinsics against the old NT format, but it currently
>> is a little slower on most builds (a lot slower on some). The
>> problem is it will load "before" the normal NT format because of
>> filename sort order. So maybe that one too should go to unused/ to avoid
>> some end-user confusion. Another possibility is to rename it to
>> something like "x-nt_fmt_plug.c" (x for experimental) so it will come
>> last in auto load order.
> 
> I like the x-*_fmt_plug.c naming, as long as it does not clash with any algorithm name.  You are not guaranteed to have this format 'last', but it will be pretty darn close to the bottom of the plugin format 'group'.

We do have existing formats where x stands for OSX. We could also just
rename (the filename of) NT2 to lower case, this will put it at lower
precedence than NT. Maybe that's better.

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.