File: energy_platform.xml

package info (click to toggle)
simgrid 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,192 kB
  • sloc: cpp: 124,913; ansic: 66,744; python: 8,560; java: 6,773; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,194; perl: 1,436; makefile: 111; lisp: 49; javascript: 7; sed: 6
file content (42 lines) | stat: -rw-r--r-- 2,169 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
<platform version="4.1">
  <zone id="AS0" routing="Full">
    <!-- Multiple pstate processor capacities can be defined as a list of powers specified for a given host -->
    <!-- Attribute 'pstate' specifies the initially selected pstate (here, the lowest pstate corresponds to the highest
         processor speed) -->
    <host core="4" id="MyHost1" pstate="0" speed="100.0Mf,50.0Mf,20.0Mf">
      <!--  List of Idle:Epsilon:AllCores (in Watts) corresponding to the speed consumed when the processor is idle,
            when all cores have a tiny epsilon load, and when all cores are fully loaded -->
      <!--  The list must contain one energetic profile for each previously defined pstate-->
      <prop id="wattage_per_state" value="100.0:93.33333333333333:200.0, 93.0:90.0:170.0, 90.0:90.0:150.0" />
      <prop id="wattage_off" value="10" />
    </host>

    <host core="1" id="MyHost2" pstate="0" speed="100.0Mf,50.0Mf,20.0Mf">
      <!-- This host is mono-core and its consumption is either idle or full load (Epsilon=AllCores) -->
      <prop id="wattage_per_state" value="100.0:200.0:200.0, 93.0:170.0:170.0, 90.0:150.0:150.0" />
      <prop id="wattage_off" value="10" />
    </host>

    <host core="1" id="MyHost3" pstate="0" speed="100.0Mf,50.0Mf,20.0Mf">
      <!-- This host is mono-core and its consumption is either idle or full load (Epsilon=AllCores) -->
      <prop id="wattage_per_state" value="100.0:200.0:200.0, 93.0:170.0:170.0, 90.0:150.0:150.0" />
      <prop id="wattage_off" value="10" />
    </host>

    <link bandwidth="100kBps" id="bus" latency="0" sharing_policy="SHARED">
<!--   REALISTIC VALUES                    <prop id="wattage_range" value="10.3581:10.7479" /> -->
<!--  IREALISTIC VALUES FOR THE TEST -->   <prop id="wattage_range" value="1:3" />
    </link>
    <route dst="MyHost2" src="MyHost1">
      <link_ctn id="bus" />
    </route>
    <route dst="MyHost3" src="MyHost1">
      <link_ctn id="bus" />
    </route>
    <route dst="MyHost3" src="MyHost2">
      <link_ctn id="bus" />
    </route>
  </zone>
</platform>