Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
e14dbf1e24d9af8f4bc733e54be0f6e25fc7740c
[simgrid.git] / teshsuite / simdag / platforms / platform_4p_1switch.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
3 <platform version="4">
4   <AS id="AS0" routing="Full">
5     <host id="cpu0" speed="1f"/>
6     <host id="cpu1" speed="1f"/>
7     <host id="cpu2" speed="1f"/>
8     <host id="cpu3" speed="1f"/>
9
10     <link id="switch" bandwidth="2Bps" latency="1s" sharing_policy="FATPIPE"/>
11     <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
12     <link id="link1" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
13     <link id="link2" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
14     <link id="link3" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
15
16     <route src="cpu0" dst="cpu1">
17       <link_ctn id="link0"/>
18       <link_ctn id="switch"/>
19       <link_ctn id="link1"/>
20     </route>
21     <route src="cpu0" dst="cpu2">
22       <link_ctn id="link0"/>
23       <link_ctn id="switch"/>
24       <link_ctn id="link2"/>
25     </route>
26     <route src="cpu0" dst="cpu3">
27       <link_ctn id="link0"/>
28       <link_ctn id="switch"/>
29       <link_ctn id="link3"/>
30     </route>
31     <route src="cpu1" dst="cpu2">
32       <link_ctn id="link1"/>
33       <link_ctn id="switch"/>
34       <link_ctn id="link2"/>
35     </route>
36     <route src="cpu1" dst="cpu3">
37       <link_ctn id="link1"/>
38       <link_ctn id="switch"/>
39       <link_ctn id="link3"/>
40     </route>
41     <route src="cpu2" dst="cpu3">
42       <link_ctn id="link2"/>
43       <link_ctn id="switch"/>
44       <link_ctn id="link3"/>
45     </route>
46   </AS>
47 </platform>