distributed-process icon indicating copy to clipboard operation
distributed-process copied to clipboard

[DP-76] local inter-process communication doesn't need to go via the NC channel

Open qnikst opened this issue 10 years ago • 6 comments

[Imported from JIRA, posted by @hyperthunk Tim Watson at 26/Apr/13 7:16 PM as DP-76]

Some initial investigation suggests that this doesn't have much effect on message passing efficiency though. I'm not totally surprised, and I suspect any micro-benchmarks we come up with will vary considerably between applications. Hmph.

qnikst avatar Jun 17 '15 18:06 qnikst

On the other hand taking NC away from local communication removes a number of possible errors with NC lock or bottoms in values that are sent.

qnikst avatar Jun 19 '15 15:06 qnikst

I don't follow that argument. Maybe an example is in order.

facundominguez avatar Jun 19 '15 15:06 facundominguez

Mine? If NC is not used in local communication then unsafe send of message that will evaluate to error will not break NC.

qnikst avatar Jun 19 '15 15:06 qnikst

@qnikst That's not a good argument I think - more behaviour special cases is a bad thing, not a good thing.

mboes avatar Jun 19 '15 19:06 mboes

Agree.

qnikst avatar Jun 19 '15 19:06 qnikst

Yes, I agree too. The purpose of skipping the NC was to reduce latency, and avoid bottlenecks in the NC thread. I think we can probably leave this as an open question for now, as nobody is yet screaming at us to speed up intra-node comms.

hyperthunk avatar Oct 07 '15 14:10 hyperthunk