Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[platforms] fix comments
[simgrid.git] / examples / platforms / energy_platform.xml
1 <?xml version='1.0' encoding='utf-8'?>
2 <!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
3 <platform version="4.1">
4   <zone 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 core="4" id="MyHost1" pstate="0" speed="100.0Mf,50.0Mf,20.0Mf">
9       <!--  List of Idle:Epsilon:AllCores (in Watts) corresponding to the speed consumed when the processor is idle,
10             when all cores have a tiny epsilon load, and when all cores are fully loaded -->
11       <!--  The list must contain one energetic profile for each previously defined pstate-->
12       <prop id="watt_per_state" value="100.0:93.33333333333333:200.0, 93.0:90.0:170.0, 90.0:90.0:150.0" />
13       <prop id="watt_off" value="10" />
14     </host>
15     
16     <host core="1" id="MyHost2" pstate="0" speed="100.0Mf,50.0Mf,20.0Mf">
17       <!-- This host is mono-core and its consumption is either idle or full load (Epsilon=AllCores) -->
18       <prop id="watt_per_state" value="100.0:200.0:200.0, 93.0:170.0:170.0, 90.0:150.0:150.0" />
19       <prop id="watt_off" value="10" />
20     </host>
21     
22     <host core="1" id="MyHost3" pstate="0" speed="100.0Mf,50.0Mf,20.0Mf">
23       <!-- This host is mono-core and its consumption is either idle or full load (Epsilon=AllCores) -->
24       <prop id="watt_per_state" value="100.0:200.0:200.0, 93.0:170.0:170.0, 90.0:150.0:150.0" />
25       <prop id="watt_off" value="10" />
26     </host>
27  
28     <link bandwidth="100kBps" id="bus" latency="0" sharing_policy="SHARED">
29 <!--   REALISTIC VALUES                    <prop id="watt_range" value="10.3581:10.7479" /> -->
30 <!--  IREALISTIC VALUES FOR THE TEST -->   <prop id="watt_range" value="1:3" /> 
31     </link>
32     <route dst="MyHost2" src="MyHost1">
33       <link_ctn id="bus" />
34     </route>
35     <route dst="MyHost3" src="MyHost1">
36       <link_ctn id="bus" />
37     </route>
38     <route dst="MyHost3" src="MyHost2">
39       <link_ctn id="bus" />
40     </route>
41   </zone>
42 </platform>