File: energy_boot.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 (41 lines) | stat: -rw-r--r-- 1,785 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
<?xml version='1.0'?>
<!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
<platform version="4.1">
  <zone  id="AS0"  routing="Full">

    <!-- Use the pstate mechanism to encode the boot/shutdown time and energy.
      -
      -  See the C++ file in the same directory for more information.
      -->

    <!-- pstate values:
      * 0-2: real pstates
         0: p1 100 MFlops/s, [idle: 95W -> full burning: 200W]
         1: p2  50 MFlops/s, [idle: 93W -> full burning: 170W]
         2: p3  20 MFlops/s, [idel: 90W -> full burning: 150W]

      * 3: booting up was measured to take 150s and 18000J.
           So we create a pstate 3 consuming 18000J/150s=120W, and a boot remains at this pstate for 150s.
           Speed is set at 0 flop/s so that nothing progresses during the boot.
      * 4: shutting down was measured to take 7 s and 770 J
           So we create a pstate 4 consuming 770J/7s=110W, and a shutdown remains at this pstate for 7s.

      Please note that even if these values are educated guesses, you should still challenge them.
      If you want a realistic simulation, you must use values coming from a real benchmark of your platform.
      -->

    <host id="MyHost1"             speed="100.0Mf,50.0Mf,20.0Mf,                    0f,0f" pstate="0" >
      <prop id="wattage_per_state" value="95.0:200.0,93.0:170.0,90.0:150.0,         120:120,110:110" />
      <prop id="wattage_off"       value="10" />
    </host>
    <host id="MyHost2"             speed="100.0Mf" >
      <prop id="wattage_per_state" value="100.0:200.0" />
      <prop id="wattage_off"       value="10" />
    </host>

    <link id="link1" bandwidth="100kBps" latency="0"/>
    <route src="MyHost1" dst="MyHost2">
      <link_ctn id="link1"/>
    </route>
  </zone>
</platform>