Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 23 Jun 2012 22:43:41 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Cc: earthquake@...on.hu
Subject: MySQL-fast fixes, OpenMP support

Hi,

We appear to lack a proper license statement for MYSQL_fast_fmt_plug.c.
It is highly desirable to have one added, like this:

http://openwall.info/wiki/john/licensing

The attached patch makes assorted minor fixes to MYSQL_fast_fmt_plug.c,
adds an optimization for processing the first character of each
password, and adds OpenMP support.

Before the patch:

Benchmarking: MySQL [32/64 (label mysql-fast)]... DONE
Raw:    22043K c/s real, 22043K c/s virtual

With the patch:

Benchmarking: MySQL [32/64 (label mysql-fast)]... DONE
Raw:    23044K c/s real, 23044K c/s virtual

OpenMP:

Benchmarking: MySQL [32/64 (label mysql-fast)]... (8xOMP) DONE
Raw:    44098K c/s real, 13405K c/s virtual

Benchmarking: MySQL [32/64 (label mysql-fast)]... (4xOMP) DONE
Raw:    36749K c/s real, 15855K c/s virtual

Benchmarking: MySQL [32/64 (label mysql-fast)]... (2xOMP) DONE
Raw:    28550K c/s real, 18366K c/s virtual

OpenMP build, but forced to 1 thread:

Benchmarking: MySQL [32/64 (label mysql-fast)]... DONE
Raw:    18692K c/s real, 18692K c/s virtual

All of these are on FX-8120.

OpenMP scaling is poor, but it might sometimes be better than nothing
(although using separate processes or MPI will currently work better).

Alexander

View attachment "john-mysql-openmp.diff" of type "text/plain" (8109 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.