[1604] | 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 | <timeEstimationPlugin> |
---|
| 6 | <name>test.stencils.plugins.StencilTimeEstimationPlugin</name> |
---|
| 7 | </timeEstimationPlugin> |
---|
| 8 | <!-- Simple data center description --> |
---|
| 9 | <resources> |
---|
| 10 | <computingResource class="Node" name="node"> |
---|
| 11 | <profile> |
---|
| 12 | <powerProfile> |
---|
| 13 | <energyEstimationPlugin> |
---|
| 14 | <name>test.stencils.plugins.NodeEnergyEstimationPlugin</name> |
---|
| 15 | </energyEstimationPlugin> |
---|
| 16 | </powerProfile> |
---|
| 17 | </profile> |
---|
| 18 | |
---|
| 19 | <device class="CommunicationBus"> |
---|
| 20 | <profile> |
---|
| 21 | <powerProfile> |
---|
| 22 | <energyEstimationPlugin> |
---|
| 23 | <name>test.stencils.plugins.CommunicationBusEnergyEstimationPlugin</name> |
---|
| 24 | </energyEstimationPlugin> |
---|
| 25 | </powerProfile> |
---|
| 26 | </profile> |
---|
| 27 | <parameter name="sides"> |
---|
| 28 | <property name="name1"> |
---|
| 29 | <value>Processor_1</value> |
---|
| 30 | </property> |
---|
| 31 | <property name="name2"> |
---|
| 32 | <value>Processor_2</value> |
---|
| 33 | </property> |
---|
| 34 | </parameter> |
---|
| 35 | <parameter name="timeCost"> |
---|
| 36 | <property name="name1"> |
---|
| 37 | <value>10</value> |
---|
| 38 | </property> |
---|
| 39 | </parameter> |
---|
| 40 | <parameter name="energyCost"> |
---|
| 41 | <property name="name1"> |
---|
| 42 | <value>20</value> |
---|
| 43 | </property> |
---|
| 44 | </parameter> |
---|
| 45 | </device> |
---|
| 46 | |
---|
| 47 | <device class="CommunicationBus"> |
---|
| 48 | <profile> |
---|
| 49 | <powerProfile> |
---|
| 50 | <energyEstimationPlugin> |
---|
| 51 | <name>test.stencils.plugins.CommunicationBusEnergyEstimationPlugin</name> |
---|
| 52 | </energyEstimationPlugin> |
---|
| 53 | </powerProfile> |
---|
| 54 | </profile> |
---|
| 55 | <parameter name="sides"> |
---|
| 56 | <property name="name1"> |
---|
| 57 | <value>Processor_1</value> |
---|
| 58 | </property> |
---|
| 59 | <property name="name2"> |
---|
| 60 | <value>Processor_3</value> |
---|
| 61 | </property> |
---|
| 62 | </parameter> |
---|
| 63 | </device> |
---|
| 64 | |
---|
| 65 | <device class="CommunicationBus"> |
---|
| 66 | <profile> |
---|
| 67 | <powerProfile> |
---|
| 68 | <energyEstimationPlugin> |
---|
| 69 | <name>test.stencils.plugins.CommunicationBusEnergyEstimationPlugin</name> |
---|
| 70 | </energyEstimationPlugin> |
---|
| 71 | </powerProfile> |
---|
| 72 | </profile> |
---|
| 73 | <parameter name="sides"> |
---|
| 74 | <property name="name1"> |
---|
| 75 | <value>Processor_1</value> |
---|
| 76 | </property> |
---|
| 77 | <property name="name2"> |
---|
| 78 | <value>Processor_4</value> |
---|
| 79 | </property> |
---|
| 80 | </parameter> |
---|
| 81 | </device> |
---|
| 82 | |
---|
| 83 | <device class="CommunicationBus"> |
---|
| 84 | <profile> |
---|
| 85 | <powerProfile> |
---|
| 86 | <energyEstimationPlugin> |
---|
| 87 | <name>test.stencils.plugins.CommunicationBusEnergyEstimationPlugin</name> |
---|
| 88 | </energyEstimationPlugin> |
---|
| 89 | </powerProfile> |
---|
| 90 | </profile> |
---|
| 91 | <parameter name="sides"> |
---|
| 92 | <property name="name1"> |
---|
| 93 | <value>Processor_2</value> |
---|
| 94 | </property> |
---|
| 95 | <property name="name2"> |
---|
| 96 | <value>Processor_3</value> |
---|
| 97 | </property> |
---|
| 98 | </parameter> |
---|
| 99 | </device> |
---|
| 100 | |
---|
| 101 | <device class="CommunicationBus"> |
---|
| 102 | <profile> |
---|
| 103 | <powerProfile> |
---|
| 104 | <energyEstimationPlugin> |
---|
| 105 | <name>test.stencils.plugins.CommunicationBusEnergyEstimationPlugin</name> |
---|
| 106 | </energyEstimationPlugin> |
---|
| 107 | </powerProfile> |
---|
| 108 | </profile> |
---|
| 109 | <parameter name="sides"> |
---|
| 110 | <property name="name1"> |
---|
| 111 | <value>Processor_2</value> |
---|
| 112 | </property> |
---|
| 113 | <property name="name2"> |
---|
| 114 | <value>Processor_4</value> |
---|
| 115 | </property> |
---|
| 116 | </parameter> |
---|
| 117 | </device> |
---|
| 118 | |
---|
| 119 | <device class="CommunicationBus"> |
---|
| 120 | <profile> |
---|
| 121 | <powerProfile> |
---|
| 122 | <energyEstimationPlugin> |
---|
| 123 | <name>test.stencils.plugins.CommunicationBusEnergyEstimationPlugin</name> |
---|
| 124 | </energyEstimationPlugin> |
---|
| 125 | </powerProfile> |
---|
| 126 | </profile> |
---|
| 127 | <parameter name="sides"> |
---|
| 128 | <property name="name1"> |
---|
| 129 | <value>Processor_3</value> |
---|
| 130 | </property> |
---|
| 131 | <property name="name2"> |
---|
| 132 | <value>Processor_4</value> |
---|
| 133 | </property> |
---|
| 134 | </parameter> |
---|
| 135 | </device> |
---|
| 136 | <!-- Defined node contains 4 processors --> |
---|
| 137 | <computingResource class="Processor" count="4"> |
---|
| 138 | <profile> |
---|
| 139 | <powerProfile> |
---|
| 140 | <energyEstimationPlugin> |
---|
| 141 | <name>test.stencils.plugins.ProcessorEnergyEstimationPlugin</name> |
---|
| 142 | </energyEstimationPlugin> |
---|
| 143 | </powerProfile> |
---|
| 144 | </profile> |
---|
| 145 | </computingResource> |
---|
| 146 | |
---|
| 147 | </computingResource> |
---|
| 148 | |
---|
| 149 | <scheduler class="Cluster" name="cluster"> |
---|
| 150 | <!-- Definition of scheduling plugin at cluster level --> |
---|
| 151 | <schedulingPlugin> |
---|
| 152 | <name>test.stencils.plugins.Stencils_FCFSBF_RandomPlugin</name> |
---|
| 153 | </schedulingPlugin> |
---|
| 154 | <!-- Reference to managed resources - cluster manages resources belonging |
---|
| 155 | to the defined data center --> |
---|
| 156 | <managedComputingResources include="false"> |
---|
| 157 | <resourceName>node</resourceName> |
---|
| 158 | </managedComputingResources> |
---|
| 159 | </scheduler> |
---|
| 160 | </resources> |
---|
| 161 | |
---|
| 162 | </environment> |
---|