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

Revision 355, 2.5 KB checked in by wojtekp, 13 years ago (diff)
  • Property svn:mime-type set to text/plain
RevLine 
[321]1<environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2        xsi:noNamespaceSchemaLocation="../../XSSimResSchema.xsd">
3
[337]4        <!-- Plugin defined in class ExecTimeEstimationPlugin will be used to estimate task execution time -->
[323]5        <timeEstimationPlugin>
6                <name>ExecTimeEstimationPlugin</name>
7        </timeEstimationPlugin>
8
[321]9        <resources>
[326]10                <description>
[349]11                This basic example defines simple resource hierarchy within a single data center (named dataCenter). It consists of 4 racks
[337]12                (with names created according to the name attribute and subsequent natural number: rack_0, rack_1, rack_2 and rack_3).
13                Each of them contains 64 computing nodes (names will be generated using resource class and subsequent natural number:
14                ComputingNode_0, ComputingNode_1,...ComputingNode_255) with 2 processors. Speed of every processor is equal 2.
15                All computing nodes have 12GB of memory and 4TB storage.
[333]16                Task are submitted to the single cluster built on top of the data center. It is under the control of local scheduler
[326]17                with FCFS scheduling policy. The commented out cluster definition is equal to the one above it
[333]18                (it demonstrates alternative way of defining managed computing resources using "include" attribute).
[326]19                </description>
20               
21                <computingResource class="DataCenter" name="dataCenter">
22                        <computingResource class="Rack" count="4" name="rack">
[321]23                                <computingResource class="ComputingNode" count="64">
[326]24                                        <resourceUnit class="Memory">
25                                                <amount unit="MB">12288</amount>
26                                        </resourceUnit>
27                                        <resourceUnit class="Storage">
28                                                <amount unit="MB">4194304</amount>
29                                        </resourceUnit>
[321]30                                        <computingResource class="Processor" count="2">
[349]31                                                <parameter name="speed">
[321]32                                                        <value>2</value>
33                                                </parameter>
34                                        </computingResource>
35                                </computingResource>
36                        </computingResource>
37                </computingResource>
38
[326]39                <scheduler class="Cluster" name="cluster">
[321]40                        <schedulingPlugin>
41                                <name>FCFSLocalSchedulingPlugin</name>
42                        </schedulingPlugin>     
[326]43                        <managedComputingResources include="false">
44                                <resourceName>dataCenter</resourceName>
45                        </managedComputingResources>
[321]46                </scheduler>
47               
48                <!--
[355]49                <scheduler class="Cluster" name="cluster">
[321]50                        <schedulingPlugin>
51                                <name>FCFSLocalSchedulingPlugin</name>
52                        </schedulingPlugin>             
[355]53                        <managedComputingResources include="true">
54                                <resourceName>rack_0</resourceName>
55                                <resourceName>rack_1</resourceName>
56                                <resourceName>rack_2</resourceName>
57                                <resourceName>rack_3</resourceName>
58                        </managedComputingResources>
[321]59                </scheduler>
60                 -->
61
62        </resources>
63       
64</environment>
Note: See TracBrowser for help on using the repository browser.