source: DCWoRMS/branches/coolemall/example/experiment5/resources5.xml @ 1259

Revision 1259, 5.1 KB checked in by wojtekp, 11 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
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/DCwormsResSchemaNew.xsd">
4       
5        <!-- Data Center description with energy parameters -->
6        <resources>
7                <computingResource class="DataCenter" name="compRes">
8                        <!-- Data Center contains of 4 computing nodes belonging to two different classes (with different power consumption level)-->
9                        <computingResource class="Node" count="2">
10                                <!-- Defines the computing node category - information can be used by user to facilitate the resource management process within various plugins -->
11                                <parameter name="category">
12                                        <value>A</value>
13                                </parameter>
14                                <profile>
15                                        <!-- Definition of computing node power profile -->
16                                        <powerProfile>
17                                                <!-- Reference to energy usage estimation plugin -->
18                                                <energyEstimationPlugin>
19                                                        <name>example.energy.NodeEnergyEstimationPlugin</name>
20                                                </energyEstimationPlugin>       
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 -->
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>
35                                <device class="Fan">
36                                        <profile>
37                                                <powerProfile>
38                                                        <energyEstimationPlugin>
39                                                                <name>example.energy.device.FanEnergyEstimationPlugin</name>
40                                                        </energyEstimationPlugin>
41                                                </powerProfile>
42                                                <airThroughputProfile>
43                                                        <airThroughputStates>
44                                                                <airThroughputState>
45                                                                        <name>FAN_ON_TURBO</name>
46                                                                        <value>1500</value>
47                                                                        <powerUsage>150</powerUsage>
48                                                                </airThroughputState>
49                                                                <airThroughputState>
50                                                                        <name>ON</name>
51                                                                        <value>1000</value>
52                                                                        <powerUsage>30</powerUsage>
53                                                                </airThroughputState>
54                                                                <airThroughputState>
55                                                                        <name>OFF</name>
56                                                                        <value>0</value>
57                                                                        <powerUsage>10</powerUsage>
58                                                                </airThroughputState>
59                                                        </airThroughputStates>
60                                                </airThroughputProfile>
61                                        </profile>
62                                </device>
63                                <!-- Each of 2 computing nodes contains 4 processors-->
64                                <computingResource class="Processor" count="4">
65                                </computingResource>
66                        </computingResource>   
67                        <computingResource class="Node" count="2">
68                                <!-- Defines the computing node category - information can be used by user to facilitate the resource management process within various plugins -->
69                                <parameter name="category">
70                                        <value>B</value>
71                                </parameter>
72                                <profile>
73                                        <!-- Definition of computing node power profile -->
74                                        <powerProfile>
75                                                <!-- Reference to energy usage estimation plugin -->
76                                                <energyEstimationPlugin>
77                                                        <name>example.energy.NodeEnergyEstimationPlugin</name>
78                                                </energyEstimationPlugin>
79                                                <!-- Definition of supported power states and corresponding power consumption -->       
80                                                <!-- Units according to the user interpretation, however statistics chart generator module by default express the values in Watts -->   
81                                                <powerStates>
82                                                        <powerState>
83                                                                <name>ON</name>
84                                                                <powerUsage>850</powerUsage>
85                                                        </powerState>
86                                                        <powerState>
87                                                                <name>OFF</name>
88                                                                <powerUsage>0</powerUsage>
89                                                        </powerState>
90                                                </powerStates>                         
91                                        </powerProfile>
92                                </profile>
93                                <device class="Fan">
94                                        <profile>
95                                                <powerProfile>
96                                                        <energyEstimationPlugin>
97                                                                <name>example.energy.device.FanEnergyEstimationPlugin</name>
98                                                        </energyEstimationPlugin>
99                                                </powerProfile>
100                                                <airThroughputProfile>
101                                                        <airThroughputStates>
102                                                                <airThroughputState>
103                                                                        <name>ON_TURBO</name>
104                                                                        <value>1500</value>
105                                                                        <powerUsage>150</powerUsage>
106                                                                </airThroughputState>
107                                                                <airThroughputState>
108                                                                        <name>ON</name>
109                                                                        <value>1000</value>
110                                                                        <powerUsage>30</powerUsage>
111                                                                </airThroughputState>
112                                                                <airThroughputState>
113                                                                        <name>OFF</name>
114                                                                        <value>0</value>
115                                                                        <powerUsage>10</powerUsage>
116                                                                </airThroughputState>
117                                                        </airThroughputStates>
118                                                </airThroughputProfile>
119                                        </profile>
120                                </device>
121                                <!-- Each of 2 computing nodes contains 4 processors-->
122                                <computingResource class="Processor" count="4">
123                                </computingResource>
124                        </computingResource>   
125                </computingResource>
126                <scheduler class="Cluster" name="cluster">
127                        <!-- Definition of scheduling plugin at cluster level -->
128                        <!-- Switch between scheduling/power management plugins to observe the difference in power consumption -->
129                        <schedulingPlugin>
130                                <!-- <name>example.localplugin.Cluster_FCFSBF_RandomPlugin</name> -->
131                                <name>example.localplugin.FCFSBF_FanManagementClusterPlugin</name>
132                        </schedulingPlugin>     
133                        <!-- Reference to managed resources - cluster manages resources belonging to the defined data center -->
134                        <managedComputingResources include="false">
135                                <resourceName>compRes</resourceName>
136                        </managedComputingResources>
137                </scheduler>   
138        </resources>
139
140</environment>
Note: See TracBrowser for help on using the repository browser.