[477] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
[529] | 3 | xsi:noNamespaceSchemaLocation="../../simulator/schemas/resources/DCWormsResSchema.xsd"> |
---|
[477] | 4 | |
---|
| 5 | <!-- Data center description with some basic characteristics --> |
---|
| 6 | <resources> |
---|
| 7 | <computingResource class="DataCenter" name="compRes"> |
---|
[529] | 8 | <!-- Defined data center contains only 1 rack (if count attribute is not specified a default value=1 is assumed)--> |
---|
[477] | 9 | <computingResource class="Rack"> |
---|
[529] | 10 | <!-- Rack contains storage device with capacity=1000000 (unit according to the user interpretation)--> |
---|
[477] | 11 | <resourceUnit class="storage"> |
---|
| 12 | <amount>1000000</amount> |
---|
| 13 | </resourceUnit> |
---|
[529] | 14 | <!-- Rack consists of 12 computing nodes, 8 of one type and 4 of another --> |
---|
[477] | 15 | <computingResource class="ComputingNode" count="8"> |
---|
[529] | 16 | <!-- Each of 8 computing nodes contains memory unit=16384 (unit according to the user interpretation)--> |
---|
[477] | 17 | <resourceUnit class="memory"> |
---|
| 18 | <amount>16384</amount> |
---|
| 19 | </resourceUnit> |
---|
[529] | 20 | <!-- Each of 8 computing nodes contains 2 processors with processing speed=1 MIPS--> |
---|
[477] | 21 | <computingResource class="Processor" count="2"> |
---|
| 22 | <parameter name="speed"> |
---|
| 23 | <value>1</value> |
---|
| 24 | </parameter> |
---|
| 25 | </computingResource> |
---|
| 26 | </computingResource> |
---|
| 27 | <computingResource class="ComputingNode" count="4"> |
---|
[529] | 28 | <!-- Each of 4 computing nodes contains memory unit=65536(unit according to the user interpretation)--> |
---|
[477] | 29 | <resourceUnit class="memory"> |
---|
| 30 | <amount>65536</amount> |
---|
| 31 | </resourceUnit> |
---|
[529] | 32 | <!-- Each of 4 computing nodes contains 2 processors with processing speed=2 MIPS--> |
---|
[477] | 33 | <computingResource class="Processor" count="2"> |
---|
| 34 | <parameter name="speed"> |
---|
| 35 | <value>2</value> |
---|
| 36 | </parameter> |
---|
| 37 | </computingResource> |
---|
| 38 | </computingResource> |
---|
| 39 | </computingResource> |
---|
| 40 | </computingResource> |
---|
| 41 | <scheduler class="Cluster" name="cluster"> |
---|
[529] | 42 | <!-- Definition of scheduling plugin at cluster level --> |
---|
[477] | 43 | <schedulingPlugin> |
---|
[526] | 44 | <name>example.localplugin.FCFSBF_ClusterPlugin</name> |
---|
[477] | 45 | </schedulingPlugin> |
---|
[529] | 46 | <!-- Definition of available queues--> |
---|
[499] | 47 | <queues> |
---|
| 48 | <queue> |
---|
| 49 | <name>queue1</name> |
---|
| 50 | <priority>1</priority> |
---|
| 51 | </queue> |
---|
| 52 | <queue> |
---|
| 53 | <name>queue2</name> |
---|
| 54 | <priority>2</priority> |
---|
| 55 | </queue> |
---|
| 56 | </queues> |
---|
[529] | 57 | <!-- Reference to managed resources - cluster manages defined rack and all resources belonging to it --> |
---|
[499] | 58 | <managedComputingResources include="true"> |
---|
| 59 | <resourceName>Rack_0</resourceName> |
---|
| 60 | </managedComputingResources> |
---|
[477] | 61 | </scheduler> |
---|
| 62 | </resources> |
---|
| 63 | |
---|
| 64 | </environment> |
---|