[499] | 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"> |
---|
[499] | 4 | |
---|
| 5 | <!-- Data Center description with energy parameters --> |
---|
| 6 | <resources> |
---|
| 7 | <computingResource class="DataCenter" name="compRes"> |
---|
[529] | 8 | <!-- Data Center contains of 4 computing nodes belonging to two different classes (with different power consumption level)--> |
---|
[499] | 9 | <computingResource class="ComputingNode" count="2"> |
---|
[529] | 10 | <!-- Defines the computing node category - information can be used by user to facilitate the resource management process within various plugins --> |
---|
[499] | 11 | <parameter name="category"> |
---|
| 12 | <value>A</value> |
---|
| 13 | </parameter> |
---|
| 14 | <profile> |
---|
[529] | 15 | <!-- Definition of computing node power profile --> |
---|
[499] | 16 | <powerProfile> |
---|
[529] | 17 | <!-- Reference to energy usage estimation plugin --> |
---|
[499] | 18 | <energyEstimationPlugin> |
---|
| 19 | <name>example.energy.ComputingNodeEnergyEstimationPlugin</name> |
---|
| 20 | </energyEstimationPlugin> |
---|
[529] | 21 | <!-- Definition of supported power states and corresponding power consumption --> |
---|
| 22 | <!-- Units according to the user interpretation, however statistics chart generator module by default express the values in Watts --> |
---|
[499] | 23 | <powerStates> |
---|
| 24 | <powerState> |
---|
| 25 | <name>ON</name> |
---|
| 26 | <powerUsage>750</powerUsage> |
---|
| 27 | </powerState> |
---|
| 28 | <powerState> |
---|
| 29 | <name>OFF</name> |
---|
| 30 | <powerUsage>0</powerUsage> |
---|
| 31 | </powerState> |
---|
| 32 | </powerStates> |
---|
| 33 | </powerProfile> |
---|
| 34 | </profile> |
---|
[529] | 35 | <!-- Each of 2 computing nodes contains 4 processors--> |
---|
[499] | 36 | <computingResource class="Processor" count="4"> |
---|
| 37 | </computingResource> |
---|
| 38 | </computingResource> |
---|
| 39 | <computingResource class="ComputingNode" count="2"> |
---|
[529] | 40 | <!-- Defines the computing node category - information can be used by user to facilitate the resource management process within various plugins --> |
---|
[499] | 41 | <parameter name="category"> |
---|
| 42 | <value>B</value> |
---|
| 43 | </parameter> |
---|
| 44 | <profile> |
---|
[529] | 45 | <!-- Definition of computing node power profile --> |
---|
[499] | 46 | <powerProfile> |
---|
[529] | 47 | <!-- Reference to energy usage estimation plugin --> |
---|
[499] | 48 | <energyEstimationPlugin> |
---|
| 49 | <name>example.energy.ComputingNodeEnergyEstimationPlugin</name> |
---|
[529] | 50 | </energyEstimationPlugin> |
---|
| 51 | <!-- Definition of supported power states and corresponding power consumption --> |
---|
| 52 | <!-- Units according to the user interpretation, however statistics chart generator module by default express the values in Watts --> |
---|
[499] | 53 | <powerStates> |
---|
| 54 | <powerState> |
---|
| 55 | <name>ON</name> |
---|
| 56 | <powerUsage>850</powerUsage> |
---|
| 57 | </powerState> |
---|
| 58 | <powerState> |
---|
| 59 | <name>OFF</name> |
---|
| 60 | <powerUsage>0</powerUsage> |
---|
| 61 | </powerState> |
---|
| 62 | </powerStates> |
---|
| 63 | </powerProfile> |
---|
| 64 | </profile> |
---|
[529] | 65 | <!-- Each of 2 computing nodes contains 4 processors--> |
---|
[499] | 66 | <computingResource class="Processor" count="4"> |
---|
| 67 | </computingResource> |
---|
| 68 | </computingResource> |
---|
| 69 | </computingResource> |
---|
| 70 | <scheduler class="Cluster" name="cluster"> |
---|
[529] | 71 | <!-- Definition of scheduling plugin at cluster level --> |
---|
| 72 | <!-- Switch between scheduling/power management plugins to observe the difference in power consumption --> |
---|
[499] | 73 | <schedulingPlugin> |
---|
[529] | 74 | <!-- <name>example.localplugin.FCFSBF_RandomClusterPlugin</name> --> |
---|
[526] | 75 | <name>example.localplugin.FCFSBF_NodePowerManagementClusterPlugin</name> |
---|
[499] | 76 | </schedulingPlugin> |
---|
[529] | 77 | <!-- Reference to managed resources - cluster manages resources belonging to the defined data center --> |
---|
[499] | 78 | <managedComputingResources include="false"> |
---|
| 79 | <resourceName>compRes</resourceName> |
---|
| 80 | </managedComputingResources> |
---|
| 81 | </scheduler> |
---|
| 82 | </resources> |
---|
| 83 | |
---|
| 84 | </environment> |
---|