Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 7 Jul 2012 11:18:05 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: RAdmin, SIP speedup

Dhiru, Jim, magnum -

The attached patch implements an equivalent of Dhiru's RAdmin format as
a dynamic format, optimizes a few things in the standalone RAdmin format
(still meaningful due to OpenMP), and fixes the poor performance of the
SIP format in non-OpenMP builds.

Jim - by the way, if I remove the "Func=DynamicFunc__clean_input" line,
I get not only a meaningful error message, but also a segfault.  You
could want to investigate this.

RAdmin speed before changes:

Benchmarking: RAdmin v2.x MD5 [32/64]... DONE
Raw:    3054K c/s real, 3054K c/s virtual

After:

Benchmarking: RAdmin v2.x MD5 [32/64]... DONE
Raw:    3401K c/s real, 3401K c/s virtual

Dynamic is slightly faster:

Benchmarking: dynamic_1010 dynamic_1010: RAdmin v2.x MD5 [32/64 64x2 (MD5_Body)]... DONE
Raw:    3526K c/s real, 3526K c/s virtual

However, RAadmin with OpenMP is faster yet:

Benchmarking: RAdmin v2.x MD5 [32/64]... (8xOMP) DONE
Raw:    10754K c/s real, 1344K c/s virtual

SIP speed before changes:

Benchmarking: SIP MD5 [32/64]... DONE
Raw:    302458 c/s real, 305483 c/s virtual

After:

Benchmarking: SIP MD5 [32/64]... DONE
Raw:    1665K c/s real, 1665K c/s virtual

OpenMP (unchanged with this patch):

Benchmarking: SIP MD5 [32/64]... (8xOMP) DONE
Raw:    9044K c/s real, 1130K c/s virtual

These are on bull.

Of course, there's lots of room for optimization and code cleanups, but
this is not my code and I am only making easy and obvious changes to it.

Alexander

View attachment "john-radmin-sip.diff" of type "text/plain" (6358 bytes)

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.