Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
yet another update
[simgrid.git] / examples / platforms / storage.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
3
4 <platform version="3">
5
6 <config>
7   <prop id="path" value="../examples/platforms/"/>
8 </config>
9
10   <AS id="AS0" routing="Full">
11
12    <storage_type id="single_HDD" model="linear_no_lat" 
13                  content="content/storage_content.txt" size="500GiB"
14                  content_type="txt_unix">
15       <prop id="Bwrite" value="30MBps" />
16       <prop id="Bread" value="100MBps" />
17       <prop id="Bconnection" value="120MBps" />
18    </storage_type>
19
20    <storage_type id="single_SSD" model="linear_no_lat" size="500GiB">
21       <prop id="Bwrite" value="60MBps" />
22       <prop id="Bread" value="200MBps" />
23       <prop id="Bconnection" value="220MBps" />
24    </storage_type>
25
26     <storage id="Disk1" typeId="single_HDD" />
27     <storage id="Disk2" typeId="single_SSD"
28              content="content/win_storage_content.txt"
29              content_type="txt_windows" />
30     <storage id="Disk3" typeId="single_HDD" />
31     <storage id="Disk4" typeId="single_SSD"
32              content="content/small_content.txt"
33              content_type="txt_unix" />
34
35     <host id="bob" power="1Gf">
36       <mount storageId="Disk1" name="/home"/>
37     </host>
38
39     <host id="alice" power="1Gf">
40       <mount storageId="Disk2" name="/windows"/>
41     </host>
42
43     <host id="carl" power="1Gf">
44       <mount storageId="Disk3" name="/home"/>
45     </host>
46
47     <host id="denise" power="1Gf">
48       <mount storageId="Disk2" name="/windows"/>        
49       <mount storageId="Disk4" name="/home"/>   
50     </host>
51
52     <link id="link1" bandwidth="125MBps" latency="50us" />
53     <link id="link2" bandwidth="125MBps" latency="50us" />
54     <link id="link3" bandwidth="125MBps" latency="50us" />
55
56     <route src="bob" dst="alice" symmetrical="YES">
57       <link_ctn id="link1" />
58       <link_ctn id="link2" />
59       <link_ctn id="link3" />
60     </route>
61   </AS>
62 </platform>