Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make a tesh file for ns3.
[simgrid.git] / examples / msg / ns3 / ns3.tesh
1 #! ./tesh
2
3 p 3hosts 2links
4
5 $ ns3/ns3 ${srcdir:=.}/ns3/3hosts_2links_p.xml ${srcdir:=.}/ns3/3hosts_2links_d.xml --cfg=network/model:NS3
6 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'NS3'
7 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
8 > [c:slave:(2) 0.700000] [msg_test/INFO] FLOW[1] : Receive 100 bytes from a to c
9
10 p 6hosts 3links
11
12 $ ns3/ns3 ${srcdir:=.}/ns3/3links-p.xml ${srcdir:=.}/ns3/3links-d.xml --cfg=network/model:NS3
13 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'NS3'
14 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
15 > [C1:slave:(2) 0.392000] [msg_test/INFO] FLOW[1] : Receive 100 bytes from S1 to C1
16 > [C2:slave:(4) 1.354000] [msg_test/INFO] FLOW[2] : Receive 1000 bytes from S2 to C2
17 > [C3:slave:(6) 2.438000] [msg_test/INFO] FLOW[3] : Receive 2000 bytes from S3 to C3
18
19 p One cluster
20
21 $ ns3/ns3 ${srcdir:=.}/ns3/One_cluster.xml ${srcdir:=.}/ns3/One_cluster-d.xml --cfg=network/model:NS3
22 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'NS3'
23 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
24 > [c-6.me:slave:(2) 0.006614] [msg_test/INFO] FLOW[1] : Receive 100 bytes from c-2.me to c-6.me
25
26 p Two clusters
27
28 $ ns3/ns3 ${srcdir:=.}/ns3/Two_clusters.xml ${srcdir:=.}/ns3/Two_clusters-d.xml --cfg=network/model:NS3
29 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'NS3'
30 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
31 > [c-16.me:slave:(2) 0.012453] [msg_test/INFO] FLOW[1] : Receive 100 bytes from c-3.me to c-16.me