Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
refactor 3 more examples
[simgrid.git] / examples / msg / sendrecv / sendrecv.tesh
1 #! ./tesh
2
3 p Testing with default compound
4
5 $ $SG_TEST_EXENV ${bindir:=.}/sendrecv$EXEEXT ${srcdir:=.}/small_platform.xml ${srcdir:=.}/../msg/sendrecv/sendrecv_d.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
6 > [  0.000000] (1:sender@Tremblay) sender
7 > [  0.000000] (1:sender@Tremblay) host = Jupiter
8 > [  0.000000] (1:sender@Tremblay) task_la->data = 0.000000e+00
9 > [  0.000000] (2:receiver@Jupiter) receiver
10 > [  0.019014] (2:receiver@Jupiter) Task received : latency task
11 > [  0.019014] (2:receiver@Jupiter) Communic. time 1.901449e-02
12 > [  0.019014] (2:receiver@Jupiter) --- la 0.019014 ----
13 > [  0.019014] (1:sender@Tremblay) task_bw->data = 1.901449e-02
14 > [150.178356] (2:receiver@Jupiter) Task received : bandwidth task
15 > [150.178356] (2:receiver@Jupiter) Communic. time 1.501593e+02
16 > [150.178356] (2:receiver@Jupiter) --- bw 6659592.318450 ----
17 > [150.178356] (0:maestro@) Total simulation time: 1.501784e+02
18
19 p Testing the deprecated CM02 network model
20
21 $ $SG_TEST_EXENV ${bindir:=.}/sendrecv$EXEEXT ${srcdir:=.}/small_platform.xml ${srcdir:=.}/../msg/sendrecv/sendrecv_d.xml --cfg=cpu/model:Cas01 --cfg=network/model:CM02 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
22 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/model' to 'Cas01'
23 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
24 > [  0.000000] (1:sender@Tremblay) sender
25 > [  0.000000] (1:sender@Tremblay) host = Jupiter
26 > [  0.000000] (1:sender@Tremblay) task_la->data = 0.000000e+00
27 > [  0.000000] (2:receiver@Jupiter) receiver
28 > [  0.001462] (2:receiver@Jupiter) Task received : latency task
29 > [  0.001462] (2:receiver@Jupiter) Communic. time 1.461663e-03
30 > [  0.001462] (2:receiver@Jupiter) --- la 0.001462 ----
31 > [  0.001462] (1:sender@Tremblay) task_bw->data = 1.461663e-03
32 > [145.639041] (2:receiver@Jupiter) Task received : bandwidth task
33 > [145.639041] (2:receiver@Jupiter) Communic. time 1.456376e+02
34 > [145.639041] (2:receiver@Jupiter) --- bw 6866359.664748 ----
35 > [145.639041] (0:maestro@) Total simulation time: 1.456390e+02
36
37 p Testing the surf network Reno fairness model using lagrangian approach
38
39 $ $SG_TEST_EXENV ${bindir:=.}/sendrecv$EXEEXT ${srcdir:=.}/small_platform.xml ${srcdir:=.}/../msg/sendrecv/sendrecv_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"
40 > [  0.000000] (0:maestro@) Configuration change: Set 'host/model' to 'compound'
41 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/model' to 'Cas01'
42 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'Reno'
43 > [  0.000000] (1:sender@Tremblay) sender
44 > [  0.000000] (1:sender@Tremblay) host = Jupiter
45 > [  0.000000] (1:sender@Tremblay) task_la->data = 0.000000e+00
46 > [  0.000000] (2:receiver@Jupiter) receiver
47 > [  0.015200] (2:receiver@Jupiter) Task received : latency task
48 > [  0.015200] (2:receiver@Jupiter) Communic. time 1.519994e-02
49 > [  0.015200] (2:receiver@Jupiter) --- la 0.015200 ----
50 > [  0.015200] (1:sender@Tremblay) task_bw->data = 1.519994e-02
51 > [158.330528] (2:receiver@Jupiter) Task received : bandwidth task
52 > [158.330528] (2:receiver@Jupiter) Communic. time 1.583153e+02
53 > [158.330528] (2:receiver@Jupiter) --- bw 6316507.782677 ----
54 > [158.330528] (0:maestro@) Total simulation time: 1.583305e+02
55
56 p Testing the surf network Vegas fairness model using lagrangian approach
57
58 $ $SG_TEST_EXENV ${bindir:=.}/sendrecv$EXEEXT ${srcdir:=.}/small_platform.xml ${srcdir:=.}/../msg/sendrecv/sendrecv_d.xml "--cfg=host/model:compound cpu/model:Cas01 network/model:Vegas" "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
59 > [  0.000000] (0:maestro@) Configuration change: Set 'host/model' to 'compound'
60 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/model' to 'Cas01'
61 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'Vegas'
62 > [  0.000000] (1:sender@Tremblay) sender
63 > [  0.000000] (1:sender@Tremblay) host = Jupiter
64 > [  0.000000] (1:sender@Tremblay) task_la->data = 0.000000e+00
65 > [  0.000000] (2:receiver@Jupiter) receiver
66 > [  0.015200] (2:receiver@Jupiter) Task received : latency task
67 > [  0.015200] (2:receiver@Jupiter) Communic. time 1.519994e-02
68 > [  0.015200] (2:receiver@Jupiter) --- la 0.015200 ----
69 > [  0.015200] (1:sender@Tremblay) task_bw->data = 1.519994e-02
70 > [158.330528] (2:receiver@Jupiter) Task received : bandwidth task
71 > [158.330528] (2:receiver@Jupiter) Communic. time 1.583153e+02
72 > [158.330528] (2:receiver@Jupiter) --- bw 6316507.782677 ----
73 > [158.330528] (0:maestro@) Total simulation time: 1.583305e+02