Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3817d989173f684d023ec04e3bad71ae@smtp.hushmail.com>
Date: Mon, 7 Sep 2015 09:31:27 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: SIMD_PARA_SHA256

On 2015-09-06 21:59, Solar Designer wrote:
> We should increase SIMD_PARA_SHA256 from 1 to 2 at least for XOP builds.

magnum@...l:src [bleeding-jumbo]$ ./testparas.pl
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
This will take a while.
Initial configure...
Initial build...
(...)
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
John the Ripper 1.8.0.6-jumbo-1-999-gcc5ae47 OMP [linux-gnu 64-bit XOP-ac]

hash\para  |       1  |       2  |       3  |       4  |       5  |
-----------|----------|----------|----------|----------|----------|
md4        |   18648  |   34096  |   35136  |   35072  | **38140**|
md4-omp    |  103072  |**171904**|  162344  |  155776  |  152000  |
md5        |   13452  |   25320  |   24744  |   25936  | **27560**|
md5-omp    |   74272  |**125184**|  111936  |  106496  |  103360  |
sha1       |   10808  | **16752**|   15456  |   14848  |   12780  |
sha1-omp   | **56928**|   54144  |   47808  |   45056  |   42240  |
sha256     |    3736  |  **7104**|    6444  |    3968  |    1722  |
sha256-omp |   20736  | **25984**|   23424  |   17280  |    9254  |
sha512     |    3044  |  **3212**|    2850  |     982  |     683  |
sha512-omp | **11264**|   10784  |    9504  |    4992  |    3722  |

$ ../run/john --list=build-info | grep interleaving
SIMD: XOP, interleaving: MD4:2 MD5:2 SHA1:1 SHA256:1 SHA512:1

Perhaps we should do so for SHA-1 too if built without OpenMP (unless 
that is already the case).

> I didn't test this on other machines (nor without XOP).

Should we consider bull representative for XOP? Do you have some gcc-4.9 
for bull already built that we could try too?

I'll do some new AVX and AVX2 tests.

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.