source: DCWoRMS/trunk/simulator/schemas/resources/example/coolemall/example2.xml @ 603

Revision 603, 5.3 KB checked in by wojtekp, 12 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
1<environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2        xsi:noNamespaceSchemaLocation="../../DCWoRMSResSchema.xsd">
3       
4        <resources>
5                <description>
6                This example aims to show how to introduce energy-related parameters to the simulation environment
7                Simulated architecture consists of data center with 4 racks. Each of them contains 64 computing nodes with 2 processors.
8                Speed of every processor is equal 2. All computing nodes have 12GB of memory and 4TB storage.
9                For the detailed energy characteristics description, see the following comments.
10                Task are submitted to the single cluster built on top of the data center. It is under the control of local scheduler
11                with FCFS scheduling policy.
12                </description>
13               
14                <computingResource class="DataCenter" name="dataCenter">
15                        <computingResource class="Rack" count="4" name="rack">
16                                <computingResource class="ComputingNode" count="64">
17                                        <profile>
18                                                <!-- Definition of computing node power profile
19                                                According to it, there are two supported power states: ON and OFF
20                                                Computing node in ON state consumes 20 watts, while in OFF state 0.
21                                                Transition between ON and OFF state takes 30 seconds and consumes 30 watts,
22                                                while in the opposite direction energy consumption rate is equal 40 watts over 60 seconds.
23                                                 -->
24                                                <powerProfile>
25                                                        <!-- ComputingNodeEnergyEstimationPlugin will be used to customize estimation of energy consumptions to
26                                                        specific applications and hardware on computing node level-->
27                                                        <energyEstimationPlugin>
28                                                                <name>example.energy.ComputingNodeEnergyEstimationPlugin</name>
29                                                        </energyEstimationPlugin>
30                                                        <powerStates>
31                                                                <powerState>
32                                                                        <name>ON</name>
33                                                                        <powerUsage unit="W">20</powerUsage>
34                                                                        <transition>
35                                                                                <to>OFF</to>
36                                                                                <powerUsage unit="W">30</powerUsage>
37                                                                                <time unit="s">30</time>
38                                                                        </transition>
39                                                                </powerState>
40                                                                <powerState>
41                                                                        <name>OFF</name>
42                                                                        <powerUsage unit="W">0</powerUsage>
43                                                                        <transition>
44                                                                                <to>ON</to>
45                                                                                <powerUsage unit="W">40</powerUsage>
46                                                                                <time unit="s">60</time>
47                                                                        </transition>
48                                                                </powerState>
49                                                        </powerStates>
50                                                </powerProfile>
51                                                <!-- Definition of computing node air throughput profile (for instance fan related with the given node)
52                                                There are 4 states, characterized by name, air flow value and power draw.
53                                                 -->
54                                                <airThroughputProfile>
55                                                        <airThroughputStates>
56                                                                <airThroughputState>
57                                                                        <name>mode1</name>
58                                                                        <value unit="m3/h">105</value>
59                                                                        <powerUsage unit="W">10.3</powerUsage>
60                                                                </airThroughputState>
61                                                                <airThroughputState>
62                                                                        <name>mode2</name>
63                                                                        <value unit="m3/h">110</value>
64                                                                        <powerUsage unit="W">10.9</powerUsage>
65                                                                </airThroughputState>
66                                                                <airThroughputState>
67                                                                        <name>mode3</name>
68                                                                        <value unit="m3/h">115</value>
69                                                                        <powerUsage unit="W">11.4</powerUsage>
70                                                                </airThroughputState>
71                                                                <airThroughputState>
72                                                                        <name>mode4</name>
73                                                                        <value unit="m3/h">120</value>
74                                                                        <powerUsage unit="W">12.1</powerUsage>
75                                                                </airThroughputState>
76                                                        </airThroughputStates>
77                                                </airThroughputProfile>
78                                        </profile>
79                                        <computingResource class="Processor" count="2">
80                                                <profile>
81                                                         <!-- Definition of processor power profile
82                                                         According to it, processor can operate in two p-states: P0 and P1
83                             P0 p-state is characterized by operating frequency - 3000,
84                             voltage level - 1.3 and power usage - 35.
85                             Next p-state - P1 has the following values: 2666, 1.1, 30, respectively.
86                                                         -->
87                                                        <powerProfile>
88                                                                <!-- CPUEnergyEstimationPlugin will be used to estimate energy consumption on processor level.-->
89                                                                <energyEstimationPlugin>
90                                                                        <name>example.energy.CPUEnergyEstimationPlugin</name>
91                                                                </energyEstimationPlugin>
92                                                                <parameter name="pState">
93                                                                        <property name="name">
94                                                                                <value>P0</value>
95                                                                        </property>     
96                                                                        <property name="frequency">
97                                                                                <value unit="Hz">3000</value>
98                                                                        </property>             
99                                                                        <property name="voltage">
100                                                                                <value unit="V">1.3</value>
101                                                                        </property>
102                                                                        <property name="powerUsage">
103                                                                                <value unit="W">35</value>
104                                                                        </property>                                             
105                                                                </parameter>
106                                                                <parameter name="pState">
107                                                                        <property name="name">
108                                                                                <value>P1</value>
109                                                                        </property>     
110                                                                        <property name="frequency">
111                                                                                <value unit="H`">2666</value>
112                                                                        </property>             
113                                                                        <property name="voltage">
114                                                                                <value unit="V">1.1</value>
115                                                                        </property>
116                                                                        <property name="powerUsage">
117                                                                                <value unit="W">30</value>
118                                                                        </property>                                             
119                                                                </parameter>   
120                                                        </powerProfile>
121                                                </profile>
122                                        </computingResource>
123                                </computingResource>
124                        </computingResource>
125                </computingResource>
126               
127                <scheduler class="Cluster" name="cluster">
128                        <schedulingPlugin>
129                                <name>FCFSLocalSchedulingPlugin</name>
130                        </schedulingPlugin>             
131                        <managedComputingResources include="true">
132                                <resourceName>rack_0</resourceName>
133                                <resourceName>rack_1</resourceName>
134                                <resourceName>rack_2</resourceName>
135                                <resourceName>rack_3</resourceName>
136                        </managedComputingResources>
137                </scheduler>
138
139        </resources>
140</environment>
Note: See TracBrowser for help on using the repository browser.