Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
34493d3ea085ace44048bf0306c7580e3d353cfb
[simgrid.git] / teshsuite / simdag / network / mxn / platform_4p_1switch.xml
1 <?xml version='1.0'?>\r
2 <!DOCTYPE platform_description SYSTEM "surfxml.dtd">\r
3 <platform_description version="1">\r
4   <cpu name="cpu0" power="1"/>\r
5   <cpu name="cpu1" power="1"/>
6   <cpu name="cpu2" power="1"/>
7   <cpu name="cpu3" power="1"/>
8   
9   <network_link name="switch" bandwidth="2" latency="1" sharing_policy="FATPIPE"/>
10   <network_link name="link0" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
11   <network_link name="link1" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
12   <network_link name="link2" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
13   <network_link name="link3" bandwidth="1" latency=".5" sharing_policy="SHARED"/>
14   
15   <route src="cpu0" dst="cpu1">\r
16     <route_element name="link0"/>\r
17     <route_element name="switch"/>
18     <route_element name="link1"/>
19   </route>\r
20
21   <route src="cpu0" dst="cpu2">
22     <route_element name="link0"/>
23     <route_element name="switch"/>
24     <route_element name="link2"/>
25   </route>
26
27   <route src="cpu0" dst="cpu3">
28     <route_element name="link0"/>
29     <route_element name="switch"/>
30     <route_element name="link3"/>
31   </route>
32
33   <route src="cpu1" dst="cpu0">
34     <route_element name="link1"/>
35     <route_element name="switch"/>
36     <route_element name="link0"/>
37   </route>
38
39   <route src="cpu1" dst="cpu2">
40     <route_element name="link1"/>
41     <route_element name="switch"/>
42     <route_element name="link2"/>
43   </route>
44
45   <route src="cpu1" dst="cpu3">
46     <route_element name="link1"/>
47     <route_element name="switch"/>
48     <route_element name="link3"/>
49   </route>
50   
51   <route src="cpu2" dst="cpu0">
52     <route_element name="link2"/>
53     <route_element name="switch"/>
54     <route_element name="link0"/>
55   </route>
56
57   <route src="cpu2" dst="cpu1">
58     <route_element name="link2"/>
59     <route_element name="switch"/>
60     <route_element name="link1"/>
61   </route>
62
63   <route src="cpu2" dst="cpu3">
64     <route_element name="link2"/>
65     <route_element name="switch"/>
66     <route_element name="link3"/>
67   </route>
68
69   <route src="cpu3" dst="cpu0">
70     <route_element name="link3"/>
71     <route_element name="switch"/>
72     <route_element name="link0"/>
73   </route>
74
75   <route src="cpu3" dst="cpu1">
76     <route_element name="link3"/>
77     <route_element name="switch"/>
78     <route_element name="link1"/>
79   </route>
80
81   <route src="cpu3" dst="cpu2">
82     <route_element name="link3"/>
83     <route_element name="switch"/>
84     <route_element name="link2"/>
85   </route>
86   \r
87 </platform_description>\r