Ignore:
Timestamp:
07/19/12 07:57:32 (13 years ago)
Author:
wojtekp
Message:
 
Location:
xssim/trunk/src/test/rewolucja/schemas/example/coolemall
Files:
3 edited

Legend:

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

    r326 r329  
    7979                                                <profile> 
    8080                                                         <!-- Definition of processor power profile 
    81                                                         According to it, processor can operate in two p-states: P0 and P1 
    82                                                         P0 p-state is characterized  
     81                                                         According to it, processor can operate in two p-states: P0 and P1 
     82                             P0 p-state is characterized by operating frequency - 3000, 
     83                             voltage level - 1.3 and power usage - 35.  
     84                             Next p-state - P1 has the following values: 2666, 1.1, 30 respectively. 
    8385                                                         --> 
    8486                                                        <powerProfile> 
     
    9395                                                                                <value>1.3</value> 
    9496                                                                        </property> 
    95                                                                         <property name="power"> 
     97                                                                        <property name="powerUsage"> 
    9698                                                                                <value>35</value> 
    9799                                                                        </property>                                              
     
    107109                                                                                <value>1.1</value> 
    108110                                                                        </property> 
    109                                                                         <property name="power"> 
     111                                                                        <property name="powerUsage"> 
    110112                                                                                <value>30</value> 
    111113                                                                        </property>                                              
  • xssim/trunk/src/test/rewolucja/schemas/example/coolemall/example4.xml

    r326 r329  
    44         
    55        <resources> 
     6                <description> 
     7        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) 
     10                Rack1 contains 2 computing nodes - node11 and node22. Appropriate coordinates for node11 are (0, 0, 0) 
     11                and for node12 (0, 1, 0). Rack2 contains 2 computing nodes named node21 and node22. Their location is defined as follows: 
     12                (0, 0, 0) for node21 and (1, 0, 0) for node22. 
     13                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 
     15                the computing resources by increasing only the value of one coordinate. 
     16                In the following example, racks location is defined using relative positions (with respect to the data center), while 
     17                for nodes the order of appearance is specified (with additional direction in which the order tends 
     18                (node12 is located after node11 and placed above it, while node22 is located on the right side of node21) 
     19                It has to be stressed that simulator only stores the location parameters and does not process them. Hence, their interpretation should be done by user. 
     20                </description> 
    621                <computingResource class="DataCenter" name="dataCenter"> 
    722                        <computingResource class="Rack" name="rack1"> 
    823                                <location> 
     24                                        <horizontal>4</horizontal> 
    925                                        <vertical>0</vertical> 
    10                                         <horizontal>4</horizontal> 
    1126                                        <depth>2</depth> 
    1227                                </location> 
    1328                                <computingResource class="ComputingNode" name="node11"> 
    1429                                        <location> 
     30                                                <horizontal>0</horizontal> 
    1531                                                <vertical>0</vertical> 
    16                                                 <horizontal>0</horizontal> 
    1732                                                <depth>0</depth> 
    1833                                        </location> 
     
    2035                                <computingResource class="ComputingNode" name="node12"> 
    2136                                        <location> 
     37                                                <horizontal>0</horizontal> 
    2238                                                <vertical>1</vertical> 
    23                                                 <horizontal>0</horizontal> 
    2439                                                <depth>0</depth> 
    2540                                        </location> 
     
    2843                        <computingResource class="Rack" name="rack2"> 
    2944                                <location> 
     45                                        <horizontal>6</horizontal> 
    3046                                        <vertical>0</vertical> 
    31                                         <horizontal>6</horizontal> 
    3247                                        <depth>2</depth> 
    3348                                </location> 
    3449                                <computingResource class="ComputingNode" name="node21"> 
    3550                                        <location> 
     51                                                <horizontal>0</horizontal> 
    3652                                                <vertical>0</vertical> 
    37                                                 <horizontal>0</horizontal> 
    3853                                                <depth>0</depth> 
    3954                                        </location> 
     
    4156                                <computingResource class="ComputingNode" name="node22"> 
    4257                                        <location> 
     58                                                <horizontal>1</horizontal> 
    4359                                                <vertical>0</vertical> 
    44                                                 <horizontal>1</horizontal> 
    4560                                                <depth>0</depth> 
    4661                                        </location> 
  • xssim/trunk/src/test/rewolucja/schemas/example/coolemall/example7.xml

    r326 r329  
    44         
    55        <resources> 
     6                <description> 
     7                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. 
     10                Rack1 contains 2 computing nodes - node11 and node22, described in common way. 
     11                Nodes in rack2 are defined using template. Node21 refers to template modelNodeA, 
     12                and thus will be created with respect to the specification given in that template. 
     13                Node22 contains 8 processors which definition is included in modeProcessorB template. 
     14                </description> 
    615                <computingResource class="DataCenter" name="dataCenter"> 
    716                        <computingResource class="Rack" name="rack1"> 
     
    3342         
    3443        <templates> 
     44                <description> 
     45                There are two processor templates named modelProcessorA (with speed 2) and modelProcessorB (with speed 1). 
     46                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. 
     48                </description> 
    3549                <computingResourceTemplate class="ComputingNode" name="modelNodeA"> 
    3650                        <computingResource class="Processor" count="4"> 
     
    3953                </computingResourceTemplate>     
    4054                <computingResourceTemplate class="Processor" name="modelProcessorA"> 
     55                        <parameter name="Speed"> 
     56                                <value>2</value> 
     57                        </parameter> 
    4158                </computingResourceTemplate> 
    4259                <computingResourceTemplate class="Processor" name="modelProcessorB"> 
     60                        <parameter name="Speed"> 
     61                                <value>1</value> 
     62                        </parameter> 
    4363                </computingResourceTemplate> 
    4464        </templates> 
Note: See TracChangeset for help on using the changeset viewer.