Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
57ab438eed21d4da0604fe4bc721130f896b1fd8
[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"><link_ctn id="link0"/><link_ctn id="switch"/><link_ctn id="link1"/></route>
17     <route src="cpu0" dst="cpu2"><link_ctn id="link0"/><link_ctn id="switch"/><link_ctn id="link2"/></route>
18     <route src="cpu0" dst="cpu3"><link_ctn id="link0"/><link_ctn id="switch"/><link_ctn id="link3"/></route>
19     <route src="cpu1" dst="cpu2"><link_ctn id="link1"/><link_ctn id="switch"/><link_ctn id="link2"/></route>
20     <route src="cpu1" dst="cpu3"><link_ctn id="link1"/><link_ctn id="switch"/><link_ctn id="link3"/></route>
21     <route src="cpu2" dst="cpu3"><link_ctn id="link2"/><link_ctn id="switch"/><link_ctn id="link3"/></route>
22   </AS>
23 </platform>