Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
451a0bfdb3eea0e44a85829f81f184e9c098cc8e
[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="150MBps" />
18    </storage_type>
19
20    <storage_type id="single_SSD" model="linear_no_lat"
21                  content="content/storage_content.txt" size="500GiB">
22                         <prop id="Bwrite" value="30MBps" />
23                         <prop id="Bread" value="100MBps" />
24                         <prop id="Bconnection" value="150MBps" />
25                 </storage_type>
26
27                 <storage id="Disk1" typeId="single_HDD"/>
28                 <storage id="Disk2" typeId="single_SSD"/>
29                 <storage id="Disk3" typeId="single_HDD"/>
30                 <storage id="Disk4" typeId="single_SSD"/>
31
32                 <host id="bob" power="1Gf">
33                         <mount storageId="Disk1" name="/home"/>                 
34                 </host>         
35                 
36                 <host id="alice" power="1Gf">
37                         <mount storageId="Disk2" name="/home"/>
38                 </host>
39
40                 <host id="carl" power="1Gf">            
41                         <mount storageId="Disk3" name="/home"/>         
42                 </host>
43                 
44                 <host id="denise" power="1Gf">
45                         <mount storageId="Disk4" name="/home"/> 
46                 </host>
47
48                 <link id="link1" bandwidth="125MBps" latency="50us" />
49                 <link id="link2" bandwidth="125MBps" latency="50us" />
50                 <link id="link3" bandwidth="125MBps" latency="50us" />
51         
52                 <route src="bob" dst="alice" symmetrical="YES">
53                         <link_ctn id="link1" />
54                         <link_ctn id="link2" />
55                         <link_ctn id="link3" />
56                 </route>        
57
58         </AS>
59 </platform>