Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <93D0BD3E-2863-4C92-99B4-C2E51331F6F7@patpro.net>
Date: Thu, 27 Nov 2014 08:10:08 +0100
From: Patrick Proniewski <patpro@...pro.net>
To: john-users@...ts.openwall.com
Subject: OpenMP on FreeBSD ?

Hello,

I'm trying to install john-1.7.9.jumbo.7 on FreeBSD 9.3-RELEASE amd64. I'm using FreeBSD's port system: 

	# cd /usr/ports/security/john/
	# make OMPFLAGS=-msse2
	# make install

Using make alone won't work, I had to add OMPFLAGS=-msse2 for the compilation to work <https://forums.freebsd.org/threads/cant-compile-security-john-with-openmp.49151/>.

Everything seems to run smoothly, but john does not display any parallelism when I use it with real data or in test mode:

	# OMP_NUM_THREADS=4 john --format=des --test
	Benchmarking: Traditional DES [128/128 BS SSE2-16]... DONE
	Many salts:	4807K c/s real, 4807K c/s virtual
	Only one salt:	4590K c/s real, 4590K c/s virtual

	# OMP_NUM_THREADS=1 john --format=des --test
	Benchmarking: Traditional DES [128/128 BS SSE2-16]... DONE
	Many salts:	4780K c/s real, 4780K c/s virtual
	Only one salt:	4593K c/s real, 4593K c/s virtual

Same commands on Mac OS X using a pre-compiled john-1.7.9.jumbo.7 package will work as expected (x4 perf with OMP_NUM_THREADS=4).

Any idea why the FreeBSD port fails using OpenMP code?

Regards,
patpro

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.