Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New files by FS.
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 24 Jun 2008 14:02:55 +0000 (14:02 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 24 Jun 2008 14:02:55 +0000 (14:02 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5794 48e7efb5-ca39-0410-a469-dd3cf9ba447f

12 files changed:
teshsuite/simdag/platforms/one_cluster.xml [new file with mode: 0644]
teshsuite/simdag/platforms/one_cluster_foreach.xml [new file with mode: 0644]
teshsuite/simdag/platforms/one_cluster_one_host.xml [new file with mode: 0644]
teshsuite/simdag/platforms/one_cluster_one_host_random.xml [new file with mode: 0644]
teshsuite/simdag/platforms/one_cluster_properties_foreach.xml [new file with mode: 0644]
teshsuite/simdag/platforms/one_cluster_properties_override.xml [new file with mode: 0644]
teshsuite/simdag/platforms/one_host_properties.xml [new file with mode: 0644]
teshsuite/simdag/platforms/one_host_trace_file.xml [new file with mode: 0644]
teshsuite/simdag/platforms/one_host_trace_inside.xml [new file with mode: 0644]
teshsuite/simdag/platforms/route_override.xml [new file with mode: 0644]
teshsuite/simdag/platforms/two_clusters.xml [new file with mode: 0644]
teshsuite/simdag/platforms/two_clusters_symmetric.xml [new file with mode: 0644]

diff --git a/teshsuite/simdag/platforms/one_cluster.xml b/teshsuite/simdag/platforms/one_cluster.xml
new file mode 100644 (file)
index 0000000..6640a17
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<platform version="2">
+  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
+   radical="0,2-4,6" power="1000000000" bw="125000000" lat="5E-5"
+   bb_bw="2250000000" bb_lat="5E-4"/>
+</platform>
diff --git a/teshsuite/simdag/platforms/one_cluster_foreach.xml b/teshsuite/simdag/platforms/one_cluster_foreach.xml
new file mode 100644 (file)
index 0000000..8589f33
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<platform version="2">
+  <set id="myCluster" prefix="bob" suffix=".hamburger.edu"
+       radical="0,2-4,6"/>
+
+  <foreach set_id="myCluster">
+    <host id="$1" power="1000000000"/>
+    <link id="$1" bandwidth="125000000" latency="5E-5"/>
+  </foreach>
+
+  <link id="bob_backbone" bandwidth="2250000000" latency="5E-4"
+       sharing_policy="FATPIPE"/>
+  <route:multi src="myCluster" dst="myCluster">
+    <link:ctn id="$src"/>
+    <link:ctn id="bob_backbone"/>
+    <link:ctn id="$dst"/>
+  </route:multi>
+</platform>
diff --git a/teshsuite/simdag/platforms/one_cluster_one_host.xml b/teshsuite/simdag/platforms/one_cluster_one_host.xml
new file mode 100644 (file)
index 0000000..f5bc55e
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<platform version="2">
+  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
+          radical="0-4" power="1000000000" bw="125000000" lat="5E-5"
+          bb_bw="2250000000" bb_lat="5E-4"/>
+
+  <host id="trudy" power="250000000"/>
+
+  <link id="backbone" bandwidth="1250000000" latency="5E-4"/>
+
+  <route:multi src="bob_cluster" dst="trudy" symmetric="YES">
+    <link:ctn id="backbone"/>
+  </route:multi>
+</platform>
diff --git a/teshsuite/simdag/platforms/one_cluster_one_host_random.xml b/teshsuite/simdag/platforms/one_cluster_one_host_random.xml
new file mode 100644 (file)
index 0000000..41f46a8
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<platform version="2">
+  <random id="myRandomGenerator" generator="DRAND48"
+         min="1000000000" max="2000000000" mean="1600000000"
+         std_deviation="12"/>
+
+  <set id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
+       radical="0-3"/>
+
+  <host id="bob" power="$rand(myRandomGenerator)"/>
+  
+  <foreach set_id="bob_cluster">
+    <host id="$1" power="$rand(myRandomGenerator)"/>
+    <link id="$1" bandwidth="125000000" latency="5E-5"/>
+  </foreach>
+ </platform>
diff --git a/teshsuite/simdag/platforms/one_cluster_properties_foreach.xml b/teshsuite/simdag/platforms/one_cluster_properties_foreach.xml
new file mode 100644 (file)
index 0000000..f913983
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<platform version="2">
+  <set id="myCluster" prefix="bob" suffix=".hamburger.edu"
+       radical="0,2-4,6"/>
+
+  <foreach set_id="myCluster">
+    <host id="$1" power="1000000000">
+      <prop id="cores" value="2"/>
+      <prop id="os" value="Linux"/>
+    </host>
+    <link id="$1" bandwidth="125000000" latency="5E-5"/>
+  </foreach>
+</platform>
diff --git a/teshsuite/simdag/platforms/one_cluster_properties_override.xml b/teshsuite/simdag/platforms/one_cluster_properties_override.xml
new file mode 100644 (file)
index 0000000..bdf7b7a
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<platform version="2">
+  <set id="myCluster" prefix="bob" suffix=".hamburger.edu"
+       radical="0,2-4,6"/>
+
+  <foreach set_id="myCluster">
+    <host id="$1" power="1000000000">
+      <prop id="cores" value="2"/>
+      <prop id="os" value="Linux"/>
+    </host>
+    <link id="$1" bandwidth="125000000" latency="5E-5"/>
+  </foreach>
+
+  <host id="bob0.hamburger.edu" power="1000000000">
+    <prop id="cores" value="4"/>
+  </host>
+</platform>
diff --git a/teshsuite/simdag/platforms/one_host_properties.xml b/teshsuite/simdag/platforms/one_host_properties.xml
new file mode 100644 (file)
index 0000000..54fcf09
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<platform version="2">
+  <host id="bob" power="1000000000">
+    <prop id="memory" value="1000000000"/>
+    <prop id="disk" value="80E9"/>
+    <prop id="OS" value="Linux 2.6.22-14"/>
+  </host>
+</platform>
diff --git a/teshsuite/simdag/platforms/one_host_trace_file.xml b/teshsuite/simdag/platforms/one_host_trace_file.xml
new file mode 100644 (file)
index 0000000..1416d34
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<platform version="2">
+  <host id="bob" power="1000000000"/>
+  
+  <trace id="myTrace" file="bob.trace"/>
+
+  <trace:connect trace="myTrace" element="bob" kind="POWER"/>
+</platform>
diff --git a/teshsuite/simdag/platforms/one_host_trace_inside.xml b/teshsuite/simdag/platforms/one_host_trace_inside.xml
new file mode 100644 (file)
index 0000000..bcd63ae
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<platform version="2">
+  <host id="bob" power="1000000000"/>
+  
+  <trace id="myTrace" periodicity="1.0">
+    0.0 1.0
+    11.0 0.5
+    20.0 0.8
+  </trace>
+
+  <trace:connect trace="myTrace" element="bob" kind="POWER"/>
+</platform>
diff --git a/teshsuite/simdag/platforms/route_override.xml b/teshsuite/simdag/platforms/route_override.xml
new file mode 100644 (file)
index 0000000..8a46878
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<platform version="2">
+  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
+          radical="0-4" power="1000000000" bw="125000000" lat="5E-5"
+          bb_bw="2250000000" bb_lat="5E-4"/>
+
+  <cluster id="alice_cluster" prefix="alice" suffix=".crepe.fr"
+          radical="0-4" power="1000000000" bw="125000000" lat="5E-5"
+          bb_bw="2250000000" bb_lat="5E-4"/>
+
+  <link id="backbone" bandwidth="1250000000" latency="5E-4"/>
+
+  <route:multi src="bob_cluster" dst="alice_cluster" symmetric="YES">
+    <link:ctn id="backbone"/>
+    <link:ctn id="$dst"/>
+  </route:multi>
+
+  <route:multi src="bob0.hamburger.edu" dst="$*" action="OVERRIDE" symmetric="NO">
+    <link:ctn id="$src"/>
+    <link:ctn id="backbone"/>
+    <link:ctn id="$dst"/>
+  </route:multi>
+
+  <route:multi src="bob0.hamburger.edu" dst="bob_cluster" action="OVERRIDE" symmetric="NO">
+    <link:ctn id="$src"/>
+    <link:ctn id="bob_cluster_bb"/>
+    <link:ctn id="$dst"/>
+  </route:multi>
+
+</platform>
diff --git a/teshsuite/simdag/platforms/two_clusters.xml b/teshsuite/simdag/platforms/two_clusters.xml
new file mode 100644 (file)
index 0000000..2bc689a
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<platform version="2">
+  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
+          radical="0-4" power="1000000000" bw="125000000" lat="5E-5"
+          bb_bw="2250000000" bb_lat="5E-4"/>
+
+  <cluster id="alice_cluster" prefix="alice" suffix=".crepe.fr"
+          radical="0-4" power="1000000000" bw="125000000" lat="5E-5"
+          bb_bw="2250000000" bb_lat="5E-4"/>
+
+
+  <link id="backbone" bandwidth="1250000000" latency="5E-4"/>
+
+  <route:multi src="bob_cluster" dst="alice_cluster">
+    <link:ctn id="backbone"/>
+    <link:ctn id="$dst"/>
+  </route:multi>
+
+  <route:multi src="alice_cluster" dst="bob_cluster">
+    <link:ctn id="backbone"/>
+    <link:ctn id="$dst"/>
+  </route:multi>
+
+</platform>
diff --git a/teshsuite/simdag/platforms/two_clusters_symmetric.xml b/teshsuite/simdag/platforms/two_clusters_symmetric.xml
new file mode 100644 (file)
index 0000000..9370b05
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<platform version="2">
+  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
+          radical="0-4" power="1000000000" bw="125000000" lat="5E-5"
+          bb_bw="2250000000" bb_lat="5E-4"/>
+
+  <cluster id="alice_cluster" prefix="alice" suffix=".crepe.fr"
+          radical="0-4" power="1000000000" bw="125000000" lat="5E-5"
+          bb_bw="2250000000" bb_lat="5E-4"/>
+
+
+  <link id="backbone" bandwidth="1250000000" latency="5E-4"/>
+
+  <route:multi src="bob_cluster" dst="alice_cluster" symmetric="YES">
+    <link:ctn id="backbone"/>
+    <link:ctn id="$dst"/>
+  </route:multi>
+</platform>