Hello Claudio,

Thank you for your prompt answer!
So, vertices that belong to the same worker thread do not require access to the 
network in order to exchange messages.
However, what about different worker threads that reside on different cores of 
the same node?

Cheers,
Alexandros

________________________________
From: Claudio Martella [claudio.marte...@gmail.com]
Sent: Monday, February 04, 2013 6:19 PM
To: user@giraph.apache.org
Subject: Re: Inter- and intra-node message passing

Hi Alexandros,

if two vertices are on the same worker, the message does not pass through the 
network but it is put directly in the mailbox of the destination vertex.

Cheers,
Claudio


On Mon, Feb 4, 2013 at 6:03 PM, Alexandros Daglis 
<alexandros.dag...@epfl.ch<mailto:alexandros.dag...@epfl.ch>> wrote:
[X]
Hello everybody,

I was wondering about the message-passing protocol: is there a difference if 
two communicating threads are on the same node, as opposed to being on 
different ones? Is communication achieved through memory whenever the threads 
are local to the node, or does it always default to the network?

I tried answering that question by going through the code, but I haven't seen 
any high-level difference in handling those two different cases. I would 
appreciate if someone could give me a hint on that.

Thank you in advance.
Alexandros



--
   Claudio Martella
   claudio.marte...@gmail.com<mailto:claudio.marte...@gmail.com>

Reply via email to