Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix and convert another ptask_L07 test
[simgrid.git] / examples / platforms / ptask_L07.xml
index 09b540b..0d1528a 100644 (file)
@@ -8,6 +8,7 @@
     <host id="cpu3" speed="1f"/>
        <host id="cpu4" speed="1f" />
        <host id="cpu5" speed="2f" />
+       <host id="cpu6" speed="2f" />
 
     <link id="switch" bandwidth="2Bps" latency="1s" sharing_policy="FATPIPE"/>
     <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
     <link id="link3" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
     <link id="link4" bandwidth="1Bps" latency="500ms" sharing_policy="FATPIPE" />
 
+   <!-- large latency link (2*1024^2s) to limit bandwidth by TCP_gamma (4MiB)
+         max bw = TCP_gamma / ( 2 * latency ) which is then 1Bps (half the nominal bandwidth) -->    
+    <link id="link5" bandwidth="1Bps" latency="2097152s" sharing_policy="FATPIPE" />
+
     <route src="cpu0" dst="cpu1">
       <link_ctn id="link0"/>
       <link_ctn id="switch"/>
@@ -53,5 +58,8 @@
     <route src="cpu0" dst="cpu5">
       <link_ctn id="link4" />
     </route>
+    <route src="cpu0" dst="cpu6">
+      <link_ctn id="link5" />
+    </route>
   </zone>
 </platform>