[477] | 1 | <environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
[603] | 2 | xsi:noNamespaceSchemaLocation="../../DCWoRMSResSchema.xsd"> |
---|
[477] | 3 | |
---|
| 4 | <!-- Plugin defined in class ExecTimeEstimationPlugin will be used to estimate task execution time --> |
---|
| 5 | <timeEstimationPlugin> |
---|
| 6 | <name>ExecTimeEstimationPlugin</name> |
---|
| 7 | </timeEstimationPlugin> |
---|
| 8 | |
---|
| 9 | <resources> |
---|
| 10 | <description> |
---|
| 11 | This basic example defines simple resource hierarchy within a single data center (named dataCenter). It consists of 4 racks |
---|
| 12 | (with names created according to the name attribute and subsequent natural number: rack_0, rack_1, rack_2 and rack_3). |
---|
| 13 | Each of them contains 64 computing nodes (names will be generated using resource class and subsequent natural number: |
---|
| 14 | ComputingNode_0, ComputingNode_1,...ComputingNode_255) with 2 processors. Speed of every processor is equal 2. |
---|
| 15 | All computing nodes have 12GB of memory and 4TB storage. |
---|
| 16 | Task are submitted to the single cluster built on top of the data center. It is under the control of local scheduler |
---|
| 17 | with FCFS scheduling policy. The commented out cluster definition is equal to the one above it |
---|
| 18 | (it demonstrates alternative way of defining managed computing resources using "include" attribute). |
---|
| 19 | </description> |
---|
| 20 | |
---|
| 21 | <computingResource class="DataCenter" name="dataCenter"> |
---|
| 22 | <computingResource class="Rack" count="4" name="rack"> |
---|
| 23 | <computingResource class="ComputingNode" count="64"> |
---|
| 24 | <resourceUnit class="Memory"> |
---|
| 25 | <amount unit="MB">12288</amount> |
---|
| 26 | </resourceUnit> |
---|
| 27 | <resourceUnit class="Storage"> |
---|
| 28 | <amount unit="MB">4194304</amount> |
---|
| 29 | </resourceUnit> |
---|
| 30 | <computingResource class="Processor" count="2"> |
---|
| 31 | <parameter name="speed"> |
---|
| 32 | <value>2</value> |
---|
| 33 | </parameter> |
---|
| 34 | </computingResource> |
---|
| 35 | </computingResource> |
---|
| 36 | </computingResource> |
---|
| 37 | </computingResource> |
---|
| 38 | |
---|
| 39 | <scheduler class="Cluster" name="cluster"> |
---|
| 40 | <schedulingPlugin> |
---|
| 41 | <name>FCFSLocalSchedulingPlugin</name> |
---|
| 42 | </schedulingPlugin> |
---|
| 43 | <managedComputingResources include="false"> |
---|
| 44 | <resourceName>dataCenter</resourceName> |
---|
| 45 | </managedComputingResources> |
---|
| 46 | </scheduler> |
---|
| 47 | |
---|
| 48 | <!-- |
---|
| 49 | <scheduler class="Cluster" name="cluster"> |
---|
| 50 | <schedulingPlugin> |
---|
| 51 | <name>FCFSLocalSchedulingPlugin</name> |
---|
| 52 | </schedulingPlugin> |
---|
| 53 | <managedComputingResources include="true"> |
---|
| 54 | <resourceName>rack_0</resourceName> |
---|
| 55 | <resourceName>rack_1</resourceName> |
---|
| 56 | <resourceName>rack_2</resourceName> |
---|
| 57 | <resourceName>rack_3</resourceName> |
---|
| 58 | </managedComputingResources> |
---|
| 59 | </scheduler> |
---|
| 60 | --> |
---|
| 61 | |
---|
| 62 | </resources> |
---|
| 63 | |
---|
| 64 | </environment> |
---|