[viff-devel] Confusing behaviour?
Janus Dam Nielsen
janus.nielsen at alexandra.dk
Mon Mar 23 07:50:51 PDT 2009
I have experienced the same problem/issue.
--
Janus Dam Nielsen
R&D Scientist
Alexandra Instituttet
janus.nielsen at alexandra.dk
On 23/03/2009, at 15.42, Thomas P Jakobsen wrote:
> Hi all,
>
> When I execute the attached VIFF protocol on three servers I would
> expect all three to ask me to press enter. When all three servers have
> done that, I would expect the computation of c to start and that the
> servers will eventually finish.
>
> I've run the protocol several times on Linux and Windows. What
> happens is this:
>
> Sometimes it works out as expected, but at other times only two of the
> servers will ask the user to press enter. In some cases, the third
> server will ask its user to press enter as soon as one of the two
> other servers presses enter. At other times, the third server will
> first wake up and ask its user to press enter when both of the two
> first servers have pressed enter.
>
> I find this behaviour confusing (..twisted?) and wonder whether it is
> a bug or a feature? If it's a bug, could it be related to the issue
> discussed in the thread "Mystery of the quadratic running time
> solved?". I must admit that I haven't followed that thread in
> detail...
>
> By the way, the same thing seem sto happen if the protocol, insted of
> asking the user to press enter, does some local computations like
> quering a database, sleeping, computing primes or the like. Sometimes,
> one of the servers will sit still until one or both of the other
> servers have finished their local jobs. This was how I initially
> stumbled across the problem.
>
> Best regards,
> Thomas
> <example.py>_______________________________________________
> viff-devel mailing list (http://viff.dk/)
> viff-devel at viff.dk
> http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk
More information about the viff-devel
mailing list