Hi all,
maybe this has been already discussed some time ago, but I cannot find any
reference to such a discussion: given I have a BSP with the following
pseudo code:
public class MyBSP extends BSP {
public void bsp(BspPeer peer) {
//1
peer.sync();
// 2
peer.sync();
// 3
peer.sync();
}
}
and when I run it locally on a dual core machine, I get the following
output:
14/01/28 10:08:08 INFO bsp.BSPJobClient: Current supersteps number: 2
14/01/28 10:08:08 INFO bsp.BSPJobClient: The total number of supersteps: 2
14/01/28 10:08:08 INFO bsp.BSPJobClient: Counters: 6
14/01/28 10:08:08 INFO bsp.BSPJobClient:
org.apache.hama.bsp.JobInProgress$JobCounter
14/01/28 10:08:08 INFO bsp.BSPJobClient: SUPERSTEPS=2
14/01/28 10:08:08 INFO bsp.BSPJobClient: LAUNCHED_TASKS=2
14/01/28 10:08:08 INFO bsp.BSPJobClient:
org.apache.hama.bsp.BSPPeerImpl$PeerCounter
14/01/28 10:08:08 INFO bsp.BSPJobClient: SUPERSTEP_SUM=6
14/01/28 10:08:08 INFO bsp.BSPJobClient: TIME_IN_SYNC_MS=1
14/01/28 10:08:08 INFO bsp.BSPJobClient: TOTAL_MESSAGES_SENT=...
14/01/28 10:08:08 INFO bsp.BSPJobClient: TOTAL_MESSAGES_RECEIVED=...
I am a bit confused since I have defined 3 supersteps which run on 2 tasks,
so it seems to me SUPERSTEP_SUM is correctly set to 6 while I cannot
understand why the other stats about supersteps show:
- Current supersteps number: 2
- The total number of supersteps: 2
- SUPERSTEPS=2
Can anyone help me clarify what's the exact semantic of them?
I'm running that using trunk in local mode, any clarification would be
appreciated.
Thanks in advance,
Tommaso