Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Replace xbt_heap with boost::heap for surf actions.
[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 > ## Check computation on regular PMs
6 > ### Test '(o)1'. A task on a regular PM
7 > Passed: (X)1 with 1 load (100000000flops) took 0.1s as expected
8 > ### Test '(oo)1'. 2 tasks on a regular 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 > ### Test '(o)1 (o)1'. 2 regular PMs, with a task each.
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 ON SINGLE-CORE PMs AND SINGLE-CORE VMs
15 > ## Check the impact of running tasks inside a VM (no degradation for the moment)
16 > ### Test '( [o]1 )1'. A task in a VM on a PM.
17 > Passed: ( [X]1 )1 with 1 load (100000000flops) took 0.1s as expected
18 > ### Test '( [oo]1 )1'. 2 tasks co-located in a VM on a PM.
19 > Passed: ( [oX]1 )1 with 0.5 load (50000000flops) took 0.1s as expected
20 > Passed: ( [Xo]1 )1 with 0.5 load (50000000flops) took 0.1s as expected
21 > ## Check impact of running tasks collocated with VMs (no VM noise for the moment)
22 > ### Test '( [ ]1 o )1'. 1 task collocated with an empty VM
23 > Passed: ( [ ]1 X )1 with 1 load (100000000flops) took 0.1s as expected
24 > ### Test '( [o]1 o )1'. A task in a VM, plus a task
25 > Passed: ( [o]1 X )1 with 0.5 load (50000000flops) took 0.1s as expected
26 > Passed: ( [X]1 o )1 with 0.5 load (50000000flops) took 0.1s as expected
27 > ### Test '( [oo]1 o )1'. 2 tasks in a VM, plus a task
28 > Passed: ( [oo]1 X )1 with 0.5 load (50000000flops) took 0.1s as expected
29 > Passed: ( [oX]1 o )1 with 0.25 load (25000000flops) took 0.1s as expected
30 > Passed: ( [Xo]1 o )1 with 0.25 load (25000000flops) took 0.1s as expected
31 > # TEST ON TWO-CORE PMs
32 > ## Check computation on 2 cores PMs
33 > ### Test '( o )2'. A task on bicore PM
34 > Passed: (X)2 with 1 load (100000000flops) took 0.1s as expected
35 > ### Test '( oo )2'. 2 tasks on a bicore PM
36 > Passed: (xX)2 with 1 load (100000000flops) took 0.1s as expected
37 > Passed: (Xx)2 with 1 load (100000000flops) took 0.1s as expected
38 > ### Test '( ooo )2'. 3 tasks on a bicore PM
39 > Passed: (xxX)2 with 0.6667 load (66666666flops) took 0.1s as expected
40 > Passed: (Xxx)2 with 0.6667 load (66666666flops) took 0.1s as expected
41 > Passed: (xXx)2 with 0.6667 load (66666666flops) took 0.1s as expected
42 > # TEST ON TWO-CORE PMs AND SINGLE-CORE VMs
43 > ## Check impact of a single VM (no degradation for the moment)
44 > ### Test '( [o]1 )2'. A task in a VM on a bicore PM
45 > Passed: ( [X]1 )2 with 1 load (100000000flops) took 0.1s as expected
46 > ### Test '( [oo]1 )2'. 2 tasks in a VM on a bicore PM
47 > Passed: ( [xX]1 )2 with 0.5 load (50000000flops) took 0.1s as expected
48 > Passed: ( [Xx]1 )2 with 0.5 load (50000000flops) took 0.1s as expected
49 > ### Put a VM on a PM, and put a task to the PM
50 > Passed: ( [ ]1 X )2 with 1 load (100000000flops) took 0.1s as expected
51 > ### Put a VM on a PM, put a task to the PM and a task to the VM
52 > Passed: ( [x]1 X )2 with 1 load (100000000flops) took 0.1s as expected
53 > Passed: ( [X]1 x )2 with 1 load (100000000flops) took 0.1s as expected
54 > ## Check impact of a several VMs (there is no degradation for the moment)
55 > ### Put two VMs on a PM, and put a task to one VM
56 > Passed: ( [X]1 [ ]1 )2 with 1 load (100000000flops) took 0.1s as expected
57 > ### Put two VMs on a PM, and put a task to each VM
58 > Passed: ( [X]1 [x]1 )2 with 1 load (100000000flops) took 0.1s as expected
59 > Passed: ( [x]1 [X]1 )2 with 1 load (100000000flops) took 0.1s as expected
60 > ### Put three VMs on a PM, and put a task to two VMs
61 > Passed: ( [X]1 [x]1 [ ]1 )2 with 1 load (100000000flops) took 0.1s as expected
62 > Passed: ( [x]1 [X]1 [ ]1 )2 with 1 load (100000000flops) took 0.1s as expected
63 > ### Put three VMs on a PM, and put a task to each VM
64 > Passed: ( [X]1 [o]1 [o]1 )2 with 0.6667 load (66666666flops) took 0.1s as expected
65 > Passed: ( [o]1 [o]1 [X]1 )2 with 0.6667 load (66666666flops) took 0.1s as expected
66 > Passed: ( [o]1 [X]1 [o]1 )2 with 0.6667 load (66666666flops) took 0.1s as expected
67 > # TEST ON TWO-CORE PMs AND TWO-CORE VMs
68 > ## Check impact of a single VM (there is no degradation for the moment)
69 > ### Put a VM on a PM, and put a task to the VM
70 > Passed: ( [X]2 )2 with 1 load (100000000flops) took 0.1s as expected
71 > ### Put a VM on a PM, and put two tasks to the VM
72 > Passed: ( [oX]2 )2 with 1 load (100000000flops) took 0.1s as expected
73 > Passed: ( [Xo]2 )2 with 1 load (100000000flops) took 0.1s as expected
74 > ### Put a VM on a PM, and put three tasks to the VM
75 > Passed: ( [ooX]2 )2 with 0.6667 load (66666666flops) took 0.1s as expected
76 > Passed: ( [Xoo]2 )2 with 0.6667 load (66666666flops) took 0.1s as expected
77 > Passed: ( [oXo]2 )2 with 0.6667 load (66666666flops) took 0.1s as expected
78 > ## Check impact of a single VM collocated with a task (there is no degradation for the moment)
79 > ### Put a VM on a PM, and put a task to the PM
80 > Passed: ( [ ]2 X )2 with 1 load (100000000flops) took 0.1s as expected
81 > ### Put a VM on a PM, put one task to the PM and one task to the VM
82 > Passed: ( [o]2 X )2 with 1 load (100000000flops) took 0.1s as expected
83 > Passed: ( [X]2 o )2 with 1 load (100000000flops) took 0.1s as expected
84 > ### Put a VM on a PM, put one task to the PM and two tasks to the VM
85 > Passed: ( [oo]2 X )2 with 0.6667 load (66666666flops) took 0.1s as expected
86 > Passed: ( [oX]2 o )2 with 0.6667 load (66666666flops) took 0.1s as expected
87 > Passed: ( [Xo]2 o )2 with 0.6667 load (66666666flops) took 0.1s as expected
88 > ### Put a VM on a PM, put one task to the PM and three tasks to the VM
89 > Passed: ( [ooo]2 X )2 with 0.6667 load (66666666flops) took 0.1s as expected
90 > Passed: ( [ooX]2 o )2 with 0.4444 load (44444444flops) took 0.1s as expected
91 > Passed: ( [Xoo]2 o )2 with 0.4444 load (44444444flops) took 0.1s as expected
92 > Passed: ( [oXo]2 o )2 with 0.4444 load (44444444flops) took 0.1s as expected
93 > ### Put a VM on a PM, and put two tasks to the PM
94 > Passed: ( [ ]2 oX )2 with 1 load (100000000flops) took 0.1s as expected
95 > Passed: ( [ ]2 Xo )2 with 1 load (100000000flops) took 0.1s as expected
96 > ### Put a VM on a PM, put one task to the PM and one task to the VM
97 > Passed: ( [o]2 Xo )2 with 0.6667 load (66666666flops) took 0.1s as expected
98 > Passed: ( [o]2 oX )2 with 0.6667 load (66666666flops) took 0.1s as expected
99 > Passed: ( [X]2 oo )2 with 0.6667 load (66666666flops) took 0.1s as expected
100 > ### Put a VM on a PM, put one task to the PM and two tasks to the VM
101 > Passed: ( [oo]2 Xo )2 with 0.5 load (50000000flops) took 0.1s as expected
102 > Passed: ( [oo]2 oX )2 with 0.5 load (50000000flops) took 0.1s as expected
103 > Passed: ( [oX]2 oo )2 with 0.5 load (50000000flops) took 0.1s as expected
104 > Passed: ( [Xo]2 oo )2 with 0.5 load (50000000flops) took 0.1s as expected
105 > ### Put a VM on a PM, put one task to the PM and three tasks to the VM
106 > Passed: ( [ooo]2 Xo )2 with 0.5 load (50000000flops) took 0.1s as expected
107 > Passed: ( [ooo]2 oX )2 with 0.5 load (50000000flops) took 0.1s as expected
108 > Passed: ( [ooX]2 oo )2 with 0.3333 load (33333333flops) took 0.1s as expected
109 > Passed: ( [Xoo]2 oo )2 with 0.3333 load (33333333flops) took 0.1s as expected
110 > Passed: ( [oXo]2 oo )2 with 0.3333 load (33333333flops) took 0.1s as expected
111 > # TEST ON FOUR-CORE PMs AND TWO-CORE VMs
112 > ## Check impact of a single VM
113 > ### Put a VM on a PM, and put a task to the VM
114 > Passed: ( [X]2 )4 with 1 load (100000000flops) took 0.1s as expected
115 > ### Put a VM on a PM, and put two tasks to the VM
116 > Passed: ( [oX]2 )4 with 1 load (100000000flops) took 0.1s as expected
117 > Passed: ( [Xo]2 )4 with 1 load (100000000flops) took 0.1s as expected
118 > ### ( [ooo]2 )4: Put a VM on a PM, and put three tasks to the VM
119 > Passed: ( [ooX]2 )4 with 0.6667 load (66666666flops) took 0.1s as expected
120 > Passed: ( [Xoo]2 )4 with 0.6667 load (66666666flops) took 0.1s as expected
121 > Passed: ( [oXo]2 )4 with 0.6667 load (66666666flops) took 0.1s as expected
122 > ## Check impact of a single empty VM collocated with tasks
123 > ### Put a VM on a PM, and put a task to the PM
124 > Passed: ( [ ]2 X )4 with 1 load (100000000flops) took 0.1s as expected
125 > ### Put a VM on a PM, and put two tasks to the PM
126 > Passed: ( [ ]2 oX )4 with 1 load (100000000flops) took 0.1s as expected
127 > Passed: ( [ ]2 Xo )4 with 1 load (100000000flops) took 0.1s as expected
128 > ### Put a VM on a PM, and put three tasks to the PM
129 > Passed: ( [ ]2 ooX )4 with 1 load (100000000flops) took 0.1s as expected
130 > Passed: ( [ ]2 Xoo )4 with 1 load (100000000flops) took 0.1s as expected
131 > Passed: ( [ ]2 oXo )4 with 1 load (100000000flops) took 0.1s as expected
132 > ### Put a VM on a PM, and put four tasks to the PM
133 > Passed: ( [ ]2 oooX )4 with 1 load (100000000flops) took 0.1s as expected
134 > Passed: ( [ ]2 ooXo )4 with 1 load (100000000flops) took 0.1s as expected
135 > Passed: ( [ ]2 oXoo )4 with 1 load (100000000flops) took 0.1s as expected
136 > Passed: ( [ ]2 Xooo )4 with 1 load (100000000flops) took 0.1s as expected
137 > ## Check impact of a single working VM collocated with tasks
138 > ### Put a VM on a PM, and put one task to the PM and one task to the VM
139 > Passed: ( [o]2 X )4 with 1 load (100000000flops) took 0.1s as expected
140 > Passed: ( [X]2 o )4 with 1 load (100000000flops) took 0.1s as expected
141 > ### Put a VM on a PM, and put two tasks to the PM and one task to the VM
142 > Passed: ( [o]2 Xo )4 with 1 load (100000000flops) took 0.1s as expected
143 > Passed: ( [o]2 oX )4 with 1 load (100000000flops) took 0.1s as expected
144 > Passed: ( [X]2 oo )4 with 1 load (100000000flops) took 0.1s as expected
145 > ### Put a VM on a PM, and put two tasks to the PM and two tasks to the VM
146 > Passed: ( [oo]2 Xo )4 with 1 load (100000000flops) took 0.1s as expected
147 > Passed: ( [oo]2 oX )4 with 1 load (100000000flops) took 0.1s as expected
148 > Passed: ( [oX]2 oo )4 with 1 load (100000000flops) took 0.1s as expected
149 > Passed: ( [Xo]2 oo )4 with 1 load (100000000flops) took 0.1s as expected
150 > ### Put a VM on a PM, and put three tasks to the PM and one tasks to the VM
151 > Passed: ( [o]2 ooX )4 with 1 load (100000000flops) took 0.1s as expected
152 > Passed: ( [o]2 Xoo )4 with 1 load (100000000flops) took 0.1s as expected
153 > Passed: ( [o]2 oXo )4 with 1 load (100000000flops) took 0.1s as expected
154 > Passed: ( [X]2 ooo )4 with 1 load (100000000flops) took 0.1s as expected
155 > ### Put a VM on a PM, and put three tasks to the PM and two tasks to the VM
156 > Passed: ( [oo]2 ooX )4 with 0.8 load (80000000flops) took 0.1s as expected
157 > Passed: ( [oo]2 Xoo )4 with 0.8 load (80000000flops) took 0.1s as expected
158 > Passed: ( [oo]2 oXo )4 with 0.8 load (80000000flops) took 0.1s as expected
159 > Passed: ( [oX]2 ooo )4 with 0.8 load (80000000flops) took 0.1s as expected
160 > Passed: ( [Xo]2 ooo )4 with 0.8 load (80000000flops) took 0.1s as expected
161 > ### Put a VM on a PM, and put three tasks to the PM and three tasks to the VM
162 > Passed: ( [ooo]2 ooX )4 with 0.8 load (80000000flops) took 0.1s as expected
163 > Passed: ( [ooo]2 Xoo )4 with 0.8 load (80000000flops) took 0.1s as expected
164 > Passed: ( [ooo]2 oXo )4 with 0.8 load (80000000flops) took 0.1s as expected
165 > Passed: ( [ooX]2 ooo )4 with 0.5333 load (53333333flops) took 0.1s as expected
166 > Passed: ( [Xoo]2 ooo )4 with 0.5333 load (53333333flops) took 0.1s as expected
167 > Passed: ( [oXo]2 ooo )4 with 0.5333 load (53333333flops) took 0.1s as expected
168 >    
169 >    
170 > ## 0 test failed
171 >