2 <!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
3 <platform version="4.1">
4 <zone id="AS0" routing="Full">
6 <!-- Use the pstate mechanism to encode the boot/shutdown time and energy.
8 - See the C++ file in the same directory for more information.
13 0: p1 100 MFlops/s, [idle: 95W -> full burning: 200W]
14 1: p2 50 MFlops/s, [idle: 93W -> full burning: 170W]
15 2: p3 20 MFlops/s, [idel: 90W -> full burning: 150W]
17 * 3: booting up was measured to take 150s and 18000J.
18 So we create a pstate 3 consuming 18000J/150s=120W, and a boot remains at this pstate for 150s.
19 Speed is set at 0 flop/s so that nothing progresses during the boot.
20 * 4: shutting down was measured to take 7 s and 770 J
21 So we create a pstate 4 consuming 770J/7s=110W, and a shutdown remains at this pstate for 7s.
23 Please note that even if these values are educated guesses, you should still challenge them.
24 If you want a realistic simulation, you must use values coming from a real benchmark of your platform.
27 <host id="MyHost1" speed="100.0Mf,50.0Mf,20.0Mf, 0f,0f" pstate="0" >
28 <prop id="wattage_per_state" value="95.0:200.0,93.0:170.0,90.0:150.0, 120:120,110:110" />
29 <prop id="wattage_off" value="10" />
31 <host id="MyHost2" speed="100.0Mf" >
32 <prop id="wattage_per_state" value="100.0:200.0" />
33 <prop id="wattage_off" value="10" />
36 <link id="link1" bandwidth="100kBps" latency="0"/>
37 <route src="MyHost1" dst="MyHost2">
38 <link_ctn id="link1"/>