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

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