Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
changelog update
[simgrid.git] / teshsuite / models / wifi_usage_decay / wifi_usage_decay.tesh
1 #!/usr/bin/env tesh
2
3 $ ${bindir:=.}/wifi_usage_decay ${platfdir}/wifi_large_cell.xml --log=root.fmt=%m%n --cfg=network/crosstraffic:0 --cfg=network/model:CM02
4 > Configuration change: Set 'network/crosstraffic' to '0'
5 > Configuration change: Set 'network/model' to 'CM02'
6 > 1/r_STA1 * rho_STA1 <= 1  (there is no cross-traffic)
7 > 22 concurrent flows, decay model deactivated, we have 54Mbps to share between the flows
8 > We should thus have:
9 >   mu = 1 / [ 1/22 * (1/54Mbps)*22 ] = 54000000
10 >   simulation_time = 100000*8 / (mu/22) = 0.3259259259259259 (rounded to 0.325926s in SimGrid)
11 > Actual result: Sending 100000 bytes from 'Station 21' to 'Station 22' takes 0.325926 seconds.
12 > Actual result: Sending 100000 bytes from 'Station 19' to 'Station 20' takes 0.325926 seconds.
13 > Actual result: Sending 100000 bytes from 'Station 17' to 'Station 18' takes 0.325926 seconds.
14 > Actual result: Sending 100000 bytes from 'Station 15' to 'Station 16' takes 0.325926 seconds.
15 > Actual result: Sending 100000 bytes from 'Station 13' to 'Station 14' takes 0.325926 seconds.
16 > Actual result: Sending 100000 bytes from 'Station 11' to 'Station 12' takes 0.325926 seconds.
17 > Actual result: Sending 100000 bytes from 'Station 9' to 'Station 10' takes 0.325926 seconds.
18 > Actual result: Sending 100000 bytes from 'Station 7' to 'Station 8' takes 0.325926 seconds.
19 > Actual result: Sending 100000 bytes from 'Station 5' to 'Station 6' takes 0.325926 seconds.
20 > Actual result: Sending 100000 bytes from 'Station 3' to 'Station 4' takes 0.325926 seconds.
21 > Actual result: Sending 100000 bytes from 'Station 1' to 'Station 2' takes 0.325926 seconds.
22 >
23 >
24 > 1/r_STA1 * rho_STA1 <= 1  (there is no cross-traffic)
25 > 22 concurrent flows, decay model activated, we have 54Mbps to share between the flows, but the number of concurrent flows is above the limit (20)
26 > We should thus have:
27 > Maximum throughput of the link reduced by:
28 > updated link capacity = ( 5678270 + (22-20) * -5424 ) / 5678270 =~ 0.998086
29 >   mu = 1 / [ 1/22 * (1/54Mbps*0.998086)*22 ] = 53896644
30 >   simulation_time = 100000*8 / (mu/22) = 0.3265509444335718 (rounded to 0.326550 in SimGrid)
31 > Actual result: Sending 100000 bytes from 'Station 21' to 'Station 22' takes 0.326550 seconds.
32 > Actual result: Sending 100000 bytes from 'Station 19' to 'Station 20' takes 0.326550 seconds.
33 > Actual result: Sending 100000 bytes from 'Station 17' to 'Station 18' takes 0.326550 seconds.
34 > Actual result: Sending 100000 bytes from 'Station 15' to 'Station 16' takes 0.326550 seconds.
35 > Actual result: Sending 100000 bytes from 'Station 13' to 'Station 14' takes 0.326550 seconds.
36 > Actual result: Sending 100000 bytes from 'Station 11' to 'Station 12' takes 0.326550 seconds.
37 > Actual result: Sending 100000 bytes from 'Station 9' to 'Station 10' takes 0.326550 seconds.
38 > Actual result: Sending 100000 bytes from 'Station 7' to 'Station 8' takes 0.326550 seconds.
39 > Actual result: Sending 100000 bytes from 'Station 5' to 'Station 6' takes 0.326550 seconds.
40 > Actual result: Sending 100000 bytes from 'Station 3' to 'Station 4' takes 0.326550 seconds.
41 > Actual result: Sending 100000 bytes from 'Station 1' to 'Station 2' takes 0.326550 seconds.