File: storage.xml

package info (click to toggle)
simgrid 3.25%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 23,308 kB
  • sloc: cpp: 100,922; ansic: 68,086; fortran: 6,061; xml: 5,176; f90: 5,123; java: 4,094; python: 2,623; perl: 1,843; sh: 1,241; makefile: 47; javascript: 7; sed: 6
file content (46 lines) | stat: -rw-r--r-- 1,541 bytes parent folder | download
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
43
44
45
46
<?xml version='1.0'?>
<!DOCTYPE platform SYSTEM "https://simgrid.org/simgrid.dtd">
<platform version="4.1">
  <config>
    <prop id="path" value="../examples/platforms/"/>
  </config>

  <zone id="AS0" routing="Full">
    <storage_type id="single_HDD" size="500GiB" content="content/storage_content.txt">
      <model_prop id="Bwrite" value="30MBps" />
      <model_prop id="Bread" value="100MBps" />
    </storage_type>

    <storage_type id="single_SSD" size="500GiB" content="content/storage_content.txt">
      <model_prop id="Bwrite" value="60MBps" />
      <model_prop id="Bread" value="200MBps" />
    </storage_type>

    <storage id="Disk1" typeId="single_HDD" attach="bob" />
    <storage id="Disk2" typeId="single_SSD" attach="alice"
             content="content/small_content.txt"/>
    <storage id="Disk3" typeId="single_HDD" attach="carl" />
    <storage id="Disk4" typeId="single_SSD" attach="denise"
             content="content/small_content.txt" />

    <host id="bob" speed="1Gf">
      <mount storageId="Disk1" name="/home"/>
    </host>
    <host id="alice" speed="1Gf">
      <mount storageId="Disk2" name="/tmp"/>
    </host>
    <host id="carl" speed="1Gf">
      <mount storageId="Disk3" name="/home"/>
    </host>
    <host id="denise" speed="1Gf">
      <mount storageId="Disk2" name="/tmp"/>
      <mount storageId="Disk4" name="/home"/>
    </host>

    <link id="link1" bandwidth="125MBps" latency="150us" />

    <route src="bob" dst="alice">
      <link_ctn id="link1" />
    </route>
  </zone>
</platform>