Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
id -> storageId in mount tags + example of content_type + test of
[simgrid.git] / examples / platforms / storage.xml
index d808970..451a0bf 100644 (file)
@@ -4,50 +4,50 @@
 <platform version="3">
 
 <config>
-       <prop id="path" value="../examples/platforms/"/>
+  <prop id="path" value="../examples/platforms/"/>
 </config>
 
-       <AS id="AS0" routing="Full">
-
-               <storage_type id="samsung" model="RAID5" content="storage_content.txt">
-                       <prop id="Bwrite" value="30" />
-                       <prop id="Bread" value="100000000" />
-               </storage_type>
-
-               <storage_type id="crucial" model="SSD" content="storage_content.txt">
-                       <prop id="Bwrite" value="80" />
-                       <prop id="Bread" value="100000000" />
-               </storage_type>
-
-               <storage_type id="wdigital" model="RAID0" content="storage_content.txt">
-                       <prop id="Bwrite" value="60" />
-                       <prop id="Bread" value="100000000" />
+  <AS id="AS0" routing="Full">
+
+   <storage_type id="single_HDD" model="linear_no_lat" 
+                 content="content/storage_content.txt" size="500GiB"
+                 content_type="txt_unix">
+                       <prop id="Bwrite" value="30MBps" />
+                       <prop id="Bread" value="100MBps" />
+                       <prop id="Bconnection" value="150MBps" />
+   </storage_type>
+
+   <storage_type id="single_SSD" model="linear_no_lat"
+                 content="content/storage_content.txt" size="500GiB">
+                       <prop id="Bwrite" value="30MBps" />
+                       <prop id="Bread" value="100MBps" />
+                       <prop id="Bconnection" value="150MBps" />
                </storage_type>
 
-               <storage id="Disk1" typeId="crucial"/>
-               <storage id="Disk2" typeId="samsung"/>
-               <storage id="Disk3" typeId="wdigital"/>
-               <storage id="Disk4" typeId="wdigital"/>
+               <storage id="Disk1" typeId="single_HDD"/>
+               <storage id="Disk2" typeId="single_SSD"/>
+               <storage id="Disk3" typeId="single_HDD"/>
+               <storage id="Disk4" typeId="single_SSD"/>
 
-               <host id="bob" power="1000000000">
-                       <mount id="Disk1" name="C:"/>                   
+               <host id="bob" power="1Gf">
+                       <mount storageId="Disk1" name="/home"/>                 
                </host>         
                
-               <host id="alice" power="1000000000">
-                       <mount id="Disk2" name="C:"/>
+               <host id="alice" power="1Gf">
+                       <mount storageId="Disk2" name="/home"/>
                </host>
 
-               <host id="carl" power="1000000000">             
-                       <mount id="Disk3" name="C:"/>           
+               <host id="carl" power="1Gf">            
+                       <mount storageId="Disk3" name="/home"/>         
                </host>
                
-               <host id="denise" power="1000000000">
-                       <mount id="Disk4" name="C:"/>   
+               <host id="denise" power="1Gf">
+                       <mount storageId="Disk4" name="/home"/> 
                </host>
 
-               <link id="link1" bandwidth="125000000" latency="5E-5" />
-               <link id="link2" bandwidth="125000000" latency="5E-5" />
-               <link id="link3" bandwidth="125000000" latency="5E-5" />
+               <link id="link1" bandwidth="125MBps" latency="50us" />
+               <link id="link2" bandwidth="125MBps" latency="50us" />
+               <link id="link3" bandwidth="125MBps" latency="50us" />
        
                <route src="bob" dst="alice" symmetrical="YES">
                        <link_ctn id="link1" />