Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
convert all xml files to the new DTD v4
[simgrid.git] / teshsuite / simdag / network / p2p / platform_2p_1bb.xml
index 6694b6a..ba2146b 100644 (file)
@@ -1,29 +1,24 @@
 <?xml version='1.0'?>
- <!DOCTYPE platform SYSTEM "simgrid.dtd">
- <platform version="3">
+<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
+<platform version="4">
  <AS  id="AS0"  routing="Full">
-       
-       <host id="cpu0" power="1" />
-       <host id="cpu1" power="1" />
-       
-       <!-- 
-       large latency backbone
-       10000 because
-       20000 is MAX_TCP_WIN_SIZE
-       max bw = MAX_TCP_WIN_SIZE / ( 2 * latency )
-       which is then 1 and 1 is smallest possible
-        -->
-       
-       <link id="link0" bandwidth="2" latency="10000"
-               sharing_policy="SHARED" />
-       
-       <route src="cpu0" dst="cpu1">
-               <link_ctn id="link0" />
-       </route>
-       
-       <route src="cpu1" dst="cpu0">
-               <link_ctn id="link0" />
-       </route>
-       
+   <host id="cpu0" speed="1f" />
+   <host id="cpu1" speed="1f" />
+
+   <!-- 
+       large latency backbone
+       10000 because
+       20000 is MAX_TCP_WIN_SIZE
+       max bw = MAX_TCP_WIN_SIZE / ( 2 * latency )
+       which is then 1 and 1 is smallest possible
+   -->
+
+   <link id="link0" bandwidth="2Bps" latency="2.777777777777777777777777778h" sharing_policy="SHARED" />
+
+   <route src="cpu0" dst="cpu1">
+      <link_ctn id="link0" />
+   </route>
  </AS>
  </platform>