Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
chainsend: change tesh to test with 8192 pieces
authorMaximiliano Geier <maximiliano.geier@loria.fr>
Fri, 7 Dec 2012 13:47:11 +0000 (14:47 +0100)
committerMaximiliano Geier <maximiliano.geier@loria.fr>
Fri, 7 Dec 2012 13:47:11 +0000 (14:47 +0100)
examples/msg/chainsend/chainsend.tesh
examples/msg/chainsend/deployment_tesh.xml [new file with mode: 0644]

index a78a40a..bee7909 100644 (file)
@@ -4,7 +4,7 @@ p Testing the chainsend MSG implementation
 
 ! timeout 10
 ! output sort
-$ $SG_TEST_EXENV ${bindir:=.}/chainsend ${srcdir:=.}/platform_chainsend.xml ${srcdir:=.}/deployment_chainsend.xml "--log=root.fmt:[%12.6r]%e(%i:%P@%h)%e%m%n"
+$ $SG_TEST_EXENV ${bindir:=.}/chainsend ${srcdir:=.}/platform_chainsend.xml ${srcdir:=.}/deployment_tesh.xml "--log=root.fmt:[%12.6r]%e(%i:%P@%h)%e%m%n"
 > [    0.000000] (0:@) test_all
 > [    0.000000] (1:broadcaster@host0) broadcaster
 > [    0.000000] (2:peer@host1) peer
@@ -15,12 +15,12 @@ $ $SG_TEST_EXENV ${bindir:=.}/chainsend ${srcdir:=.}/platform_chainsend.xml ${sr
 > [    0.000000] (7:peer@host6) peer
 > [    0.000000] (8:peer@host7) peer
 > [    0.000000] (9:peer@host8) peer
-> [   88.950000] (2:peer@host1) Waiting for sends to finish before shutdown...
-> [  221.070000] (3:peer@host2) Waiting for sends to finish before shutdown...
-> [  289.980000] (4:peer@host3) Waiting for sends to finish before shutdown...
-> [  293.890000] (5:peer@host4) Waiting for sends to finish before shutdown...
-> [  304.300000] (6:peer@host5) Waiting for sends to finish before shutdown...
-> [  310.940000] (7:peer@host6) Waiting for sends to finish before shutdown...
-> [  314.850000] (8:peer@host7) Waiting for sends to finish before shutdown...
-> [  314.930000] (9:peer@host8) Waiting for sends to finish before shutdown...
-> [  316.850000] (0:@) Total simulation time: 3.168500e+02
+> [   81.940000] (2:peer@host1) Waiting for sends to finish before shutdown...
+> [   81.950000] (3:peer@host2) Waiting for sends to finish before shutdown...
+> [   81.960000] (4:peer@host3) Waiting for sends to finish before shutdown...
+> [   81.970000] (5:peer@host4) Waiting for sends to finish before shutdown...
+> [   81.980000] (6:peer@host5) Waiting for sends to finish before shutdown...
+> [   81.990000] (7:peer@host6) Waiting for sends to finish before shutdown...
+> [   82.000000] (8:peer@host7) Waiting for sends to finish before shutdown...
+> [   82.010000] (9:peer@host8) Waiting for sends to finish before shutdown...
+> [   83.000000] (0:@) Total simulation time: 8.300000e+01
diff --git a/examples/msg/chainsend/deployment_tesh.xml b/examples/msg/chainsend/deployment_tesh.xml
new file mode 100644 (file)
index 0000000..72825f5
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
+<platform version="3"><!-- For using with chainsend -->
+
+  <!-- Broadcaster -->
+  <process host="host0" function="broadcaster">
+       <argument value="8"/> <!-- number of peers -->
+       <argument value="8192"/> <!-- number of pieces -->
+  </process>
+
+  <!-- Peers -->
+  <process host="host1" function="peer">
+       <argument value="1"/>
+  </process>
+  <process host="host2" function="peer">
+       <argument value="2"/>
+  </process>
+  <process host="host3" function="peer">
+       <argument value="3"/>
+  </process>
+  <process host="host4" function="peer">
+       <argument value="4"/>
+  </process>
+  <process host="host5" function="peer">
+       <argument value="5"/>
+  </process>
+  <process host="host6" function="peer">
+       <argument value="6"/>
+  </process>
+  <process host="host7" function="peer">
+       <argument value="7"/>
+  </process>
+  <process host="host8" function="peer">
+       <argument value="8"/>
+  </process>
+</platform>