1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
3 | xsi:noNamespaceSchemaLocation="../../simulator/schemas/resources/DCWormsResSchema.xsd"> |
---|
4 | |
---|
5 | <!-- Data center description with some basic characteristics --> |
---|
6 | <resources> |
---|
7 | <computingResource class="DataCenter" name="compRes"> |
---|
8 | <!-- Defined data center contains only 1 rack (if count attribute is not specified a default value=1 is assumed)--> |
---|
9 | <computingResource class="Rack"> |
---|
10 | <!-- Rack contains storage device with capacity=1000000 (unit according to the user interpretation)--> |
---|
11 | <resourceUnit class="storage"> |
---|
12 | <amount>1000000</amount> |
---|
13 | </resourceUnit> |
---|
14 | <!-- Rack consists of 12 computing nodes, 8 of one type and 4 of another --> |
---|
15 | <computingResource class="ComputingNode" count="8"> |
---|
16 | <!-- Each of 8 computing nodes contains memory unit=16384 (unit according to the user interpretation)--> |
---|
17 | <resourceUnit class="memory"> |
---|
18 | <amount>16384</amount> |
---|
19 | </resourceUnit> |
---|
20 | <!-- Each of 8 computing nodes contains 2 processors with processing speed=1 MIPS--> |
---|
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"> |
---|
28 | <!-- Each of 4 computing nodes contains memory unit=65536(unit according to the user interpretation)--> |
---|
29 | <resourceUnit class="memory"> |
---|
30 | <amount>65536</amount> |
---|
31 | </resourceUnit> |
---|
32 | <!-- Each of 4 computing nodes contains 2 processors with processing speed=2 MIPS--> |
---|
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"> |
---|
42 | <!-- Definition of scheduling plugin at cluster level --> |
---|
43 | <schedulingPlugin> |
---|
44 | <name>example.localplugin.FCFSBF_ClusterPlugin</name> |
---|
45 | </schedulingPlugin> |
---|
46 | <!-- Definition of available queues--> |
---|
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> |
---|
57 | <!-- Reference to managed resources - cluster manages defined rack and all resources belonging to it --> |
---|
58 | <managedComputingResources include="true"> |
---|
59 | <resourceName>Rack_0</resourceName> |
---|
60 | </managedComputingResources> |
---|
61 | </scheduler> |
---|
62 | </resources> |
---|
63 | |
---|
64 | </environment> |
---|