Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename the logging channel of java from 'jmsg' to 'java'
[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/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --log=java.thres:verbose
6 > [  0.000000] (0:maestro@) Using regular java threads.
7 > [  0.000000] (0:maestro@) Start 2 hosts
8 > [  0.000000] (1:Master@Boivin) create VM0-s1-0
9 > [  0.000000] (1:Master@Boivin) Put Worker WK:1:0 on VM0-s1-0
10 > [  0.000000] (2:WK:1:0@VM0-s1-0) WK:1:0 is listening on WK:1:0
11 > [  0.000000] (1:Master@Boivin) create VM0-s1-1
12 > [  0.000000] (1:Master@Boivin) Put Worker WK:1:1 on VM0-s1-1
13 > [  0.000000] (3:WK:1:1@VM0-s1-1) WK:1:1 is listening on WK:1:1
14 > [  0.000000] (1:Master@Boivin) Launched 2 VMs
15 > [  0.000000] (1:Master@Boivin) Send a first batch of work to everyone
16 > [  0.000000] (1:Master@Boivin) Sending to WK:1:0
17 > [  0.090194] (2:WK:1:0@VM0-s1-0) Received "Task WK:1:0". Processing it.
18 > [  0.090194] (1:Master@Boivin) Sending to WK:1:1
19 > [  0.090194] (2:WK:1:0@VM0-s1-0) WK:1:0 executed task (Task WK:1:0)
20 > [  0.754233] (3:WK:1:1@VM0-s1-1) Received "Task WK:1:1". Processing it.
21 > [  0.754233] (1:Master@Boivin) Suspend all VMs, wait a while, resume them, migrate them and shut them down.
22 > [  0.754233] (1:Master@Boivin) Suspend VM0-s1-0
23 > [  0.754233] (1:Master@Boivin) Suspend VM0-s1-1
24 > [  0.754233] (1:Master@Boivin) Wait a while
25 > [  2.754233] (1:Master@Boivin) Resume all VMs.
26 > [  2.754233] (1:Master@Boivin) Sleep long enough for everyone to be done with previous batch of work
27 > [  2.754234] (3:WK:1:1@VM0-s1-1) WK:1:1 executed task (Task WK:1:1)
28 > [1000.000000] (1:Master@Boivin) Migrate everyone to Ginette
29 > [1000.000000] (1:Master@Boivin) Migrate VM0-s1-0 from Bourassato Ginette
30 > [1100.157755] (1:Master@Boivin) Migrate VM0-s1-1 from Fafardto Ginette
31 > [1242.754111] (1:Master@Boivin) Let's shut down the simulation and kill everyone.
32 > [1242.754111] (1:Master@Boivin) XXXXXXXXXXXXXXX Step 1 done.
33 > [1242.754111] (0:maestro@) MSG_main finished; Cleaning up the simulation...