examples.Example9_settings.edge_devices.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pureedgesim Show documentation
Show all versions of pureedgesim Show documentation
A simualtor for edge computing environments
<?xml version="1.0"?> <edge_devices> <!-- here you can define the types of edge devices, and how many devices of this type there will be in this case , there are 4 types of devices(defined here), 30 percent of all devices will be of the first type, this percentage is defined here <percentage> --> <device arch="x86" os="linux" vmm="xen"> <!-- this is a smartphone, for example --> <mobility>true</mobility><!-- the device is mobile or fixed --> <speed>1.4</speed><!-- the speed of the device in meters per second : 1.4m/s equals 5km/h, 0 = non mobile--> <minPauseDuration>100</minPauseDuration><!-- the minimum delay before moving to a new location--> <maxPauseDuration>400</maxPauseDuration><!-- the maximum delay before moving to a new location--> <minMobilityDuration>60</minMobilityDuration><!-- the minimum delay before stopping--> <maxMobilityDuration>100</maxMobilityDuration><!-- the maximum delay before stopping--> <battery>true</battery> <!-- relies on battery? --> <percentage>30</percentage> <!-- percentage of this device type --> <batteryCapacity>18.75</batteryCapacity> <!-- battery capacity in Watt-Hour --> <idleConsumption>0.078</idleConsumption><!-- idle energy consumption/ second, default=0 .000010975 --> <maxConsumption>3.3</maxConsumption><!-- max energy consumption/second, when device cpu is use at 100% , default=0 .0011 --> <isOrchestrator>false</isOrchestrator> <!-- it has a task orchestrator or not --> <generateTasks>true</generateTasks> <!-- it generates data/tasks or not --> <hosts> <host> <core>8</core> <mips>25000</mips> <ram>4000</ram> <storage>128000</storage> <VMs> <VM> <core>8</core> <mips>25000</mips> <ram>4000</ram> <storage>256</storage> <!--256MB of caching memory used in example 6 --> </VM> </VMs> </host> </hosts> </device> <device arch="x86" os="linux" vmm="xen"> <!-- this is a raspberry pi model B+--> <mobility>false</mobility> <speed>0</speed> <minPauseDuration>0</minPauseDuration> <maxPauseDuration>0</maxPauseDuration> <minMobilityDuration>0</minMobilityDuration> <maxMobilityDuration>0</maxMobilityDuration> <battery>false</battery> <percentage>10</percentage> <batteryCapacity>0</batteryCapacity> <idleConsumption>1.6</idleConsumption> <maxConsumption>5.1</maxConsumption> <isOrchestrator>false</isOrchestrator> <generateTasks>false</generateTasks> <hosts> <host> <core>4</core> <mips>16000</mips> <ram>4000</ram> <storage>32000</storage> <VMs> <VM> <core>4</core> <mips>16000</mips> <ram>4000</ram> <storage>128</storage> <!--128MB of caching memory used in example 6 --> </VM> </VMs> </host> </hosts> </device> <device arch="x86" os="linux" vmm="xen"> <!-- this is a laptop for example --> <mobility>false</mobility> <speed>0</speed> <minPauseDuration>0</minPauseDuration> <maxPauseDuration>0</maxPauseDuration> <minMobilityDuration>0</minMobilityDuration> <maxMobilityDuration>0</maxMobilityDuration> <battery>true</battery> <percentage>20</percentage> <batteryCapacity>56.2</batteryCapacity> <idleConsumption>1.7</idleConsumption> <maxConsumption>23.6</maxConsumption> <isOrchestrator>false</isOrchestrator> <generateTasks>false</generateTasks> <hosts> <host> <core>8</core> <mips>110000</mips> <ram>8000</ram> <storage>1024000</storage> <VMs> <VM> <core>8</core> <mips>110000</mips> <ram>8000</ram> <storage>256</storage><!--256MB of caching memory used in example 6 --> </VM> </VMs> </host> </hosts> </device> <device arch="x86" os="linux" vmm="xen"> <mobility>false</mobility> <speed>0</speed> <minPauseDuration>0</minPauseDuration> <maxPauseDuration>0</maxPauseDuration> <minMobilityDuration>0</minMobilityDuration> <maxMobilityDuration>0</maxMobilityDuration> <battery>false</battery> <percentage>40</percentage> <batteryCapacity>0</batteryCapacity> <idleConsumption>0.0011</idleConsumption> <maxConsumption>0.036</maxConsumption> <isOrchestrator>false</isOrchestrator> <generateTasks>true</generateTasks> <hosts> <host> <core>2</core> <mips>70000</mips> <ram>4000</ram> <storage>0</storage> <VMs> <!-- this is a simple sensor that has no computing capacity --> </VMs> </host> </hosts> </device> </edge_devices>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy