Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix dependency issue to prevent problems with make -jx
[simgrid.git] / teshsuite / msg / app-pingpong / app-pingpong.tesh
1 #!/usr/bin/env tesh
2
3 p Testing with default compound
4
5 $ $SG_TEST_EXENV ${bindir:=.}/app-pingpong$EXEEXT ${platfdir}/small_platform.xml app-pingpong_d.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
6 > [  0.000000] (1:pinger@Tremblay) Ping -> Jupiter
7 > [  0.000000] (2:ponger@Jupiter) Pong -> Tremblay
8 > [  0.019014] (2:ponger@Jupiter) Task received : small communication (latency bound)
9 > [  0.019014] (2:ponger@Jupiter)  Ping time (latency bound) 0.019014
10 > [  0.019014] (2:ponger@Jupiter) task_bw->data = 0.019
11 > [150.178356] (1:pinger@Tremblay) Task received : large communication (bandwidth bound)
12 > [150.178356] (1:pinger@Tremblay) Pong time (bandwidth bound): 150.159
13 > [150.178356] (0:maestro@) Total simulation time: 150.178
14
15 p Testing with default compound and Full network optimization
16
17 $ $SG_TEST_EXENV ${bindir:=.}/app-pingpong$EXEEXT ${platfdir}/small_platform.xml app-pingpong_d.xml "--cfg=network/optim:Full" "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
18 > [  0.000000] (0:maestro@) Configuration change: Set 'network/optim' to 'Full'
19 > [  0.000000] (1:pinger@Tremblay) Ping -> Jupiter
20 > [  0.000000] (2:ponger@Jupiter) Pong -> Tremblay
21 > [  0.019014] (2:ponger@Jupiter) Task received : small communication (latency bound)
22 > [  0.019014] (2:ponger@Jupiter)  Ping time (latency bound) 0.019014
23 > [  0.019014] (2:ponger@Jupiter) task_bw->data = 0.019
24 > [150.178356] (1:pinger@Tremblay) Task received : large communication (bandwidth bound)
25 > [150.178356] (1:pinger@Tremblay) Pong time (bandwidth bound): 150.159
26 > [150.178356] (0:maestro@) Total simulation time: 150.178
27
28 p Testing the deprecated CM02 network model
29
30 $ $SG_TEST_EXENV ${bindir:=.}/app-pingpong$EXEEXT ${platfdir}/small_platform.xml app-pingpong_d.xml --cfg=cpu/model:Cas01 --cfg=network/model:CM02 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
31 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/model' to 'Cas01'
32 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
33 > [  0.000000] (1:pinger@Tremblay) Ping -> Jupiter
34 > [  0.000000] (2:ponger@Jupiter) Pong -> Tremblay
35 > [  0.001462] (2:ponger@Jupiter) Task received : small communication (latency bound)
36 > [  0.001462] (2:ponger@Jupiter)  Ping time (latency bound) 0.001462
37 > [  0.001462] (2:ponger@Jupiter) task_bw->data = 0.001
38 > [145.639041] (1:pinger@Tremblay) Task received : large communication (bandwidth bound)
39 > [145.639041] (1:pinger@Tremblay) Pong time (bandwidth bound): 145.638
40 > [145.639041] (0:maestro@) Total simulation time: 145.639
41
42 p Testing the surf network Reno fairness model using lagrangian approach
43
44 $ $SG_TEST_EXENV ${bindir:=.}/app-pingpong$EXEEXT ${platfdir}/small_platform.xml app-pingpong_d.xml "--cfg=host/model:compound cpu/model:Cas01 network/model:Reno" --log=surf_lagrange.thres=critical "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
45 > [  0.000000] (0:maestro@) Configuration change: Set 'host/model' to 'compound'
46 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/model' to 'Cas01'
47 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'Reno'
48 > [  0.000000] (1:pinger@Tremblay) Ping -> Jupiter
49 > [  0.000000] (2:ponger@Jupiter) Pong -> Tremblay
50 > [  0.019014] (2:ponger@Jupiter) Task received : small communication (latency bound)
51 > [  0.019014] (2:ponger@Jupiter)  Ping time (latency bound) 0.019014
52 > [  0.019014] (2:ponger@Jupiter) task_bw->data = 0.019
53 > [150.178356] (1:pinger@Tremblay) Task received : large communication (bandwidth bound)
54 > [150.178356] (1:pinger@Tremblay) Pong time (bandwidth bound): 150.159
55 > [150.178356] (0:maestro@) Total simulation time: 150.178
56
57 p Testing the surf network Reno2 fairness model using lagrangian approach
58
59 $ $SG_TEST_EXENV ${bindir:=.}/app-pingpong$EXEEXT ${platfdir}/small_platform.xml app-pingpong_d.xml "--cfg=host/model:compound cpu/model:Cas01 network/model:Reno2" --log=surf_lagrange.thres=critical "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
60 > [  0.000000] (0:maestro@) Configuration change: Set 'host/model' to 'compound'
61 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/model' to 'Cas01'
62 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'Reno2'
63 > [  0.000000] (1:pinger@Tremblay) Ping -> Jupiter
64 > [  0.000000] (2:ponger@Jupiter) Pong -> Tremblay
65 > [  0.019014] (2:ponger@Jupiter) Task received : small communication (latency bound)
66 > [  0.019014] (2:ponger@Jupiter)  Ping time (latency bound) 0.019014
67 > [  0.019014] (2:ponger@Jupiter) task_bw->data = 0.019
68 > [150.178356] (1:pinger@Tremblay) Task received : large communication (bandwidth bound)
69 > [150.178356] (1:pinger@Tremblay) Pong time (bandwidth bound): 150.159
70 > [150.178356] (0:maestro@) Total simulation time: 150.178
71
72 p Testing the surf network Vegas fairness model using lagrangian approach
73
74 $ $SG_TEST_EXENV ${bindir:=.}/app-pingpong$EXEEXT ${platfdir}/small_platform.xml app-pingpong_d.xml "--cfg=host/model:compound cpu/model:Cas01 network/model:Vegas" "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
75 > [  0.000000] (0:maestro@) Configuration change: Set 'host/model' to 'compound'
76 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/model' to 'Cas01'
77 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'Vegas'
78 > [  0.000000] (1:pinger@Tremblay) Ping -> Jupiter
79 > [  0.000000] (2:ponger@Jupiter) Pong -> Tremblay
80 > [  0.019014] (2:ponger@Jupiter) Task received : small communication (latency bound)
81 > [  0.019014] (2:ponger@Jupiter)  Ping time (latency bound) 0.019014
82 > [  0.019014] (2:ponger@Jupiter) task_bw->data = 0.019
83 > [150.178356] (1:pinger@Tremblay) Task received : large communication (bandwidth bound)
84 > [150.178356] (1:pinger@Tremblay) Pong time (bandwidth bound): 150.159
85 > [150.178356] (0:maestro@) Total simulation time: 150.178
86
87 p Testing the surf network constant model
88
89 $ $SG_TEST_EXENV ${bindir:=.}/app-pingpong$EXEEXT ${platfdir}/small_platform_constant.xml app-pingpong_d.xml "--cfg=host/model:compound cpu/model:Cas01 network/model:Constant" "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
90 > [  0.000000] (0:maestro@) Configuration change: Set 'host/model' to 'compound'
91 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/model' to 'Cas01'
92 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'Constant'
93 > [  0.000000] (1:pinger@Tremblay) Ping -> Jupiter
94 > [  0.000000] (2:ponger@Jupiter) Pong -> Tremblay
95 > [ 13.010000] (2:ponger@Jupiter) Task received : small communication (latency bound)
96 > [ 13.010000] (2:ponger@Jupiter)  Ping time (latency bound) 13.010000
97 > [ 13.010000] (2:ponger@Jupiter) task_bw->data = 13.010
98 > [ 26.020000] (1:pinger@Tremblay) Task received : large communication (bandwidth bound)
99 > [ 26.020000] (1:pinger@Tremblay) Pong time (bandwidth bound): 13.010
100 > [ 26.020000] (0:maestro@) Total simulation time: 26.020