Logo AND Algorithmique Numérique Distribuée

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