Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Improved test of GTNets model.
[simgrid.git] / examples / msg / gtnets / gtnets.tesh
index 0186b41..0d686bb 100644 (file)
@@ -1,18 +1,43 @@
 #! ./tesh
 
-p Testing simple communication patterns
+p Testing onelink communication pattern with LV08 model
 
-$ gtnets/gtnets gtnets/onelink-p.xml gtnets/onelink-d.xml 
-> [S1:master:(1) 0.000000] [msg_test/INFO] Send completed (to C1). Transfer time: 0.110000      Agregate bandwidth: 9090.909091
-> [S1:master:(1) 0.000000] [msg_test/INFO] Completed peer: C1 time: 0.110000
+$ gtnets/gtnets gtnets/onelink-p.xml gtnets/onelink-d.xml --cfg=workstation_model:compound --cfg=cpu_model:Cas01 --cfg=network_model:LV08
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'workstation_model' to 'compound'
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'cpu_model' to 'Cas01'
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network_model' to 'LV08'
+> [S1:master:(1) 108.799652] [msg_test/INFO] Send completed (to C1). Transfer time: 108.799652  Agregate bandwidth: 9191.205854
+> [S1:master:(1) 108.799652] [msg_test/INFO] Completed peer: C1 time: 108.799652
+> [C1:slave:(2) 108.799652] [msg_test/INFO] ===> Estimated Bw of FLOW[1] : 9191.205854 ;  message from S1 to C1  with remaining : 0.000000
 
-$ gtnets/gtnets gtnets/dogbone-p.xml gtnets/dogbone-d.xml 
-> [S1:master:(1) 0.000000] [msg_test/INFO] Send completed (to C1). Transfer time: 150.020000    Agregate bandwidth: 66657.778963
-> [S1:master:(1) 0.000000] [msg_test/INFO] Completed peer: C1 time: 150.020000
-> [S2:master:(2) 50.020000] [msg_test/INFO] Send completed (to C2). Transfer time: 200.040000   Agregate bandwidth: 49990.002000
-> [S2:master:(2) 50.020000] [msg_test/INFO] Completed peer: C2 time: 200.040000
+p Testing onelink communication pattern with GTNets model
 
-$ gtnets/gtnets gtnets/onelink-p.xml gtnets/onelink-d.xml --cfg=workstation_model=compound --cfg=network_model=GTNets --cfg=cpu_model=Cas01
-$ gtnets/gtnets gtnets/dogbone-p.xml gtnets/dogbone-d.xml --cfg=workstation_model=compound --cfg=network_model=GTNets --cfg=cpu_model=Cas01
+$ gtnets/gtnets gtnets/onelink-p.xml gtnets/onelink-d.xml --cfg=workstation_model:compound --cfg=cpu_model:Cas01 --cfg=network_model:GTNets
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'workstation_model' to 'compound'
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'cpu_model' to 'Cas01'
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network_model' to 'GTNets'
+> [S1:master:(1) 106.291000] [msg_test/INFO] Send completed (to C1). Transfer time: 106.291000  Agregate bandwidth: 9408.134273
+> [S1:master:(1) 106.291000] [msg_test/INFO] Completed peer: C1 time: 106.291000
+> [C1:slave:(2) 106.291000] [msg_test/INFO] ===> Estimated Bw of FLOW[1] : 9408.134273 ;  message from S1 to C1  with remaining : 0.000000
 
+p Testing dogbone communication pattern with LV08 model
 
+$ gtnets/gtnets gtnets/dogbone-p.xml gtnets/dogbone-d.xml --cfg=workstation_model:compound --cfg=cpu_model:Cas01 --cfg=network_model:LV08
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'workstation_model' to 'compound'
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'cpu_model' to 'Cas01'
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network_model' to 'LV08'
+> [S1:master:(1) 0.524696] [msg_test/INFO] Send completed (to C1). Transfer time: 0.524696      Agregate bandwidth: 19058.667551
+> [S1:master:(1) 0.524696] [msg_test/INFO] Completed peer: C1 time: 0.524696
+> [C1:slave:(3) 0.524696] [msg_test/INFO] ===> Estimated Bw of FLOW[0] : 19058.667551 ;  message from S1 to C1  with remaining : 0.000000
+> [C1:slave:(3) 0.524696] [msg_test/INFO] ===> Estimated Bw of FLOW[1] : 0.000000 ;  message from S2 to C2  with remaining : 10000.000000
+
+p Testing dogbone communication pattern with GTNets model
+
+$ gtnets/gtnets gtnets/dogbone-p.xml gtnets/dogbone-d.xml --cfg=workstation_model:compound --cfg=cpu_model:Cas01 --cfg=network_model:GTNets
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'workstation_model' to 'compound'
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'cpu_model' to 'Cas01'
+> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network_model' to 'GTNets'
+> [S1:master:(1) 0.289923] [msg_test/INFO] Send completed (to C1). Transfer time: 0.289923      Agregate bandwidth: 34491.904922
+> [S1:master:(1) 0.289923] [msg_test/INFO] Completed peer: C1 time: 0.289923
+> [C1:slave:(3) 0.289923] [msg_test/INFO] ===> Estimated Bw of FLOW[0] : 34491.904922 ;  message from S1 to C1  with remaining : 0.000000
+> [C1:slave:(3) 0.289923] [msg_test/INFO] ===> Estimated Bw of FLOW[1] : 10347.571477 ;  message from S2 to C2  with remaining : 7000.000000