source: DCWoRMS/trunk/example/experiment5/resources5.xml @ 775

Revision 775, 4.7 KB checked in by wojtekp, 12 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/DCWormsResSchema.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="ComputingNode" 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.ComputingNodeWithFanEnergyEstimationPlugin</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                                        <airThroughputProfile>
35                                                <airThroughputStates>
36                                                        <airThroughputState>
37                                                                <name>FAN_ON_TURBO</name>
38                                                                <value>1500</value>
39                                                                <powerUsage>150</powerUsage>
40                                                        </airThroughputState>
41                                                        <airThroughputState>
42                                                                <name>FAN_ON</name>
43                                                                <value>1000</value>
44                                                                <powerUsage>30</powerUsage>
45                                                        </airThroughputState>
46                                                        <airThroughputState>
47                                                                <name>FAN_OFF</name>
48                                                                <value>0</value>
49                                                                <powerUsage>10</powerUsage>
50                                                        </airThroughputState>
51                                                </airThroughputStates>
52                                        </airThroughputProfile>
53                                </profile>
54                                <!-- Each of 2 computing nodes contains 4 processors-->
55                                <computingResource class="Processor" count="4">
56                                </computingResource>
57                        </computingResource>   
58                        <computingResource class="ComputingNode" count="2">
59                                <!-- Defines the computing node category - information can be used by user to facilitate the resource management process within various plugins -->
60                                <parameter name="category">
61                                        <value>B</value>
62                                </parameter>
63                                <profile>
64                                        <!-- Definition of computing node power profile -->
65                                        <powerProfile>
66                                                <!-- Reference to energy usage estimation plugin -->
67                                                <energyEstimationPlugin>
68                                                        <name>example.energy.ComputingNodeWithFanEnergyEstimationPlugin</name>
69                                                </energyEstimationPlugin>
70                                                <!-- Definition of supported power states and corresponding power consumption -->       
71                                                <!-- Units according to the user interpretation, however statistics chart generator module by default express the values in Watts -->   
72                                                <powerStates>
73                                                        <powerState>
74                                                                <name>ON</name>
75                                                                <powerUsage>850</powerUsage>
76                                                        </powerState>
77                                                        <powerState>
78                                                                <name>OFF</name>
79                                                                <powerUsage>0</powerUsage>
80                                                        </powerState>
81                                                </powerStates>                         
82                                        </powerProfile>
83                                        <airThroughputProfile>
84                                                <airThroughputStates>
85                                                        <airThroughputState>
86                                                                <name>FAN_ON_TURBO</name>
87                                                                <value>1500</value>
88                                                                <powerUsage>150</powerUsage>
89                                                        </airThroughputState>
90                                                        <airThroughputState>
91                                                                <name>FAN_ON</name>
92                                                                <value>1000</value>
93                                                                <powerUsage>30</powerUsage>
94                                                        </airThroughputState>
95                                                        <airThroughputState>
96                                                                <name>FAN_OFF</name>
97                                                                <value>0</value>
98                                                                <powerUsage>10</powerUsage>
99                                                        </airThroughputState>
100                                                </airThroughputStates>
101                                        </airThroughputProfile>
102                                </profile>
103                                <!-- Each of 2 computing nodes contains 4 processors-->
104                                <computingResource class="Processor" count="4">
105                                </computingResource>
106                        </computingResource>   
107                </computingResource>
108                <scheduler class="Cluster" name="cluster">
109                        <!-- Definition of scheduling plugin at cluster level -->
110                        <!-- Switch between scheduling/power management plugins to observe the difference in power consumption -->
111                        <schedulingPlugin>
112                                <!-- <name>example.localplugin.FCFSBF_RandomClusterPlugin</name> -->
113                                <name>example.localplugin.FCFSBF_FanManagementClusterPlugin</name>
114                        </schedulingPlugin>     
115                        <!-- Reference to managed resources - cluster manages resources belonging to the defined data center -->
116                        <managedComputingResources include="false">
117                                <resourceName>compRes</resourceName>
118                        </managedComputingResources>
119                </scheduler>   
120        </resources>
121
122</environment>
Note: See TracBrowser for help on using the repository browser.