Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Properly register the waiter in wait_any_for(), so that it gets handled on suspend...
[simgrid.git] / teshsuite / models / cm02-set-lat-bw / cm02-set-lat-bw-bmf.tesh
1 #!/usr/bin/env tesh
2
3 $ ${bindir:=.}/cm02-set-lat-bw  "--log=root.fmt:[%10.6r]%e[%i:%a@%h]%e%m%n" --cfg=network/solver:bmf
4 > [  0.000000] [0:maestro@] Configuration change: Set 'network/solver' to 'bmf'
5 > [  0.000000] [0:maestro@] Configuration change: Set 'network/model' to 'CM02'
6 > [  0.000000] [0:maestro@] Configuration change: Set 'network/weight-S' to '20537'
7 > [  0.000000] [0:maestro@] Configuration change: Set 'network/crosstraffic' to '0'
8 > [  0.000000] [1:@S1] Send to C1, same weight/penalty (w_a == w_b, ~20) for everybody, each comm should take 1s and finish at the same time
9 > [  0.000000] [3:@S2] Send to C2, same weight/penalty (w_a == w_b, ~20) for everybody, each comm should take 1s and finish at the same time
10 > [  2.000000] [2:@C1] Received data. Elapsed 2.000000
11 > [  2.000000] [4:@C2] Received data. Elapsed 2.000000
12 > [ 10.000000] [3:@S2] Send Flow B to C2: after 1s, change latency of L4 to increase penalty for flow B (w_b = 2* w_a)
13 > [ 10.000000] [3:@S2] rho_a = 2*rho_b, flow A receives twice the bandwidth than flow B
14 > [ 10.000000] [1:@S1] Send Flow A to C1
15 > [ 11.753312] [2:@C1] Received data. Elapsed 1.753312
16 > [ 12.000000] [4:@C2] Received data. Elapsed 2.000000
17 > [ 20.000000] [1:@S1] Send Flow A to C1
18 > [ 20.000000] [3:@S2] Send Flow B to C2: after 1s, change bandwidth of L4 to increase penalty for flow B (w_b = 2* w_a)
19 > [ 20.000000] [3:@S2] rho_a = 2*rho_b, flow A receives twice the bandwidth than flow B
20 > [ 21.750000] [2:@C1] Received data. Elapsed 1.750000
21 > [ 22.000000] [4:@C2] Received data. Elapsed 2.000000
22 > [ 30.000000] [2:@C1] Bye
23 > [ 30.000000] [4:@C2] Bye