Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[simgrid.git] / examples / cpp / cloud-simple / s4u-cloud-simple.tesh
1 #!/usr/bin/env tesh
2
3 p Testing a vm with two successive activities
4
5 $ ${bindir:=.}/s4u-cloud-simple --log=no_loc ${platfdir:=.}/small_platform.xml
6 > [Fafard:master_:(1) 0.000000] [s4u_test/INFO] ## Test 1 (started): check computation on normal PMs
7 > [Fafard:master_:(1) 0.000000] [s4u_test/INFO] ### Put an activity on a PM
8 > [Fafard:compute:(2) 0.013107] [s4u_test/INFO] Fafard:compute executed 0.0131068
9 > [Fafard:master_:(1) 2.000000] [s4u_test/INFO] ### Put two activities on a PM
10 > [Fafard:compute:(4) 2.026214] [s4u_test/INFO] Fafard:compute executed 0.0262137
11 > [Fafard:compute:(3) 2.026214] [s4u_test/INFO] Fafard:compute executed 0.0262137
12 > [Fafard:master_:(1) 4.000000] [s4u_test/INFO] ### Put an activity on each PM
13 > [Tremblay:compute:(6) 4.010194] [s4u_test/INFO] Tremblay:compute executed 0.0101942
14 > [Fafard:compute:(5) 4.013107] [s4u_test/INFO] Fafard:compute executed 0.0131068
15 > [Fafard:master_:(1) 6.000000] [s4u_test/INFO] ## Test 1 (ended)
16 > [Fafard:master_:(1) 6.000000] [s4u_test/INFO] ## Test 2 (started): check impact of running an activity inside a VM (there is no degradation for the moment)
17 > [Fafard:master_:(1) 6.000000] [s4u_test/INFO] ### Put a VM on a PM, and put an activity to the VM
18 > [VM0:compute:(7) 6.013107] [s4u_test/INFO] VM0:compute executed 0.0131068
19 > [Fafard:master_:(1) 8.000000] [s4u_test/INFO] ## Test 2 (ended)
20 > [Fafard:master_:(1) 8.000000] [s4u_test/INFO] ## Test 3 (started): check impact of running an activity collocated with a VM (there is no VM noise for the moment)
21 > [Fafard:master_:(1) 8.000000] [s4u_test/INFO] ### Put a VM on a PM, and put an activity to the PM
22 > [Fafard:compute:(8) 8.013107] [s4u_test/INFO] Fafard:compute executed 0.0131068
23 > [Fafard:master_:(1) 10.000000] [s4u_test/INFO] ## Test 3 (ended)
24 > [Fafard:master_:(1) 10.000000] [s4u_test/INFO] ## Test 4 (started): compare the cost of running two activities inside two different VMs collocated or not (for the moment, there is no degradation for the VMs. Hence, the time should be equals to the time of test 1
25 > [Fafard:master_:(1) 10.000000] [s4u_test/INFO] ### Put two VMs on a PM, and put an activity to each VM
26 > [VM0:compute:(9) 10.026214] [s4u_test/INFO] VM0:compute executed 0.0262137
27 > [VM1:compute:(10) 10.026214] [s4u_test/INFO] VM1:compute executed 0.0262137
28 > [Fafard:master_:(1) 12.000000] [s4u_test/INFO] ### Put a VM on each PM, and put an activity to each VM
29 > [VM1:compute:(12) 12.010194] [s4u_test/INFO] VM1:compute executed 0.0101942
30 > [VM0:compute:(11) 12.013107] [s4u_test/INFO] VM0:compute executed 0.0131068
31 > [Fafard:master_:(1) 14.000000] [s4u_test/INFO] ## Test 4 (ended)
32 > [Fafard:master_:(1) 14.000000] [s4u_test/INFO] ## Test 5  (started): Analyse network impact
33 > [Fafard:master_:(1) 14.000000] [s4u_test/INFO] ### Make a connection between PM0 and PM1
34 > [Tremblay:comm_rx:(14) 14.158397] [s4u_test/INFO] Fafard:comm_tx to Tremblay:comm_rx => 0.158397 sec
35 > [Fafard:master_:(1) 19.000000] [s4u_test/INFO] ### Make two connection between PM0 and PM1
36 > [Tremblay:comm_rx:(18) 19.291085] [s4u_test/INFO] Fafard:comm_tx to Tremblay:comm_rx => 0.291085 sec
37 > [Tremblay:comm_rx:(16) 19.291085] [s4u_test/INFO] Fafard:comm_tx to Tremblay:comm_rx => 0.291085 sec
38 > [Fafard:master_:(1) 24.000000] [s4u_test/INFO] ### Make a connection between PM0 and VM0@PM0
39 > [VM0:comm_rx:(20) 24.002265] [s4u_test/INFO] Fafard:comm_tx to VM0:comm_rx => 0.00226529 sec
40 > [Fafard:master_:(1) 29.000000] [s4u_test/INFO] ### Make a connection between PM0 and VM0@PM1
41 > [VM0:comm_rx:(22) 29.158397] [s4u_test/INFO] Fafard:comm_tx to VM0:comm_rx => 0.158397 sec
42 > [Fafard:master_:(1) 34.000000] [s4u_test/INFO] ### Make two connections between PM0 and VM0@PM1
43 > [VM0:comm_rx:(26) 34.291085] [s4u_test/INFO] Fafard:comm_tx to VM0:comm_rx => 0.291085 sec
44 > [VM0:comm_rx:(24) 34.291085] [s4u_test/INFO] Fafard:comm_tx to VM0:comm_rx => 0.291085 sec
45 > [Fafard:master_:(1) 39.000000] [s4u_test/INFO] ### Make a connection between PM0 and VM0@PM1, and also make a connection between PM0 and PM1
46 > [Tremblay:comm_rx:(30) 39.291085] [s4u_test/INFO] Fafard:comm_tx to Tremblay:comm_rx => 0.291085 sec
47 > [VM0:comm_rx:(28) 39.291085] [s4u_test/INFO] Fafard:comm_tx to VM0:comm_rx => 0.291085 sec
48 > [Fafard:master_:(1) 44.000000] [s4u_test/INFO] ### Make a connection between VM0@PM0 and PM1@PM1, and also make a connection between VM0@PM0 and VM1@PM1
49 > [VM1:comm_rx:(34) 44.291085] [s4u_test/INFO] VM0:comm_tx to VM1:comm_rx => 0.291085 sec
50 > [VM1:comm_rx:(32) 44.291085] [s4u_test/INFO] VM0:comm_tx to VM1:comm_rx => 0.291085 sec
51 > [Fafard:master_:(1) 49.000000] [s4u_test/INFO] ## Test 5 (ended)
52 > [Fafard:master_:(1) 49.000000] [s4u_test/INFO] ## Test 6 (started): Check migration impact (not yet implemented neither on the CPU resource nor on the network one
53 > [Fafard:master_:(1) 49.000000] [s4u_test/INFO] ### Relocate VM0 between PM0 and PM1
54 > [Bourassa:comm_rx:(36) 49.204993] [s4u_test/INFO] VM0:comm_tx to Bourassa:comm_rx => 0.204993 sec
55 > [Fafard:master_:(1) 339.199251] [s4u_test/INFO] ## Test 6 (ended)
56 > [339.199251] [s4u_test/INFO] Simulation time 339.199