Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1417104569.63100.23.camel@btw.pki2.com>
Date: Thu, 27 Nov 2014 08:09:29 -0800
From: Dennis Glatting <dg@...2.com>
To: john-users@...ts.openwall.com
Cc: Patrick Proniewski <patpro@...pro.net>
Subject: Re: OpenMP on FreeBSD ?

On Thu, 2014-11-27 at 08:10 +0100, Patrick Proniewski wrote:
> 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?
> 


Compile with GCC5. Clang does not support OpenMP.



> Regards,
> patpro

-- 
Dennis Glatting <dg@...2.com>

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.