Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 6 Jul 2013 19:02:33 -0400
From: Yaniv Sapir <yaniv@...pteva.com>
To: john-dev@...ts.openwall.com
Subject: Re: Parallella: bcrypt

Katja,

One more thing. From my experience it is usually easier to start your
implementation with the host-device communications infrastructure. Get all
the bcrypt stuff out and make your code to do effective host-device
signalling. You can add delays in the process (using CTIMER loops) to see
that the infrastructure is immune to changes in device processing times.
This way, you isolate the layers of the application, solving one problem at
a time.

On Sat, Jul 6, 2013 at 6:23 PM, Yaniv Sapir <yaniv@...pteva.com> wrote:

> Katja,
>
> I think that I see some potential problem(s), but before getting into it,
> can you please attach your build and run commands (scripts?). It is always
> best to attach an SSCCE (
> http://forums.parallella.org/viewtopic.php?f=13&t=387).
>
> { I am sorry if you already sent these previously, if so, I lost track of
> it. }
>
> Yaniv.
>
>
> On Sat, Jul 6, 2013 at 3:50 PM, Katja Malvoni <kmalvoni@...il.com> wrote:
>
>> Hi Yaniv,
>>
>> On Fri, Jul 5, 2013 at 5:59 AM, Yaniv Sapir <yaniv@...pteva.com> wrote:
>>
>>> Katja,
>>>
>>> From a quick glance at the attached *host *program you attached, I
>>> spotted a couple of things that *may* be a problem:
>>>  [...]
>>
>>
>> I tried all your suggestions and changed the code but it still doesn't
>> work and it behaves strange. For example, different runs of program give
>> different results because data is not transferred correctly. But cores that
>> return wrong result are different for every run and it looks like it's
>> random. Also, number of cores with correct result and correct data aren't
>> always equal. There is no difference between busy wait and sleep(1) - same
>> random things happen.
>> I checked *.srec file and nothing is written on addresses I'm using. I'm
>> not succeeding in finding a mistake and I can't figure out what is causing
>> this behaviour.
>> Something like this happens every time I make changes to working
>> implementation and I've tried lot of things to make it work but usually
>> every try fails. What can cause this type of behaviour? Am I very wrong in
>> my approach because this is taking lot of my time and things that are
>> happening don't make much sense?
>>
>> Thank you
>>
>> Katja
>>
>
>
>
> --
> ===========================================================
> Yaniv Sapir
> Adapteva Inc.
> 1666 Massachusetts Ave, Suite 14
> Lexington, MA 02420
> Phone: (781)-328-0513 (x104)
> Email: yaniv@...pteva.com
> Web: www.adapteva.com
> ============================================================
> CONFIDENTIALITY NOTICE: This e-mail may contain information
> that is confidential and proprietary to Adapteva, and Adapteva hereby
> designates the information in this e-mail as confidential. The information
> is
>  intended only for the use of the individual or entity named above. If you
> are
> not the intended recipient, you are hereby notified that any disclosure,
> copying,
> distribution or use of any of the information contained in this
> transmission is
> strictly prohibited and that you should immediately destroy this e-mail
> and its
> contents and notify Adapteva.
> ==============================================================
>
>



-- 
===========================================================
Yaniv Sapir
Adapteva Inc.
1666 Massachusetts Ave, Suite 14
Lexington, MA 02420
Phone: (781)-328-0513 (x104)
Email: yaniv@...pteva.com
Web: www.adapteva.com
============================================================
CONFIDENTIALITY NOTICE: This e-mail may contain information
that is confidential and proprietary to Adapteva, and Adapteva hereby
designates the information in this e-mail as confidential. The information
is
 intended only for the use of the individual or entity named above. If you
are
not the intended recipient, you are hereby notified that any disclosure,
copying,
distribution or use of any of the information contained in this
transmission is
strictly prohibited and that you should immediately destroy this e-mail and
its
contents and notify Adapteva.
==============================================================

Content of type "text/html" skipped

Powered by blists - more mailing lists

Your e-mail address:

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