CharafeddineMechalikh/PureEdgeSim

View on GitHub
PureEdgeSim/examples/Example7_settings/applications.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<applications>
    <application name="Health">
        <type>Hard Real-time</type> <!-- the type of this application, can be used to differentiate between applications during the orchestration, you can write anything -->
        <rate>20</rate> <!-- how many tasks are generated each minute -->
        <usage_percentage>20</usage_percentage> <!-- percentage of devices using this type of applications -->
        <latency>0.02</latency> <!-- latency in seconds -->
        <container_size>20</container_size> <!--application/container size in kilobytes -->
        <request_size>20</request_size> <!-- the offloading request that will be sent to the orchestrator and then to the device where the task will be offloaded in kilobytes -->
        <results_size>20</results_size> <!-- the results of the offlaoded task in kilobytes -->
        <task_length>500</task_length> <!--MI: million instructions -->
    </application>
    <application name="Augmented reality">
        <type>Soft Real-time</type>
        <rate>30</rate>
        <usage_percentage>30</usage_percentage>
        <latency>0.5</latency>
        <container_size>1500</container_size>
        <request_size>1500</request_size>
        <results_size>50</results_size>
        <task_length>5000</task_length>
    </application>
    <application name="HEAVY_COMP_APP">
        <type>Normal</type>
        <rate>3</rate>
        <usage_percentage>50</usage_percentage>
        <latency>300</latency> <!-- a great number represents no latency-sensitivity -->
        <container_size>2200</container_size>
        <request_size>2500</request_size>
        <results_size>200</results_size>
        <task_length>30000</task_length>
    </application>
</applications>