Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
8036fa8cde5ed23a8844d438c0fd29f4832924ca
[simgrid.git] / examples / java / io / 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         <AS id="AS0" routing="Full">
7
8                 <storage_type id="samsung" model="RAID5" content="content/storage_content.txt" size="500">
9                         <prop id="Bwrite" value="30000000" /> <!-- 30Mo/s -->
10                         <prop id="Bread" value="100000000" /> <!-- 100Mo/s -->
11                         <prop id="Bconnection" value="150000000" /> <!-- 150Mo/s -->
12                 </storage_type>
13
14                 <storage_type id="crucial" model="SSD" content="content/storage_content.txt" size="500">
15                         <prop id="Bwrite" value="30000000" />
16                         <prop id="Bread" value="100000000" />
17                         <prop id="Bconnection" value="150000000" />
18                 </storage_type>
19
20                 <storage_type id="wdigital" model="RAID0" content="content/storage_content.txt" size="500">
21                         <prop id="Bwrite" value="30000000" />
22                         <prop id="Bread" value="100000000" />
23                         <prop id="Bconnection" value="150000000" />
24                 </storage_type>
25
26                 <storage id="Disk1" typeId="crucial"/>
27                 <storage id="Disk2" typeId="samsung"/>
28                 <storage id="Disk3" typeId="wdigital"/>
29                 <storage id="Disk4" typeId="wdigital"/>
30
31                 <host id="bob" power="1Gf">
32                         <mount id="Disk1" name="C:"/>                   
33                 </host>         
34                 
35                 <host id="alice" power="1Gf">
36                         <mount id="Disk2" name="C:"/>
37                 </host>
38
39                 <host id="carl" power="1Gf">            
40                         <mount id="Disk3" name="C:"/>           
41                 </host>
42                 
43                 <host id="denise" power="1Gf">
44                         <mount id="Disk4" name="C:"/>   
45                 </host>
46
47                 <link id="link1" bandwidth="125MBps" latency="50us" />
48                 <link id="link2" bandwidth="125MBps" latency="50us" />
49                 <link id="link3" bandwidth="125MBps" latency="50us" />
50         
51                 <route src="bob" dst="alice" symmetrical="YES">
52                         <link_ctn id="link1" />
53                         <link_ctn id="link2" />
54                         <link_ctn id="link3" />
55                 </route>        
56
57         </AS>
58 </platform>