Ignore:
Timestamp:
07/20/12 09:49:08 (13 years ago)
Author:
wojtekp
Message:
 
Location:
xssim/trunk/src/test/rewolucja/schemas/example/coolemall
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • xssim/trunk/src/test/rewolucja/schemas/example/coolemall/example1.xml

    r337 r349  
    99        <resources> 
    1010                <description> 
    11                 This basic example defines simple resource hierarchy within a single data center (named dataCenter). It consist of 4 racks 
     11                This basic example defines simple resource hierarchy within a single data center (named dataCenter). It consists of 4 racks 
    1212                (with names created according to the name attribute and subsequent natural number: rack_0, rack_1, rack_2 and rack_3).  
    1313                Each of them contains 64 computing nodes (names will be generated using resource class and subsequent natural number:  
     
    2929                                        </resourceUnit> 
    3030                                        <computingResource class="Processor" count="2"> 
    31                                                 <parameter name="Speed"> 
     31                                                <parameter name="speed"> 
    3232                                                        <value>2</value> 
    3333                                                </parameter> 
  • xssim/trunk/src/test/rewolucja/schemas/example/coolemall/example2.xml

    r344 r349  
    55                <description> 
    66                This example aims to show how to introduce energy-related parameters to the simulation environment  
    7                 Simulated architecture consist of data center with 4 racks. Each of them contains 64 computing nodes with 2 processors.  
     7                Simulated architecture consists of data center with 4 racks. Each of them contains 64 computing nodes with 2 processors.  
    88                Speed of every processor is equal 2. All computing nodes have 12GB of memory and 4TB storage. 
    99                For the detailed energy characteristics description, see the following comments.  
     
    1818                                                <!-- Definition of computing node power profile 
    1919                                                According to it, there are two supported power states: ON and OFF 
    20                                                 Computing node in ON state consume 20 watts, while in OFF state 0. 
    21                                                 Transition between ON and OFF state takes 30 seconds ant consumes 30 watts,  
    22                                                 while in the opposite energy consumption rate is equal 40 watts over 60 seconds. 
     20                                                Computing node in ON state consumes 20 watts, while in OFF state 0. 
     21                                                Transition between ON and OFF state takes 30 seconds and consumes 30 watts,  
     22                                                while in the opposite direction energy consumption rate is equal 40 watts over 60 seconds. 
    2323                                                 --> 
    2424                                                <powerProfile> 
     
    3131                                                                <powerState> 
    3232                                                                        <name>ON</name> 
    33                                                                         <powerUsage unit="watts">20</powerUsage> 
     33                                                                        <powerUsage unit="W">20</powerUsage> 
    3434                                                                        <transition> 
    3535                                                                                <to>OFF</to> 
    36                                                                                 <powerUsage unit="watts">30</powerUsage> 
    37                                                                                 <time unit="seconds">30</time> 
     36                                                                                <powerUsage unit="W">30</powerUsage> 
     37                                                                                <time unit="s">30</time> 
    3838                                                                        </transition> 
    3939                                                                </powerState> 
    4040                                                                <powerState> 
    4141                                                                        <name>OFF</name> 
    42                                                                         <powerUsage unit="watts">0</powerUsage> 
     42                                                                        <powerUsage unit="W">0</powerUsage> 
    4343                                                                        <transition> 
    4444                                                                                <to>ON</to> 
    4545                                                                                <powerUsage unit="watts">40</powerUsage> 
    46                                                                                 <time unit="seconds">60</time> 
     46                                                                                <time unit="s">60</time> 
    4747                                                                        </transition> 
    4848                                                                </powerState> 
     
    5757                                                                        <name>mode1</name> 
    5858                                                                        <value unit="m3/h">105</value> 
    59                                                                         <powerUsage unit="watts">10.3</powerUsage> 
     59                                                                        <powerUsage unit="W">10.3</powerUsage> 
    6060                                                                </airThroughputState> 
    6161                                                                <airThroughputState> 
    6262                                                                        <name>mode2</name> 
    6363                                                                        <value unit="m3/h">110</value> 
    64                                                                         <powerUsage unit="watts">10.9</powerUsage> 
     64                                                                        <powerUsage unit="W">10.9</powerUsage> 
    6565                                                                </airThroughputState> 
    6666                                                                <airThroughputState> 
    6767                                                                        <name>mode3</name> 
    6868                                                                        <value unit="m3/h">115</value> 
    69                                                                         <powerUsage unit="watts">11.4</powerUsage> 
     69                                                                        <powerUsage unit="W">11.4</powerUsage> 
    7070                                                                </airThroughputState> 
    7171                                                                <airThroughputState> 
    7272                                                                        <name>mode4</name> 
    7373                                                                        <value unit="m3/h">120</value> 
    74                                                                         <powerUsage unit="watts">12.1</powerUsage> 
     74                                                                        <powerUsage unit="W">12.1</powerUsage> 
    7575                                                                </airThroughputState> 
    7676                                                        </airThroughputStates> 
     
    9595                                                                        </property>      
    9696                                                                        <property name="frequency"> 
    97                                                                                 <value unit="hertz">3000</value> 
     97                                                                                <value unit="Hz">3000</value> 
    9898                                                                        </property>              
    9999                                                                        <property name="voltage"> 
    100                                                                                 <value unit="volt">1.3</value> 
     100                                                                                <value unit="V">1.3</value> 
    101101                                                                        </property> 
    102102                                                                        <property name="powerUsage"> 
    103                                                                                 <value unit="watts">35</value> 
     103                                                                                <value unit="W">35</value> 
    104104                                                                        </property>                                              
    105105                                                                </parameter> 
     
    109109                                                                        </property>      
    110110                                                                        <property name="frequency"> 
    111                                                                                 <value unit="hertz">2666</value> 
     111                                                                                <value unit="H`">2666</value> 
    112112                                                                        </property>              
    113113                                                                        <property name="voltage"> 
    114                                                                                 <value unit="volt">1.1</value> 
     114                                                                                <value unit="V">1.1</value> 
    115115                                                                        </property> 
    116116                                                                        <property name="powerUsage"> 
    117                                                                                 <value unit="watts">30</value> 
     117                                                                                <value unit="W">30</value> 
    118118                                                                        </property>                                              
    119119                                                                </parameter>     
  • xssim/trunk/src/test/rewolucja/schemas/example/coolemall/example3.xml

    r344 r349  
    2626                                        </resourceUnit> 
    2727                                        <computingResource class="Processor" type="i7"> 
    28                                         <profile> 
    29                                                 <powerProfile> 
    30                                                                 <parameter name="pState"> 
    31                                                                         <property name="name"> 
    32                                                                                 <value>P0</value> 
    33                                                                         </property>      
    34                                                                         <property name="frequency"> 
    35                                                                                 <value >3000</value> 
    36                                                                         </property>              
    37                                                                         <property name="voltage"> 
    38                                                                                 <value>1.3</value> 
    39                                                                         </property> 
    40                                                                         <property name="powerUsage"> 
    41                                                                                 <value>35</value> 
    42                                                                         </property>                                              
    43                                                                 </parameter> 
    44                                                                 <parameter name="pState"> 
    45                                                                         <property name="name"> 
    46                                                                                 <value>P1</value> 
    47                                                                         </property>      
    48                                                                         <property name="frequency"> 
    49                                                                                 <value>2666</value> 
    50                                                                         </property>              
    51                                                                         <property name="voltage"> 
    52                                                                                 <value>1.1</value> 
    53                                                                         </property> 
    54                                                                         <property name="powerUsage"> 
    55                                                                                 <value>30</value> 
    56                                                                         </property>                                              
    57                                                                 </parameter>     
    58                                                         </powerProfile> 
    59                                                 </profile> 
     28                                                <parameter name="speed"> 
     29                                                        <value>2</value> 
     30                                                </parameter> 
    6031                                                <computingResource class="Core" count="4"/> 
    6132                                        </computingResource> 
  • xssim/trunk/src/test/rewolucja/schemas/example/coolemall/example4.xml

    r335 r349  
    66                <description> 
    77        This short example presents how to describe computing resource location. 
    8         Simulated architecture consist of data center with 2 racks named rack1 and rack2, respectively. 
    9         Location of rack1 is defined using vector (4, 0, 2), while rack2 according to vector (6, 0, 2) 
     8        Simulated architecture consists of data center with 2 racks named rack1 and rack2, respectively. 
     9        Location of rack1 is defined using vector (4, 0, 2), while rack2 using vector (6, 0, 2) 
    1010                Rack1 contains 2 computing nodes - node11 and node12. Appropriate coordinates for node11 are (0, 0, 0) 
    1111                and for node12 (0, 1, 0). Rack2 contains 2 computing nodes named node21 and node22. Their location is defined as follows: 
    1212                (0, 0, 0) for node21 and (1, 0, 0) for node22. 
    1313                Using 3 coordinates allows to express location in various ways. It can be interpreted as a absolute placement in 3D, as well as the 
    14                 relative position according to the precedent computing resource. Moreover, it is possible to define only the arrangement of 
     14                relative position according to the parent computing resource. Moreover, it is possible to define only the arrangement of 
    1515                the computing resources by increasing only the value of one coordinate. 
    1616                In the following example, racks location is defined using relative positions (with respect to the data center), while 
  • xssim/trunk/src/test/rewolucja/schemas/example/coolemall/example7.xml

    r337 r349  
    66                <description> 
    77                The goal of this example is to introduce the templates usage.  
    8                 It focus on showing that appropriate templates may be included in various computing resource levels and moreover can be formed using other templates. 
    9                 Simulated architecture consist of data center with 2 racks named rack1 and rack2 respectively. 
     8                It focuses on showing that appropriate templates may be included on various computing resource levels and moreover can be formed using other templates. 
     9                Simulated architecture consists of data center with 2 racks named rack1 and rack2 respectively. 
    1010                Rack1 contains 2 computing nodes - node11 and node12, described in common way. 
    1111                Nodes in rack2 are defined using template. Node21 refers to template modelNodeA and,  
     
    4545                There are two processor templates named modelProcessorA (with cpu speed 2) and modelProcessorB (with cpu speed 1). 
    4646                There is also one computing node template denoted as modelNodeA, which contains 4 processors that refer to modelProcessorA template. 
    47                 That means that the given processors will be created according to the guidelines defined in template modelProcessorA (they will have speed equal 2). 
     47                That means that the given processors will be created according to the characteristics defined in template modelProcessorA (they will have speed equal 2). 
    4848                </description> 
    4949                <computingResourceTemplate class="ComputingNode" name="modelNodeA"> 
     
    5353                </computingResourceTemplate>     
    5454                <computingResourceTemplate class="Processor" name="modelProcessorA"> 
    55                         <parameter name="Speed"> 
     55                        <parameter name="speed"> 
    5656                                <value>2</value> 
    5757                        </parameter> 
    5858                </computingResourceTemplate> 
    5959                <computingResourceTemplate class="Processor" name="modelProcessorB"> 
    60                         <parameter name="Speed"> 
     60                        <parameter name="speed"> 
    6161                                <value>1</value> 
    6262                        </parameter> 
Note: See TracChangeset for help on using the changeset viewer.