Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
refactor: be explicit on what an action's priority is
[simgrid.git] / teshsuite / msg / cloud-sharing / cloud-sharing.tesh
1 #! ./tesh
2
3 $ $SG_TEST_EXENV ${bindir:=.}/cloud-sharing$EXEEXT --log=root.fmt:%m%n ${srcdir:=.}/../../../examples/platforms/cluster_backbone.xml
4 > # TEST ON SINGLE-CORE PMs
5 > ## Test 1 (started): check computation on normal PMs
6 > ### Put a task on a PM
7 > Passed: (X)1 with 1 load (100000000flops) took 0.1s as expected
8 > ### Put two tasks on a PM
9 > Passed: (oX)1 with 0.5 load (50000000flops) took 0.1s as expected
10 > Passed: (Xo)1 with 0.5 load (50000000flops) took 0.1s as expected
11 > ### Put a task on each PM
12 > Passed: (X)1 (o)1 with 1 load (100000000flops) took 0.1s as expected
13 > Passed: (o)1 (X)1 with 1 load (100000000flops) took 0.1s as expected
14 > ## Test 1 (ended)
15 > # TEST ON SINGLE-CORE PMs AND SINGLE-CORE VMs
16 > ## Test 2 (started): check impact of running tasks inside a VM (there is no degradation for the moment)
17 > ### Put a VM on a PM, and put a task to the VM
18 > Passed: ( [X]1 )1 with 1 load (100000000flops) took 0.1s as expected
19 > ### Put a VM on a PM, and put two task to the VM
20 > Passed: ( [oX]1 )1 with 0.5 load (50000000flops) took 0.1s as expected
21 > Passed: ( [Xo]1 )1 with 0.5 load (50000000flops) took 0.1s as expected
22 > ## Test 2 (ended)
23 > ## Test 3 (started): check impact of running tasks collocated with VMs (there is no VM noise for the moment)
24 > ### Put a task on a PM collocated with an empty VM
25 > Passed: ( [ ]1 X )1 with 1 load (100000000flops) took 0.1s as expected
26 > ### Put a VM on a PM, put a task to the PM and a task to the VM
27 > Passed: ( [o]1 X )1 with 0.5 load (50000000flops) took 0.1s as expected
28 > Passed: ( [X]1 o )1 with 0.5 load (50000000flops) took 0.1s as expected
29 > ### Put a VM on a PM, put a task to the PM and two tasks to the VM
30 > Passed: ( [oo]1 X )1 with 0.5 load (50000000flops) took 0.1s as expected
31 > Passed: ( [oX]1 o )1 with 0.25 load (25000000flops) took 0.1s as expected
32 > Passed: ( [Xo]1 o )1 with 0.25 load (25000000flops) took 0.1s as expected
33 > ## Test 3 (ended)
34 > # TEST ON TWO-CORE PMs
35 > ## Test 4 (started): check computation on 2 cores PMs
36 > ### Put a task on a PM
37 > Passed: (X)2 with 1 load (100000000flops) took 0.1s as expected
38 > ### Put two tasks on a PM
39 > Passed: (xX)2 with 1 load (100000000flops) took 0.1s as expected
40 > Passed: (Xx)2 with 1 load (100000000flops) took 0.1s as expected
41 > ### Put three tasks on a PM
42 > Passed: (xxX)2 with 0.6667 load (66666666flops) took 0.1s as expected
43 > Passed: (Xxx)2 with 0.6667 load (66666666flops) took 0.1s as expected
44 > Passed: (xXx)2 with 0.6667 load (66666666flops) took 0.1s as expected
45 > ## Test 4 (ended)
46 > # TEST ON TWO-CORE PMs AND SINGLE-CORE VMs
47 > ## Test 5 (started): check impact of a single VM (there is no degradation for the moment)
48 > ### Put a VM on a PM, and put a task to the VM
49 > Passed: ( [X]1 )2 with 1 load (100000000flops) took 0.1s as expected
50 > ### Put a VM on a PM, and put two tasks to the VM
51 > Passed: ( [xX]1 )2 with 0.5 load (50000000flops) took 0.1s as expected
52 > Passed: ( [Xx]1 )2 with 0.5 load (50000000flops) took 0.1s as expected
53 > ### Put a VM on a PM, and put a task to the PM
54 > Passed: ( [ ]1 X )2 with 1 load (100000000flops) took 0.1s as expected
55 > ### Put a VM on a PM, put a task to the PM and a task to the VM
56 > Passed: ( [x]1 X )2 with 1 load (100000000flops) took 0.1s as expected
57 > Passed: ( [X]1 x )2 with 1 load (100000000flops) took 0.1s as expected
58 > ## Test 5 (ended)
59 > ## Test 6 (started): check impact of a several VMs (there is no degradation for the moment)
60 > ### Put two VMs on a PM, and put a task to one VM
61 > Passed: ( [X]1 [ ]1 )2 with 1 load (100000000flops) took 0.1s as expected
62 > ### Put two VMs on a PM, and put a task to each VM
63 > Passed: ( [X]1 [x]1 )2 with 1 load (100000000flops) took 0.1s as expected
64 > Passed: ( [x]1 [X]1 )2 with 1 load (100000000flops) took 0.1s as expected
65 > ### Put three VMs on a PM, and put a task to two VMs
66 > Passed: ( [X]1 [x]1 [ ]1 )2 with 1 load (100000000flops) took 0.1s as expected
67 > Passed: ( [x]1 [X]1 [ ]1 )2 with 1 load (100000000flops) took 0.1s as expected
68 > ### Put three VMs on a PM, and put a task to each VM
69 > Passed: ( [X]1 [o]1 [o]1 )2 with 0.6667 load (66666666flops) took 0.1s as expected
70 > Passed: ( [o]1 [o]1 [X]1 )2 with 0.6667 load (66666666flops) took 0.1s as expected
71 > Passed: ( [o]1 [X]1 [o]1 )2 with 0.6667 load (66666666flops) took 0.1s as expected
72 > ## Test 6 (ended)
73 > # TEST ON TWO-CORE PMs AND TWO-CORE VMs
74 > ## Test 7 (started): check impact of a single VM (there is no degradation for the moment)
75 > ### Put a VM on a PM, and put a task to the VM
76 > Passed: ( [X]2 )2 with 1 load (100000000flops) took 0.1s as expected
77 > ### Put a VM on a PM, and put two tasks to the VM
78 > Passed: ( [oX]2 )2 with 1 load (100000000flops) took 0.1s as expected
79 > Passed: ( [Xo]2 )2 with 1 load (100000000flops) took 0.1s as expected
80 > ### Put a VM on a PM, and put three tasks to the VM
81 > Passed: ( [ooX]2 )2 with 0.6667 load (66666666flops) took 0.1s as expected
82 > Passed: ( [Xoo]2 )2 with 0.6667 load (66666666flops) took 0.1s as expected
83 > Passed: ( [oXo]2 )2 with 0.6667 load (66666666flops) took 0.1s as expected
84 > ## Test 7 (ended)
85 > ## Test 8 (started): check impact of a single VM collocated with a task (there is no degradation for the moment)
86 > ### Put a VM on a PM, and put a task to the PM
87 > Passed: ( [ ]2 X )2 with 1 load (100000000flops) took 0.1s as expected
88 > ### Put a VM on a PM, put one task to the PM and one task to the VM
89 > Passed: ( [o]2 X )2 with 1 load (100000000flops) took 0.1s as expected
90 > Passed: ( [X]2 o )2 with 1 load (100000000flops) took 0.1s as expected
91 > ### Put a VM on a PM, put one task to the PM and two tasks to the VM
92 > Passed: ( [oo]2 X )2 with 0.6667 load (66666666flops) took 0.1s as expected
93 > Passed: ( [oX]2 o )2 with 0.6667 load (66666666flops) took 0.1s as expected
94 > Passed: ( [Xo]2 o )2 with 0.6667 load (66666666flops) took 0.1s as expected
95 > ### Put a VM on a PM, put one task to the PM and three tasks to the VM
96 > Passed: ( [ooo]2 X )2 with 0.6667 load (66666666flops) took 0.1s as expected
97 > Passed: ( [ooX]2 o )2 with 0.2222 load (22222222flops) took 0.1s as expected
98 > Passed: ( [Xoo]2 o )2 with 0.2222 load (22222222flops) took 0.1s as expected
99 > Passed: ( [oXo]2 o )2 with 0.2222 load (22222222flops) took 0.1s as expected
100 > ### Put a VM on a PM, and put two tasks to the PM
101 > Passed: ( [ ]2 oX )2 with 1 load (100000000flops) took 0.1s as expected
102 > Passed: ( [ ]2 Xo )2 with 1 load (100000000flops) took 0.1s as expected
103 > ### Put a VM on a PM, put one task to the PM and one task to the VM
104 > Passed: ( [o]2 Xo )2 with 0.6667 load (66666666flops) took 0.1s as expected
105 > Passed: ( [o]2 oX )2 with 0.6667 load (66666666flops) took 0.1s as expected
106 > Passed: ( [X]2 oo )2 with 0.6667 load (66666666flops) took 0.1s as expected
107 > ### Put a VM on a PM, put one task to the PM and two tasks to the VM
108 > Passed: ( [oo]2 Xo )2 with 0.5 load (50000000flops) took 0.1s as expected
109 > Passed: ( [oo]2 oX )2 with 0.5 load (50000000flops) took 0.1s as expected
110 > Passed: ( [oX]2 oo )2 with 0.5 load (50000000flops) took 0.1s as expected
111 > Passed: ( [Xo]2 oo )2 with 0.5 load (50000000flops) took 0.1s as expected
112 > ### Put a VM on a PM, put one task to the PM and three tasks to the VM
113 > Passed: ( [ooo]2 Xo )2 with 0.5 load (50000000flops) took 0.1s as expected
114 > Passed: ( [ooo]2 oX )2 with 0.5 load (50000000flops) took 0.1s as expected
115 > Passed: ( [ooX]2 oo )2 with 0.3333 load (33333333flops) took 0.1s as expected
116 > Passed: ( [Xoo]2 oo )2 with 0.3333 load (33333333flops) took 0.1s as expected
117 > Passed: ( [oXo]2 oo )2 with 0.3333 load (33333333flops) took 0.1s as expected
118 > ## Test 8 (ended)
119 > # TEST ON FOUR-CORE PMs AND TWO-CORE VMs
120 > ## Test 9 (started): check impact of a single VM
121 > ### Put a VM on a PM, and put a task to the VM
122 > Passed: ( [X]2 )4 with 1 load (100000000flops) took 0.1s as expected
123 > ### Put a VM on a PM, and put two tasks to the VM
124 > Passed: ( [oX]2 )4 with 1 load (100000000flops) took 0.1s as expected
125 > Passed: ( [Xo]2 )4 with 1 load (100000000flops) took 0.1s as expected
126 > ### ( [ooo]2 )4: Put a VM on a PM, and put three tasks to the VM
127 > Passed: ( [ooX]2 )4 with 0.6667 load (66666666flops) took 0.1s as expected
128 > Passed: ( [Xoo]2 )4 with 0.6667 load (66666666flops) took 0.1s as expected
129 > Passed: ( [oXo]2 )4 with 0.6667 load (66666666flops) took 0.1s as expected
130 > ## Test 9 (ended)
131 > ## Test 10 (started): check impact of a single emtpy VM collocated with tasks
132 > ### Put a VM on a PM, and put a task to the PM
133 > Passed: ( [ ]2 X )4 with 1 load (100000000flops) took 0.1s as expected
134 > ### Put a VM on a PM, and put two tasks to the PM
135 > Passed: ( [ ]2 oX )4 with 1 load (100000000flops) took 0.1s as expected
136 > Passed: ( [ ]2 Xo )4 with 1 load (100000000flops) took 0.1s as expected
137 > ### Put a VM on a PM, and put three tasks to the PM
138 > Passed: ( [ ]2 ooX )4 with 1 load (100000000flops) took 0.1s as expected
139 > Passed: ( [ ]2 Xoo )4 with 1 load (100000000flops) took 0.1s as expected
140 > Passed: ( [ ]2 oXo )4 with 1 load (100000000flops) took 0.1s as expected
141 > ### Put a VM on a PM, and put four tasks to the PM
142 > Passed: ( [ ]2 oooX )4 with 1 load (100000000flops) took 0.1s as expected
143 > Passed: ( [ ]2 ooXo )4 with 1 load (100000000flops) took 0.1s as expected
144 > Passed: ( [ ]2 oXoo )4 with 1 load (100000000flops) took 0.1s as expected
145 > Passed: ( [ ]2 Xooo )4 with 1 load (100000000flops) took 0.1s as expected
146 > ## Test 10 (ended)
147 > ## Test 11 (started): check impact of a single working VM collocated with tasks
148 > ### Put a VM on a PM, and put one task to the PM and one task to the VM
149 > Passed: ( [o]2 X )4 with 1 load (100000000flops) took 0.1s as expected
150 > Passed: ( [X]2 o )4 with 1 load (100000000flops) took 0.1s as expected
151 > ### Put a VM on a PM, and put two tasks to the PM and one task to the VM
152 > Passed: ( [o]2 Xo )4 with 1 load (100000000flops) took 0.1s as expected
153 > Passed: ( [o]2 oX )4 with 1 load (100000000flops) took 0.1s as expected
154 > Passed: ( [X]2 oo )4 with 1 load (100000000flops) took 0.1s as expected
155 > ### Put a VM on a PM, and put two tasks to the PM and two tasks to the VM
156 > Passed: ( [oo]2 Xo )4 with 1 load (100000000flops) took 0.1s as expected
157 > Passed: ( [oo]2 oX )4 with 1 load (100000000flops) took 0.1s as expected
158 > Passed: ( [oX]2 oo )4 with 1 load (100000000flops) took 0.1s as expected
159 > Passed: ( [Xo]2 oo )4 with 1 load (100000000flops) took 0.1s as expected
160 > ### Put a VM on a PM, and put three tasks to the PM and one tasks to the VM
161 > Passed: ( [o]2 ooX )4 with 1 load (100000000flops) took 0.1s as expected
162 > Passed: ( [o]2 Xoo )4 with 1 load (100000000flops) took 0.1s as expected
163 > Passed: ( [o]2 oXo )4 with 1 load (100000000flops) took 0.1s as expected
164 > Passed: ( [X]2 ooo )4 with 1 load (100000000flops) took 0.1s as expected
165 > ### Put a VM on a PM, and put three tasks to the PM and two tasks to the VM
166 > Passed: ( [oo]2 ooX )4 with 0.8 load (80000000flops) took 0.1s as expected
167 > Passed: ( [oo]2 Xoo )4 with 0.8 load (80000000flops) took 0.1s as expected
168 > Passed: ( [oo]2 oXo )4 with 0.8 load (80000000flops) took 0.1s as expected
169 > Passed: ( [oX]2 ooo )4 with 0.8 load (80000000flops) took 0.1s as expected
170 > Passed: ( [Xo]2 ooo )4 with 0.8 load (80000000flops) took 0.1s as expected
171 > ### Put a VM on a PM, and put three tasks to the PM and three tasks to the VM
172 > Passed: ( [ooo]2 ooX )4 with 0.8 load (80000000flops) took 0.1s as expected
173 > Passed: ( [ooo]2 Xoo )4 with 0.8 load (80000000flops) took 0.1s as expected
174 > Passed: ( [ooo]2 oXo )4 with 0.8 load (80000000flops) took 0.1s as expected
175 > Passed: ( [ooX]2 ooo )4 with 0.3333 load (33333333flops) took 0.1s as expected
176 > Passed: ( [Xoo]2 ooo )4 with 0.3333 load (33333333flops) took 0.1s as expected
177 > Passed: ( [oXo]2 ooo )4 with 0.3333 load (33333333flops) took 0.1s as expected
178 > ## Test 11 (ended)
179
180
181 > ## 15 test failed