Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 8 Jul 2012 23:32:14 +0200
From: Frank Dittrich <>
Subject: Atom: bf P1 asm results (was:Between 1.7.9-jumbo-3 and 1.7.9-jumbo-4
 performance of --format=bf dropped by more than 20%)

On 07/08/2012 11:11 AM, Solar Designer wrote:
> On your Atom, can you try setting BF_ASM 1, BF_X2 0 (the combination
> that you previously determined to be fastest, right?), but also patch
> this line in x86.S:
> 	movl $BF_body_generic,BF_body
> to read:
> 	movl $BF_body_P1,BF_body

This helped as well, but not as much as switching from BF_X2 to BF_ASM did.
I tested this on the 1.7.9-jumbo-6-fixes version.

Without any changes:

$ ./john-1.7.9-jumbo-6-fixes --format=bf --test=10
Benchmarking: OpenBSD Blowfish (x32) [32/32 X2]... DONE
Raw:	169 c/s real, 169 c/s virtual

Switching to ASM:

$ ./john-1.7.9-jumbo-6-fixes-asm --format=bf --test=10
Benchmarking: OpenBSD Blowfish (x32) [32/32]... DONE
Raw:	215 c/s real, 216 c/s virtual

Switching to the P1 ASM version:

$ ./john-1.7.9-jumbo-6-fixes-asm-p1 --format=bf --test=10
Benchmarking: OpenBSD Blowfish (x32) [32/32]... DONE
Raw:	231 c/s real, 232 c/s virtual


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.