Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
A whole bunch of test units from Sascha and Fred. Many thanks, dudes
[simgrid.git] / teshsuite / simdag / network / p2p / platform_2p_1bb.xml
diff --git a/teshsuite/simdag/network/p2p/platform_2p_1bb.xml b/teshsuite/simdag/network/p2p/platform_2p_1bb.xml
new file mode 100644 (file)
index 0000000..820c207
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform_description SYSTEM "surfxml.dtd">
+<platform_description version="1">
+       
+       <cpu name="cpu0" power="1" />
+       <cpu name="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
+        -->
+       
+       <network_link name="link0" bandwidth="2" latency="10000"
+               sharing_policy="SHARED" />
+       
+       <route src="cpu0" dst="cpu1">
+               <route_element name="link0" />
+       </route>
+       
+       <route src="cpu1" dst="cpu0">
+               <route_element name="link0" />
+       </route>
+       
+</platform_description>