Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add an example of speed profile in the platform
[simgrid.git] / examples / platforms / small_platform_profile.xml
diff --git a/examples/platforms/small_platform_profile.xml b/examples/platforms/small_platform_profile.xml
new file mode 100644 (file)
index 0000000..efabd6f
--- /dev/null
@@ -0,0 +1,70 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
+<platform version="4.1">
+  <zone  id="AS0"  routing="Full">
+    <host id="Tremblay" speed="25Mf"/>
+    <host id="Jupiter"  speed="25Mf" availability_file="trace/jupiter_speed.trace" />
+    <host id="Fafard"   speed="25Mf"/>
+    <host id="Ginette"  speed="25Mf"/>
+    <host id="Bourassa" speed="25Mf"/>
+
+    <link id="1" bandwidth="1MBps" latency="10ms" bandwidth_file="trace/link1_bandwidth.trace" latency_file="trace/link1_latency.trace" />
+    <link id="2" bandwidth="1MBps" latency="10ms"/>
+    <link id="3" bandwidth="1MBps" latency="10ms"/>
+    <link id="4" bandwidth="1MBps" latency="10ms"/>
+    <link id="5" bandwidth="1MBps" latency="10ms"/>
+    <link id="6" bandwidth="1MBps" latency="10ms"/>
+    <link id="7" bandwidth="1MBps" latency="10ms"/>
+    <link id="8" bandwidth="1MBps" latency="10ms"/>
+    <link id="9" bandwidth="1MBps" latency="10ms"/>
+    <link id="10" bandwidth="1MBps" latency="10ms"/>
+    <link id="loopback_FATPIPE" bandwidth="10MBps" latency="0" sharing_policy="FATPIPE"/>
+    <link id="loopback" bandwidth="100MBps" latency="0"/>
+
+    <route src="Tremblay" dst="Tremblay">
+      <link_ctn id="loopback"/>
+    </route>
+    <route src="Jupiter" dst="Jupiter">
+      <link_ctn id="loopback"/>
+    </route>
+    <route src="Fafard" dst="Fafard">
+      <link_ctn id="loopback"/>
+    </route>
+    <route src="Ginette" dst="Ginette">
+      <link_ctn id="loopback"/>
+    </route>
+    <route src="Bourassa" dst="Bourassa">
+      <link_ctn id="loopback"/>
+    </route>
+    <route src="Tremblay" dst="Jupiter">
+      <link_ctn id="1"/>
+    </route>
+    <route src="Tremblay" dst="Fafard">
+      <link_ctn id="2"/>
+    </route>
+    <route src="Tremblay" dst="Ginette">
+      <link_ctn id="3"/>
+    </route>
+    <route src="Tremblay" dst="Bourassa">
+      <link_ctn id="4"/>
+    </route>
+    <route src="Jupiter" dst="Fafard">
+      <link_ctn id="5"/>
+    </route>
+    <route src="Jupiter" dst="Ginette">
+      <link_ctn id="6"/>
+    </route>
+    <route src="Jupiter" dst="Bourassa">
+      <link_ctn id="7"/>
+    </route>
+    <route src="Fafard" dst="Ginette">
+      <link_ctn id="8"/>
+    </route>
+    <route src="Fafard" dst="Bourassa">
+      <link_ctn id="9"/>
+    </route>
+    <route src="Ginette" dst="Bourassa">
+      <link_ctn id="10"/>
+    </route>
+  </zone>
+</platform>