jmfaleiro / MessagePassing

0 stars 0 forks source link

We need a way for all nodes to start with the same initial state. #3

Closed jmfaleiro closed 11 years ago

jmfaleiro commented 11 years ago

At the moment, nodes start with empty state. We need a way to reduce unnecessary data movement between nodes because of initialization overhead.

Ideally, we can have a static method exposed by ShMem which is used to assign initial data a zero timestamp so that we avoid shipping it around among nodes.

jmfaleiro commented 11 years ago

Separated ShMem initialization into "Init" and "Start". Anything put into state between calls to Init and State is given a zero timestamp, thus it is not shipped across releases.