source: xssim/trunk/src/test/rewolucja/schemas/example/coolemall/example1.xml @ 334

Revision 334, 2.3 KB checked in by wojtekp, 13 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="../../XSSimResSchema.xsd">
3
4        <timeEstimationPlugin>
5                <name>ExecTimeEstimationPlugin</name>
6        </timeEstimationPlugin>
7
8        <resources>
9                <description>
10                This basic example defines simple resource hierarchy within a single data center (named dataCenter). It consist of 4 racks
11                (with names created according to the name attribute and subsequent natural number).
12                Each of them contains 64 computing nodes (names will be generated using resource class and subsequent natural number)
13                with 2 processors. Speed of every processor is equal 2. All computing nodes have 12GB of memory and 4TB storage.
14                Task are submitted to the single cluster built on top of the data center. It is under the control of local scheduler
15                with FCFS scheduling policy. The commented out cluster definition is equal to the one above it
16                (it demonstrates alternative way of defining managed computing resources using "include" attribute).
17                </description>
18               
19                <computingResource class="DataCenter" name="dataCenter">
20                        <computingResource class="Rack" count="4" name="rack">
21                                <computingResource class="ComputingNode" count="64">
22                                        <resourceUnit class="Memory">
23                                                <amount unit="MB">12288</amount>
24                                        </resourceUnit>
25                                        <resourceUnit class="Storage">
26                                                <amount unit="MB">4194304</amount>
27                                        </resourceUnit>
28                                        <computingResource class="Processor" count="2">
29                                                <parameter name="Speed">
30                                                        <value>2</value>
31                                                </parameter>
32                                        </computingResource>
33                                </computingResource>
34                        </computingResource>
35                </computingResource>
36
37                <scheduler class="Cluster" name="cluster">
38                        <schedulingPlugin>
39                                <name>FCFSLocalSchedulingPlugin</name>
40                        </schedulingPlugin>     
41                        <managedComputingResources include="false">
42                                <resourceName>dataCenter</resourceName>
43                        </managedComputingResources>
44                </scheduler>
45               
46                <!--
47                <scheduler class="Cluster" id="cluster">
48                        <schedulingPlugin>
49                                <name>FCFSLocalSchedulingPlugin</name>
50                        </schedulingPlugin>             
51                        <managedComputingResource include="true">
52                                <resourceId>rack_0</resourceId>
53                                <resourceId>rack_1</resourceId>
54                                <resourceId>rack_2</resourceId>
55                                <resourceId>rack_3</resourceId>
56                        </managedComputingResource>
57                </scheduler>
58                 -->
59
60        </resources>
61       
62</environment>
Note: See TracBrowser for help on using the repository browser.