Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
[simgrid.git] / examples / java / cloud / masterworker / cloud_masterworker.tesh
1 #! tesh
2
3 ! output sort 19
4
5 $ java -classpath ${classpath:=.} cloud/masterworker/Main ${srcdir:=.}/../platforms/platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
6 > [  0.000000] (0:maestro@) Using regular java threads.
7 > [  0.000000] (0:maestro@) Start2  hosts
8 > [  0.000000] (1:Master@Jacquelin) create VM00
9 > [  0.000000] (1:Master@Jacquelin) Put Worker WRK00 on VM00
10 > [  0.000000] (1:Master@Jacquelin) create VM01
11 > [  0.000000] (1:Master@Jacquelin) Put Worker WRK01 on VM01
12 > [  0.000000] (1:Master@Jacquelin) Launched 2 VMs
13 > [  0.000000] (1:Master@Jacquelin) Send a first batch of work to everyone
14 > [  0.000000] (1:Master@Jacquelin) Sending to WRK00
15 > [  0.000000] (2:WRK00@VM00) WRK00 is listenning on MBOX:WRK00
16 > [  0.000000] (3:WRK01@VM01) WRK01 is listenning on MBOX:WRK01
17 > [  0.918721] (1:Master@Jacquelin) Sending to WRK01
18 > [  0.918721] (2:WRK00@VM00) Received "Task00". Processing it.
19 > [  0.918721] (2:WRK00@VM00) WRK00 executed task (Task00)
20 > [  2.798398] (1:Master@Jacquelin) Suspend all VMs
21 > [  2.798398] (1:Master@Jacquelin) Suspend VM00
22 > [  2.798398] (1:Master@Jacquelin) Suspend VM01
23 > [  2.798398] (1:Master@Jacquelin) Wait a while
24 > [  2.798398] (3:WRK01@VM01) Received "Task01". Processing it.
25 > [  4.798398] (1:Master@Jacquelin) Resume all VMs.
26 > [  4.798398] (1:Master@Jacquelin) Sleep long enough for everyone to be done with previous batch of work
27 > [  4.798398] (3:WRK01@VM01) WRK01 executed task (Task01)
28 > [1000.000000] (1:Master@Jacquelin) Migrate everyone to Fernand
29 > [1000.000000] (1:Master@Jacquelin) Migrate VM00fromIntelto Fernand
30 > [3467.577368] (1:Master@Jacquelin) Migrate VM01fromProvostto Fernand
31 > [5931.433875] (0:maestro@) MSG_main finished; Cleaning up the simulation...
32 > [5931.433875] (1:Master@Jacquelin) Let's shut down the simulation and kill everyone.
33 > [5931.433875] (1:Master@Jacquelin) Master done.