Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 19 Mar 2015 20:16:14 +0800
From: Lei Zhang <zhanglei.april@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Xeon Phi

Hi,

I created a jtr_mic_logic.m4 under john/src/m4, and put those special logic for MIC in that file. 
Currently this file is simple as:
------------------------------------------------------------------
AC_DEFUN([JTR_MIC_SPECIAL_LOGIC], [
CPU_BEST_FLAGS="-no-opt-prefetch"
LIBS="-lssl -lcrypto"
])
------------------------------------------------------------------

Although this works, I'm not sure if I should add the flag "-no-opt-prefetch" to CPU_BEST_FLAGS or some other predefined variables.
BTW, by setting LIBS="-lssl -lcrypto" here, I don't have to type them every time I configure for MIC.

Any advices?

Lei

> On Mar 19, 2015, at 1:49 AM, magnum <john.magnum@...hmail.com> wrote:
> 
> On 2015-03-18 11:25, Solar Designer wrote:
>> On Mon, Mar 16, 2015 at 08:58:27AM +0100, magnum wrote:
>>> On 2015-03-16 02:35, Solar Designer wrote:
>>>> magnum, please get this into jumbo as well.
>>> 
>>> Done
>> 
>> [solar@...er bleeding-jumbo]$ fgrep -rl no-opt-prefetch .
>> ./src/Makefile.legacy
>> 
>> This is not quite what I meant. :-)  We need this option to be used by
>> default when building jumbo for MIC in jumbo's native autoconf'ed way.
> 
> Heh, I guess I was a bit short worded.
> 
>> Lei - maybe you'll take care of this?  I think it should be some change
>> to src/configure.ac.  Once implemented properly, you should see descrypt
>> "many salts" speed improve from ~80M to ~85M c/s.
> 
> Right - Lei, that would be great as you're already up to speed. Don't
> hesitate asking if you have any questions or doubts about our autoconf
> "layout".
> 
> magnum
> 

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ