Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <4AC5EA5D-D6E5-409B-A10C-2B639586D886@erols.com>
Date: Sun, 9 May 2010 12:49:01 -0400
From: Erik Winkler <ewinkler@...ls.com>
To: john-users@...ts.openwall.com
Subject: Re: OpenMP

Alexander,

On May 9, 2010, at 8:21 AM, Solar Designer wrote:
> 
> Can you check what libraries the resulting "john" binary is linked
> against and what directories those are in?  On Linux, I am getting:
> 

For MacOSX, the command is Otool -L,

$ Otool -L john
john:
	/usr/local/lib/libgomp.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.1)

> To see how efficient this build is, you need to compare the 1211 c/s
> figure vs. combined c/s rate for two separate "john" processes built
> without OpenMP (JtR 1.7.5 without any patch).  You'd need to run those
> two simultaneously, with a script like:
> 
> ./john -te -fo=bf &
> ./john -te -fo=bf &
> 
> 
Here is what I get when running the non-OpenMP john on both cores:

Benchmarking: OpenBSD Blowfish (x32) [32/64 X2]... 
Benchmarking: OpenBSD Blowfish (x32) [32/64 X2]... 

DONE
Raw:	599 c/s real, 615 c/s virtual

DONE
Raw:	606 c/s real, 617 c/s virtual

I did note the following compile error when compiling SSE2 version:

gcc -c -Wall -O2 -fomit-frame-pointer -fopenmp -m32 -funroll-loops BF_std.c
BF_std.c: In function ‘BF_std_crypt’:
BF_std.c:687: error: ‘BF_body’ not specified in enclosing parallel
BF_std.c:607: error: enclosing parallel
make[1]: *** [BF_std.o] Error 1
make: *** [macosx-x86-sse2] Error 2


Erik


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.