Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / examples / platforms / energy_platform.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     <!-- Multiple pstate processor capacities can be defined as a list of powers specified for a given host -->
6     <!-- Attribute 'pstate' specifies the initialy selected pstate (here, the lowest pstate corresponds to the highest
7          processor speed) -->
8     <host id="MyHost1" speed="100.0Mf,50.0Mf,20.0Mf" pstate="0" >
9       <!--  List of min_power:max_power pairs (in Watts) corresponding to the speed consumed when the processor is idle
10             and when it is fully loaded -->
11       <!--  The list must contain one speed pair for each previously defined pstate-->
12       <prop id="watt_per_state" value="100.0:200.0, 93.0:170.0, 90.0:150.0" />
13       <prop id="watt_off" value="10" />
14     </host>
15     <host id="MyHost2" speed="100.0Mf,50.0Mf,20.0Mf" pstate="0" >
16       <prop id="watt_per_state" value="100.0:200.0, 93.0:170.0, 90.0:150.0" />
17       <prop id="watt_off" value="10" />
18     </host>
19     <host id="MyHost3" speed="100.0Mf,50.0Mf,20.0Mf" pstate="0" >
20       <prop id="watt_per_state" value="100.0:200.0, 93.0:170.0, 90.0:150.0" />
21       <prop id="watt_off" value="10" />
22     </host>
23
24     <link id="bus" bandwidth="100kBps" latency="0"/>
25     <route src="MyHost1" dst="MyHost2">
26       <link_ctn id="bus"/>
27     </route>
28     <route src="MyHost1" dst="MyHost3">
29       <link_ctn id="bus"/>
30     </route>
31     <route src="MyHost2" dst="MyHost3">
32       <link_ctn id="bus"/>
33     </route>
34   </AS>
35 </platform>