major modifications for v2.0 release

Release notes

1- Cloud server processing was simplified in the initial version, it is handled via cloudsim components now.

2- Cloud server manager, edge server manager, mobile device manager and vm allocation policy are used as abstract class in factory pattern to allow developers to use different business logic without modifying EdgeCloudSim source code.

3- The task and place types are no longer defined as enumeration. They are used as integer value in order to manipulate more place type without modifying enum variable.

4- Two sample applications (one of them is simple and the other one extended application) are added along with the corresponding matlab files to plot statistics.

5- Cloud server properties are added to the simulation settings file

6- New log items are added to simulation result files

7- Code refactoring is applied including the modification of comments
This commit is contained in:
Cagatay Sonmez
2018-09-10 14:22:27 +03:00
parent e01833bda6
commit d4545f009f
89 changed files with 10699 additions and 4689 deletions

4
scripts/sample_app2/compile.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
rm -rf ../../bin
mkdir ../../bin
javac -classpath "../../lib/cloudsim-4.0.jar:../../lib/commons-math3-3.6.1.jar:../../lib/colt.jar" -sourcepath ../../src ../../src/edu/boun/edgecloudsim/applications/sample_app2/MainApp.java -d ../../bin

View File

@ -0,0 +1,63 @@
<?xml version="1.0"?>
<applications>
<application name="AUGMENTED_REALITY">
<usage_percentage>30</usage_percentage>
<prob_cloud_selection>20</prob_cloud_selection>
<poisson_interarrival>2</poisson_interarrival>
<delay_sensitivity>0.9</delay_sensitivity>
<active_period>40</active_period>
<idle_period>20</idle_period>
<data_upload>1500</data_upload>
<data_download>25</data_download>
<task_length>9000</task_length>
<required_core>1</required_core>
<vm_utilization_on_edge>6</vm_utilization_on_edge>
<vm_utilization_on_cloud>0.6</vm_utilization_on_cloud>
<vm_utilization_on_mobile>0</vm_utilization_on_mobile>
</application>
<application name="HEALTH_APP">
<usage_percentage>20</usage_percentage>
<prob_cloud_selection>20</prob_cloud_selection>
<poisson_interarrival>3</poisson_interarrival>
<delay_sensitivity>0.7</delay_sensitivity>
<active_period>45</active_period>
<idle_period>90</idle_period>
<data_upload>20</data_upload>
<data_download>1250</data_download>
<task_length>3000</task_length>
<required_core>1</required_core>
<vm_utilization_on_edge>2</vm_utilization_on_edge>
<vm_utilization_on_cloud>0.2</vm_utilization_on_cloud>
<vm_utilization_on_mobile>0</vm_utilization_on_mobile>
</application>
<application name="HEAVY_COMP_APP">
<usage_percentage>20</usage_percentage>
<prob_cloud_selection>40</prob_cloud_selection>
<poisson_interarrival>20</poisson_interarrival>
<delay_sensitivity>0.1</delay_sensitivity>
<active_period>60</active_period>
<idle_period>120</idle_period>
<data_upload>2500</data_upload>
<data_download>200</data_download>
<task_length>45000</task_length>
<required_core>1</required_core>
<vm_utilization_on_edge>30</vm_utilization_on_edge>
<vm_utilization_on_cloud>3</vm_utilization_on_cloud>
<vm_utilization_on_mobile>0</vm_utilization_on_mobile>
</application>
<application name="INFOTAINMENT_APP">
<usage_percentage>30</usage_percentage>
<prob_cloud_selection>10</prob_cloud_selection>
<poisson_interarrival>7</poisson_interarrival>
<delay_sensitivity>0.3</delay_sensitivity>
<active_period>30</active_period>
<idle_period>45</idle_period>
<data_upload>25</data_upload>
<data_download>1000</data_download>
<task_length>15000</task_length>
<required_core>1</required_core>
<vm_utilization_on_edge>10</vm_utilization_on_edge>
<vm_utilization_on_cloud>1</vm_utilization_on_cloud>
<vm_utilization_on_mobile>0</vm_utilization_on_mobile>
</application>
</applications>

View File

@ -0,0 +1,36 @@
#default config file
simulation_time=30
warm_up_period=3
vm_load_check_interval=0.1
vm_location_check_interval=0.1
file_log_enabled=true
deep_file_log_enabled=false
min_number_of_mobile_devices=200
max_number_of_mobile_devices=2000
mobile_device_counter_size=200
wan_propogation_delay=0.1
lan_internal_delay=0.005
wlan_bandwidth=0
wan_bandwidth=0
gsm_bandwidth=0
#all the host on cloud runs on a single datacenter
number_of_host_on_cloud_datacenter=1
number_of_vm_on_cloud_host=4
core_for_cloud_vm=4
mips_for_cloud_vm=100000
ram_for_cloud_vm=32000
storage_for_cloud_vm=1000000
#use ',' for multiple values
orchestrator_policies=NETWORK_BASED,UTILIZATION_BASED,HYBRID
#use ',' for multiple values
simulation_scenarios=TWO_TIER_WITH_EO
#mean waiting time in seconds
attractiveness_L1_mean_waiting_time=480
attractiveness_L2_mean_waiting_time=300
attractiveness_L3_mean_waiting_time=120

View File

@ -0,0 +1,983 @@
<?xml version="1.0"?>
<edge_devices>
<datacenter arch="x86" os="Linux" vmm="Xen">
<costPerBw>0.1</costPerBw>
<costPerSec>3.0</costPerSec>
<costPerMem>0.05</costPerMem>
<costPerStorage>0.1</costPerStorage>
<location>
<x_pos>1</x_pos>
<y_pos>1</y_pos>
<wlan_id>0</wlan_id>
<attractiveness>0</attractiveness>
</location>
<hosts>
<host>
<core>16</core>
<mips>80000</mips>
<ram>16000</ram>
<storage>400000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
</VMs>
</host>
</hosts>
</datacenter>
<datacenter arch="x86" os="Linux" vmm="Xen">
<costPerBw>0.1</costPerBw>
<costPerSec>3.0</costPerSec>
<costPerMem>0.05</costPerMem>
<costPerStorage>0.1</costPerStorage>
<location>
<x_pos>2</x_pos>
<y_pos>2</y_pos>
<wlan_id>1</wlan_id>
<attractiveness>0</attractiveness>
</location>
<hosts>
<host>
<core>16</core>
<mips>80000</mips>
<ram>16000</ram>
<storage>400000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
</VMs>
</host>
</hosts>
</datacenter>
<datacenter arch="x86" os="Linux" vmm="Xen">
<costPerBw>0.1</costPerBw>
<costPerSec>3.0</costPerSec>
<costPerMem>0.05</costPerMem>
<costPerStorage>0.1</costPerStorage>
<location>
<x_pos>3</x_pos>
<y_pos>3</y_pos>
<wlan_id>2</wlan_id>
<attractiveness>1</attractiveness>
</location>
<hosts>
<host>
<core>16</core>
<mips>80000</mips>
<ram>16000</ram>
<storage>400000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
</VMs>
</host>
</hosts>
</datacenter>
<datacenter arch="x86" os="Linux" vmm="Xen">
<costPerBw>0.1</costPerBw>
<costPerSec>3.0</costPerSec>
<costPerMem>0.05</costPerMem>
<costPerStorage>0.1</costPerStorage>
<location>
<x_pos>4</x_pos>
<y_pos>4</y_pos>
<wlan_id>3</wlan_id>
<attractiveness>1</attractiveness>
</location>
<hosts>
<host>
<core>16</core>
<mips>80000</mips>
<ram>16000</ram>
<storage>400000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
</VMs>
</host>
</hosts>
</datacenter>
<datacenter arch="x86" os="Linux" vmm="Xen">
<costPerBw>0.1</costPerBw>
<costPerSec>3.0</costPerSec>
<costPerMem>0.05</costPerMem>
<costPerStorage>0.1</costPerStorage>
<location>
<x_pos>5</x_pos>
<y_pos>5</y_pos>
<wlan_id>4</wlan_id>
<attractiveness>1</attractiveness>
</location>
<hosts>
<host>
<core>16</core>
<mips>80000</mips>
<ram>16000</ram>
<storage>400000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
</VMs>
</host>
</hosts>
</datacenter>
<datacenter arch="x86" os="Linux" vmm="Xen">
<costPerBw>0.1</costPerBw>
<costPerSec>3.0</costPerSec>
<costPerMem>0.05</costPerMem>
<costPerStorage>0.1</costPerStorage>
<location>
<x_pos>6</x_pos>
<y_pos>6</y_pos>
<wlan_id>5</wlan_id>
<attractiveness>1</attractiveness>
</location>
<hosts>
<host>
<core>16</core>
<mips>80000</mips>
<ram>16000</ram>
<storage>400000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
</VMs>
</host>
</hosts>
</datacenter>
<datacenter arch="x86" os="Linux" vmm="Xen">
<costPerBw>0.1</costPerBw>
<costPerSec>3.0</costPerSec>
<costPerMem>0.05</costPerMem>
<costPerStorage>0.1</costPerStorage>
<location>
<x_pos>7</x_pos>
<y_pos>7</y_pos>
<wlan_id>6</wlan_id>
<attractiveness>2</attractiveness>
</location>
<hosts>
<host>
<core>16</core>
<mips>80000</mips>
<ram>16000</ram>
<storage>400000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
</VMs>
</host>
</hosts>
</datacenter>
<datacenter arch="x86" os="Linux" vmm="Xen">
<costPerBw>0.1</costPerBw>
<costPerSec>3.0</costPerSec>
<costPerMem>0.05</costPerMem>
<costPerStorage>0.1</costPerStorage>
<location>
<x_pos>8</x_pos>
<y_pos>8</y_pos>
<wlan_id>7</wlan_id>
<attractiveness>2</attractiveness>
</location>
<hosts>
<host>
<core>16</core>
<mips>80000</mips>
<ram>16000</ram>
<storage>400000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
</VMs>
</host>
</hosts>
</datacenter>
<datacenter arch="x86" os="Linux" vmm="Xen">
<costPerBw>0.1</costPerBw>
<costPerSec>3.0</costPerSec>
<costPerMem>0.05</costPerMem>
<costPerStorage>0.1</costPerStorage>
<location>
<x_pos>9</x_pos>
<y_pos>9</y_pos>
<wlan_id>8</wlan_id>
<attractiveness>2</attractiveness>
</location>
<hosts>
<host>
<core>16</core>
<mips>80000</mips>
<ram>16000</ram>
<storage>400000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
</VMs>
</host>
</hosts>
</datacenter>
<datacenter arch="x86" os="Linux" vmm="Xen">
<costPerBw>0.1</costPerBw>
<costPerSec>3.0</costPerSec>
<costPerMem>0.05</costPerMem>
<costPerStorage>0.1</costPerStorage>
<location>
<x_pos>10</x_pos>
<y_pos>10</y_pos>
<wlan_id>9</wlan_id>
<attractiveness>2</attractiveness>
</location>
<hosts>
<host>
<core>16</core>
<mips>80000</mips>
<ram>16000</ram>
<storage>400000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
</VMs>
</host>
</hosts>
</datacenter>
<datacenter arch="x86" os="Linux" vmm="Xen">
<costPerBw>0.1</costPerBw>
<costPerSec>3.0</costPerSec>
<costPerMem>0.05</costPerMem>
<costPerStorage>0.1</costPerStorage>
<location>
<x_pos>11</x_pos>
<y_pos>11</y_pos>
<wlan_id>10</wlan_id>
<attractiveness>2</attractiveness>
</location>
<hosts>
<host>
<core>16</core>
<mips>80000</mips>
<ram>16000</ram>
<storage>400000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
</VMs>
</host>
</hosts>
</datacenter>
<datacenter arch="x86" os="Linux" vmm="Xen">
<costPerBw>0.1</costPerBw>
<costPerSec>3.0</costPerSec>
<costPerMem>0.05</costPerMem>
<costPerStorage>0.1</costPerStorage>
<location>
<x_pos>12</x_pos>
<y_pos>12</y_pos>
<wlan_id>11</wlan_id>
<attractiveness>2</attractiveness>
</location>
<hosts>
<host>
<core>16</core>
<mips>80000</mips>
<ram>16000</ram>
<storage>400000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
</VMs>
</host>
</hosts>
</datacenter>
<datacenter arch="x86" os="Linux" vmm="Xen">
<costPerBw>0.1</costPerBw>
<costPerSec>3.0</costPerSec>
<costPerMem>0.05</costPerMem>
<costPerStorage>0.1</costPerStorage>
<location>
<x_pos>13</x_pos>
<y_pos>13</y_pos>
<wlan_id>12</wlan_id>
<attractiveness>2</attractiveness>
</location>
<hosts>
<host>
<core>16</core>
<mips>80000</mips>
<ram>16000</ram>
<storage>400000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
</VMs>
</host>
</hosts>
</datacenter>
<datacenter arch="x86" os="Linux" vmm="Xen">
<costPerBw>0.1</costPerBw>
<costPerSec>3.0</costPerSec>
<costPerMem>0.05</costPerMem>
<costPerStorage>0.1</costPerStorage>
<location>
<x_pos>14</x_pos>
<y_pos>14</y_pos>
<wlan_id>13</wlan_id>
<attractiveness>2</attractiveness>
</location>
<hosts>
<host>
<core>16</core>
<mips>80000</mips>
<ram>16000</ram>
<storage>400000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>10000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
</VMs>
</host>
</hosts>
</datacenter>
</edge_devices>

View File

@ -0,0 +1,53 @@
%--------------------------------------------------------------
%description
% returns a value according to the given argumentssss
%--------------------------------------------------------------
function [ret_val] = getConfiguration(argType)
if(argType == 1)
ret_val = 'D:\sim_results';
elseif(argType == 2)
ret_val = 1; %Number of iterations
elseif(argType == 3)
ret_val = 200; %min number of mobile device
elseif(argType == 4)
ret_val = 200; %step size of mobile device count
elseif(argType == 5)
ret_val =2000; %max number of mobile device
elseif(argType == 6)
ret_val = 1; %xTickLabelCoefficient
elseif(argType == 7)
ret_val = {'UTILIZATION_BASED','NETWORK_BASED','HYBRID'};
elseif(argType == 8)
ret_val = {'utilization','bw','hybrid'};
elseif(argType == 9)
ret_val=[10 3 12 12]; %position of figure
elseif(argType == 10)
ret_val = 'Number of Mobile Devices'; %Common text for x axis
elseif(argType == 11)
ret_val = 1; %return 1 if you want to save figure as pdf
elseif(argType == 12)
ret_val = 0; %return 1 if you want to plot errors
elseif(argType == 20)
ret_val=1; %return 1 if graph is plotted colerful
elseif(argType == 21)
ret_val=[0.55 0 0]; %color of first line
elseif(argType == 22)
ret_val=[0 0.15 0.6]; %color of second line
elseif(argType == 23)
ret_val=[0 0.23 0]; %color of third line
elseif(argType == 24)
ret_val=[0.6 0 0.6]; %color of fourth line
elseif(argType == 25)
ret_val=[0.08 0.08 0.08]; %color of fifth line
elseif(argType == 26)
ret_val=[0 0.8 0.8]; %color of sixth line
elseif(argType == 27)
ret_val=[0.8 0.4 0]; %color of seventh line
elseif(argType == 28)
ret_val=[0.8 0.8 0]; %color of eighth line
elseif(argType == 40)
ret_val={'-k*','-ko','-ks','-kv','-kp','-kd','-kx','-kh'}; %line style (marker) of the colerless line
elseif(argType == 50)
ret_val={':k*',':ko',':ks',':kv',':kp',':kd',':kx',':kh'}; %line style (marker) of the colerfull line
end
end

View File

@ -0,0 +1,21 @@
function [] = plotAvgFailedTask()
plotGenericResult(1, 2, 'Failed Tasks (%)', 'ALL_APPS', 'percentage_for_all');
plotGenericResult(1, 2, {'Failed Tasks for';'Augmented Reality App (%)'}, 'AUGMENTED_REALITY', 'percentage_for_all');
plotGenericResult(1, 2, 'Failed Tasks for Health App (%)', 'HEALTH_APP', 'percentage_for_all');
plotGenericResult(1, 2, {'Failed Tasks for';'Infotainment App (%)'}, 'INFOTAINMENT_APP', 'percentage_for_all');
plotGenericResult(1, 2, 'Failed Tasks for Heavy Comp. App (%)', 'HEAVY_COMP_APP', 'percentage_for_all');
plotGenericResult(2, 2, 'Failed Tasks on Edge (%)', 'ALL_APPS', 'percentage_for_all');
plotGenericResult(2, 2, {'Failed Tasks on Edge';'for Augmented Reality App (%)'}, 'AUGMENTED_REALITY', 'percentage_for_all');
plotGenericResult(2, 2, 'Failed Tasks on Edge for Health App (%)', 'HEALTH_APP', 'percentage_for_all');
plotGenericResult(2, 2, 'Failed Tasks on Edge for Infotainment App (%)', 'INFOTAINMENT_APP', 'percentage_for_all');
plotGenericResult(2, 2, 'Failed Tasks on Edge for Heavy Comp. App (%)', 'HEAVY_COMP_APP', 'percentage_for_all');
plotGenericResult(3, 2, 'Failed Tasks on Cloud (%)', 'ALL_APPS', 'percentage_for_all');
plotGenericResult(3, 2, {'Failed Tasks on Cloud for';'Augmented Reality App (%)'}, 'AUGMENTED_REALITY', 'percentage_for_all');
plotGenericResult(3, 2, 'Failed Tasks on Cloud for Health App (%)', 'HEALTH_APP', 'percentage_for_all');
plotGenericResult(3, 2, 'Failed Tasks on Cloud for Infotainment App (%)', 'INFOTAINMENT_APP', 'percentage_for_all');
plotGenericResult(3, 2, 'Failed Tasks on Cloud for Heavy Comp. App (%)', 'HEAVY_COMP_APP', 'percentage_for_all');
end

View File

@ -0,0 +1,27 @@
function [] = plotAvgNetworkDelay()
plotGenericResult(1, 7, 'Average Network Delay (sec)', 'ALL_APPS', '');
plotGenericResult(1, 7, {'Average Network Delay';'for Augmented Reality App (sec)'}, 'AUGMENTED_REALITY', '');
plotGenericResult(1, 7, 'Average Network Delay for Health App (sec)', 'HEALTH_APP', '');
plotGenericResult(1, 7, {'Average Network Delay';'for Infotainment App (sec)'}, 'INFOTAINMENT_APP', '');
plotGenericResult(1, 7, {'Average Network Delay';'for Heavy Comp. App (sec)'}, 'HEAVY_COMP_APP', '');
plotGenericResult(5, 1, 'Average WLAN Delay (sec)', 'ALL_APPS', '');
plotGenericResult(5, 1, {'Average WLAN Delay';'for Augmented Reality App (sec)'}, 'AUGMENTED_REALITY', '');
plotGenericResult(5, 1, 'Average WLAN Delay for Health App (sec)', 'HEALTH_APP', '');
plotGenericResult(5, 1, {'Average WLAN Delay';'for Infotainment App (sec)'}, 'INFOTAINMENT_APP', '');
plotGenericResult(5, 1, {'Average WLAN Delay';'for Heavy Comp. App %(sec)'}, 'HEAVY_COMP_APP', '');
plotGenericResult(5, 2, 'Average MAN Delay (sec)', 'ALL_APPS', '');
plotGenericResult(5, 2, {'Average MAN Delay';'for Augmented Reality App (sec)'}, 'AUGMENTED_REALITY', '');
plotGenericResult(5, 2, 'Average MAN Delay for Health App (sec)', 'HEALTH_APP', '');
plotGenericResult(5, 2, {'Average MAN Delay';'for Infotainment App (sec)'}, 'INFOTAINMENT_APP', '');
plotGenericResult(5, 2, {'Average MAN Delay';'for Heavy Comp. App (sec)'}, 'HEAVY_COMP_APP', '');
plotGenericResult(5, 3, 'Average WAN Delay (sec)', 'ALL_APPS', '');
plotGenericResult(5, 3, {'Average WAN Delay';'for Augmented Reality App (sec)'}, 'AUGMENTED_REALITY', '');
plotGenericResult(5, 3, 'Average WAN Delay for Health App (sec)', 'HEALTH_APP', '');
plotGenericResult(5, 3, {'Average WAN Delay';'for Infotainment App (sec)'}, 'INFOTAINMENT_APP', '');
plotGenericResult(5, 3, {'Average WAN Delay';'for Heavy Comp. App (sec)'}, 'HEAVY_COMP_APP', '');
end

View File

@ -0,0 +1,21 @@
function [] = plotAvgProcessingTime()
plotGenericResult(1, 6, 'Processing Time (sec)', 'ALL_APPS', '');
plotGenericResult(1, 6, 'Processing Time for Augmented Reality App (sec)', 'AUGMENTED_REALITY', '');
plotGenericResult(1, 6, 'Processing Time for Health App (sec)', 'HEALTH_APP', '');
plotGenericResult(1, 6, 'Processing Time for Infotainment App (sec)', 'INFOTAINMENT_APP', '');
plotGenericResult(1, 6, 'Processing Time for Heavy Comp. App (sec)', 'HEAVY_COMP_APP', '');
plotGenericResult(2, 6, 'Processing Time on Edge (sec)', 'ALL_APPS', '');
plotGenericResult(2, 6, {'Processing Time on Edge';'for Augmented Reality App (sec)'}, 'AUGMENTED_REALITY', '');
plotGenericResult(2, 6, {'Processing Time on Edge';'for Health App (sec)'}, 'HEALTH_APP', '');
plotGenericResult(2, 6, {'Processing Time on Edge';'for Infotainment App (sec)'}, 'INFOTAINMENT_APP', '');
plotGenericResult(2, 6, {'Processing Time on Edge';'for Heavy Computation App (sec)'}, 'HEAVY_COMP_APP', '');
plotGenericResult(3, 6, 'Processing Time on Cloud (sec)', 'ALL_APPS', '');
plotGenericResult(3, 6, {'Processing Time on Cloud';'for Augmented Reality App (sec)'}, 'AUGMENTED_REALITY', '');
plotGenericResult(3, 6, {'Processing Time on Cloud';'for Health App (sec)'}, 'HEALTH_APP', '');
plotGenericResult(3, 6, {'Processing Time on Cloud';'for Infotainment App (sec)'}, 'INFOTAINMENT_APP', '');
plotGenericResult(3, 6, {'Processing Time on Cloud';'for Heavy Computation App (sec)'}, 'HEAVY_COMP_APP', '');
end

View File

@ -0,0 +1,21 @@
function [] = plotAvgServiceTime()
plotGenericResult(1, 5, 'Service Time (sec)', 'ALL_APPS', '');
plotGenericResult(1, 5, {'Service Time for';'Augmented Reality App (sec)'}, 'AUGMENTED_REALITY', '');
plotGenericResult(1, 5, 'Service Time for Health App (sec)', 'HEALTH_APP', '');
plotGenericResult(1, 5, 'Service Time for Infotainment App (sec)', 'INFOTAINMENT_APP', '');
plotGenericResult(1, 5, {'Service Time for';'Compute Intensive App (sec)'}, 'HEAVY_COMP_APP', '');
plotGenericResult(2, 5, 'Service Time on Edge (sec)', 'ALL_APPS', '');
plotGenericResult(2, 5, {'Service Time on Edge';'for Augmented Reality App (sec)'}, 'AUGMENTED_REALITY', '');
plotGenericResult(2, 5, 'Service Time on Edge for Health App (sec)', 'HEALTH_APP', '');
plotGenericResult(2, 5, {'Service Time on Edge';'for Infotainment App (sec)'}, 'INFOTAINMENT_APP', '');
plotGenericResult(2, 5, {'Service Time on Edge';'for Heavy Comp. App (sec)'}, 'HEAVY_COMP_APP', '');
plotGenericResult(3, 5, 'Service Time on Cloud (sec)', 'ALL_APPS', '');
plotGenericResult(3, 5, {'Service Time on Cloud';'for Augmented Reality App (sec)'}, 'AUGMENTED_REALITY', '');
plotGenericResult(3, 5, 'Service Time on Cloud for Health App (sec)', 'HEALTH_APP', '');
plotGenericResult(3, 5, {'Service Time on Cloud';'for Infotainment App (sec)'}, 'INFOTAINMENT_APP', '');
plotGenericResult(3, 5, {'Service Time on Cloud';'for Heavy Comp. App (sec)'}, 'HEAVY_COMP_APP', '');
end

View File

@ -0,0 +1,9 @@
function [] = plotAvgVmUtilization()
plotGenericResult(2, 8, 'Average VM Utilization (%)', 'ALL_APPS', '');
plotGenericResult(2, 8, {'Average VM Utilization';'for Augmented Reality App (%)'}, 'AUGMENTED_REALITY', '');
plotGenericResult(2, 8, 'Average VM Utilization for Health App (%)', 'HEALTH_APP', '');
plotGenericResult(2, 8, 'Average VM Utilization for Infotainment App (%)', 'INFOTAINMENT_APP', '');
plotGenericResult(2, 8, 'Average VM Utilization for Heavy Comp. App (%)', 'HEAVY_COMP_APP', '');
end

View File

@ -0,0 +1,149 @@
function [] = plotGenericResult(rowOfset, columnOfset, yLabel, appType, calculatePercentage)
folderPath = getConfiguration(1);
numOfSimulations = getConfiguration(2);
startOfMobileDeviceLoop = getConfiguration(3);
stepOfMobileDeviceLoop = getConfiguration(4);
endOfMobileDeviceLoop = getConfiguration(5);
xTickLabelCoefficient = getConfiguration(6);
scenarioType = getConfiguration(7);
legends = getConfiguration(8);
numOfMobileDevices = (endOfMobileDeviceLoop - startOfMobileDeviceLoop)/stepOfMobileDeviceLoop + 1;
pos=getConfiguration(9);
all_results = zeros(numOfSimulations, size(scenarioType,2), numOfMobileDevices);
min_results = zeros(size(scenarioType,2), numOfMobileDevices);
max_results = zeros(size(scenarioType,2), numOfMobileDevices);
for s=1:numOfSimulations
for i=1:size(scenarioType,2)
for j=1:numOfMobileDevices
try
mobileDeviceNumber = startOfMobileDeviceLoop + stepOfMobileDeviceLoop * (j-1);
filePath = strcat(folderPath,'\ite',int2str(s),'\SIMRESULT_TWO_TIER_WITH_EO_',char(scenarioType(i)),'_',int2str(mobileDeviceNumber),'DEVICES_',appType,'_GENERIC.log');
readData = dlmread(filePath,';',rowOfset,0);
value = readData(1,columnOfset);
if(strcmp(calculatePercentage,'percentage_for_all'))
readData = dlmread(filePath,';',1,0);
totalTask = readData(1,1)+readData(1,2);
value = (100 * value) / totalTask;
elseif(strcmp(calculatePercentage,'percentage_for_completed'))
readData = dlmread(filePath,';',1,0);
totalTask = readData(1,1);
value = (100 * value) / totalTask;
elseif(strcmp(calculatePercentage,'percentage_for_failed'))
readData = dlmread(filePath,';',1,0);
totalTask = readData(1,2);
value = (100 * value) / totalTask;
end
all_results(s,i,j) = value;
catch err
error(err)
end
end
end
end
if(numOfSimulations == 1)
results = all_results;
else
results = mean(all_results); %still 3d matrix but 1xMxN format
end
results = squeeze(results); %remove singleton dimensions
for i=1:size(scenarioType,2)
for j=1:numOfMobileDevices
x=all_results(:,i,j); % Create Data
SEM = std(x)/sqrt(length(x)); % Standard Error
ts = tinv([0.05 0.95],length(x)-1); % T-Score
CI = mean(x) + ts*SEM; % Confidence Intervals
if(CI(1) < 0)
CI(1) = 0;
end
if(CI(2) < 0)
CI(2) = 0;
end
min_results(i,j) = results(i,j) - CI(1);
max_results(i,j) = CI(2) - results(i,j);
end
end
types = zeros(1,numOfMobileDevices);
for i=1:numOfMobileDevices
types(i)=startOfMobileDeviceLoop+((i-1)*stepOfMobileDeviceLoop);
end
hFig = figure;
set(hFig, 'Units','centimeters');
set(hFig, 'Position',pos);
set(0,'DefaultAxesFontName','Times New Roman');
set(0,'DefaultTextFontName','Times New Roman');
set(0,'DefaultAxesFontSize',10);
set(0,'DefaultTextFontSize',12);
if(getConfiguration(20) == 1)
for i=1:1:numOfMobileDevices
xIndex=startOfMobileDeviceLoop+((i-1)*stepOfMobileDeviceLoop);
markers = getConfiguration(50);
for j=1:size(scenarioType,2)
plot(xIndex, results(j,i),char(markers(j)),'MarkerFaceColor',getConfiguration(20+j),'color',getConfiguration(20+j));
hold on;
end
end
for j=1:size(scenarioType,2)
if(getConfiguration(12) == 1)
errorbar(types, results(j,:), min_results(j,:),max_results(j,:),':k','color',getConfiguration(20+j),'LineWidth',1.5);
else
plot(types, results(j,:),':k','color',getConfiguration(20+j),'LineWidth',1.5);
end
hold on;
end
set(gca,'color','none');
else
markers = getConfiguration(40);
for j=1:size(scenarioType,2)
if(getConfiguration(12) == 1)
errorbar(types, results(j,:),min_results(j,:),max_results(j,:),char(markers(j)),'MarkerFaceColor','w','LineWidth',1.2);
else
plot(types, results(j,:),char(markers(j)),'MarkerFaceColor','w','LineWidth',1.2);
end
hold on;
end
end
lgnd = legend(legends,'Location','NorthWest');
if(getConfiguration(20) == 1)
set(lgnd,'color','none');
end
hold off;
axis square
xlabel(getConfiguration(10));
set(gca,'XTick', (startOfMobileDeviceLoop*xTickLabelCoefficient):(stepOfMobileDeviceLoop*xTickLabelCoefficient):endOfMobileDeviceLoop);
set(gca,'XTickLabel', (startOfMobileDeviceLoop*xTickLabelCoefficient):(stepOfMobileDeviceLoop*xTickLabelCoefficient):endOfMobileDeviceLoop);
ylabel(yLabel);
set(gca,'XLim',[startOfMobileDeviceLoop-5 endOfMobileDeviceLoop+5]);
set(get(gca,'Xlabel'),'FontSize',12)
set(get(gca,'Ylabel'),'FontSize',12)
set(lgnd,'FontSize',11)
if(getConfiguration(11) == 1)
set(hFig, 'PaperUnits', 'centimeters');
set(hFig, 'PaperPositionMode', 'manual');
set(hFig, 'PaperPosition',[0 0 pos(3) pos(4)]);
set(gcf, 'PaperSize', [pos(3) pos(4)]); %Keep the same paper size
filename = strcat(folderPath,'\',int2str(rowOfset),'_',int2str(columnOfset),'_',appType);
saveas(gcf, filename, 'pdf');
end
end

View File

@ -0,0 +1,33 @@
function [] = plotTaskFailureReason()
plotGenericResult(1, 10, 'Failed Task due to VM Capacity (%)', 'ALL_APPS', 'percentage_for_failed');
plotGenericResult(1, 10, {'Failed Task due to VM Capacity';'for Augmented Reality App (%)'}, 'AUGMENTED_REALITY', 'for_failed');
plotGenericResult(1, 10, {'Failed Task due to VM Capacity';'for Health App (%)'}, 'HEALTH_APP', 'for_failed');
plotGenericResult(1, 10, {'Failed Task due to VM Capacity';'for Infotainment App (%)'}, 'INFOTAINMENT_APP', 'for_failed');
plotGenericResult(1, 10, {'Failed Task due to VM Capacity';'for Heavy Computation App (%)'}, 'HEAVY_COMP_APP', 'for_failed');
plotGenericResult(1, 11, 'Failed Task due to Mobility (%)', 'ALL_APPS', 'percentage_for_failed');
plotGenericResult(1, 11, {'Failed Task due to Mobility';'for Augmented Reality App (%)'}, 'AUGMENTED_REALITY', 'for_failed');
plotGenericResult(1, 11, {'Failed Task due to Mobility';'for Health App (%)'}, 'HEALTH_APP', 'for_failed');
plotGenericResult(1, 11, {'Failed Task due to Mobility';'for Infotainment App (%)'}, 'INFOTAINMENT_APP', 'for_failed');
plotGenericResult(1, 11, {'Failed Task due to Mobility';'for Heavy Computation App (%)'}, 'HEAVY_COMP_APP', 'for_failed');
plotGenericResult(5, 4, 'Failed Tasks due to WLAN failure (%)', 'ALL_APPS', 'percentage_for_failed');
plotGenericResult(5, 4, {'Failed Tasks due to WLAN failure';'for Augmented Reality App (%)'}, 'AUGMENTED_REALITY', 'for_failed');
plotGenericResult(5, 4, {'Failed Tasks due to WLAN failure';'for Health App (%)'}, 'HEALTH_APP', 'for_failed');
plotGenericResult(5, 4, {'Failed Tasks due to WLAN failure';'for Infotainment App (%)'}, 'INFOTAINMENT_APP', 'for_failed');
plotGenericResult(5, 4, {'Failed Tasks due to WLAN failure';'for Heavy Comp. App (%)'}, 'HEAVY_COMP_APP', 'for_failed');
plotGenericResult(5, 5, 'Failed Tasks due to MAN failure (%)', 'ALL_APPS', 'percentage_for_failed');
plotGenericResult(5, 5, {'Failed Tasks due to MAN failure';'for Augmented Reality App (%)'}, 'AUGMENTED_REALITY', 'for_failed');
plotGenericResult(5, 5, {'Failed Tasks due to MAN failure';'for Health App (%)'}, 'HEALTH_APP', 'for_failed');
plotGenericResult(5, 5, {'Failed Tasks due to MAN failure';'for Infotainment App (%)'}, 'INFOTAINMENT_APP', 'for_failed');
plotGenericResult(5, 5, {'Failed Tasks due to MAN failure';'for Heavy Comp. App (%)'}, 'HEAVY_COMP_APP', 'for_failed');
plotGenericResult(5, 6, 'Failed Tasks due to WAN failure (%)', 'ALL_APPS', 'percentage_for_failed');
plotGenericResult(5, 6, {'Failed Tasks due to WAN failure';'for Augmented Reality App (%)'}, 'AUGMENTED_REALITY', 'for_failed');
plotGenericResult(5, 6, {'Failed Tasks due to WAN failure';'for Health App (%)'}, 'HEALTH_APP', 'for_failed');
plotGenericResult(5, 6, {'Failed Tasks due to WAN failure';'for Infotainment App (%)'}, 'INFOTAINMENT_APP', 'for_failed');
plotGenericResult(5, 6, {'Failed Tasks due to WAN failure';'for Heavy Comp. App (%)'}, 'HEAVY_COMP_APP', 'for_failed');
end

View File

@ -0,0 +1,633 @@
Simulation started at 30/08/2018 15:29:30
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:29:30
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 200
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 50668(2255/48413)
# of failed tasks (Edge/Cloud): 283(4/279)
# of completed tasks (Edge/Cloud): 50385(2251/48134)
# of uncompleted tasks (Edge/Cloud): 47(31/16)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 283/0(0/0/0)
percentage of failed tasks: 0.558538%
average service time: 1.419752 seconds. (on Edge: 0.965294, on Cloud: 1.441005)
average processing time: 0.136200 seconds. (on Edge: 0.906446, on Cloud: 0.100179)
average network delay: 1.283552 seconds. (LAN delay: 0.052858, MAN delay: 0.012347, WAN delay: 1.340825)
average server utilization Edge/Cloud: 0.083970/0.656522
average cost: 0.0$
Scenario finished at 30/08/2018 15:30:11. It took 41 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:30:11
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 200
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 46435(46435/0)
# of failed tasks (Edge/Cloud): 225(225/0)
# of completed tasks (Edge/Cloud): 46210(46210/0)
# of uncompleted tasks (Edge/Cloud): 26(26/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 225/0(0/0/0)
percentage of failed tasks: 0.484548%
average service time: 1.031613 seconds. (on Edge: 1.031613, on Cloud: NaN)
average processing time: 0.969767 seconds. (on Edge: 0.969767, on Cloud: NaN)
average network delay: 0.061846 seconds. (LAN delay: 0.051165, MAN delay: 0.012421, WAN delay: NaN)
average server utilization Edge/Cloud: 2.155578/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:30:49. It took 37 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:30:49
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 200
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 52003(52003/0)
# of failed tasks (Edge/Cloud): 286(286/0)
# of completed tasks (Edge/Cloud): 51717(51717/0)
# of uncompleted tasks (Edge/Cloud): 36(36/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 286/0(0/0/0)
percentage of failed tasks: 0.549968%
average service time: 1.127338 seconds. (on Edge: 1.127338, on Cloud: NaN)
average processing time: 1.064582 seconds. (on Edge: 1.064582, on Cloud: NaN)
average network delay: 0.062755 seconds. (LAN delay: 0.051817, MAN delay: 0.012431, WAN delay: NaN)
average server utilization Edge/Cloud: 2.553153/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:31:38. It took 49 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:31:38
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 400
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 87471(15334/72137)
# of failed tasks (Edge/Cloud): 595(45/550)
# of completed tasks (Edge/Cloud): 86876(15289/71587)
# of uncompleted tasks (Edge/Cloud): 75(54/21)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 595/0(0/0/0)
percentage of failed tasks: 0.680225%
average service time: 1.460612 seconds. (on Edge: 1.020456, on Cloud: 1.554617)
average processing time: 0.250274 seconds. (on Edge: 0.951547, on Cloud: 0.100501)
average network delay: 1.210338 seconds. (LAN delay: 0.060075, MAN delay: 0.012370, WAN delay: 1.454116)
average server utilization Edge/Cloud: 0.723364/1.060870
average cost: 0.0$
Scenario finished at 30/08/2018 15:33:47. It took 2 Minutes 8 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:33:47
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 400
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 96053(96053/0)
# of failed tasks (Edge/Cloud): 553(553/0)
# of completed tasks (Edge/Cloud): 95500(95500/0)
# of uncompleted tasks (Edge/Cloud): 69(69/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 553/0(0/0/0)
percentage of failed tasks: 0.575724%
average service time: 1.181897 seconds. (on Edge: 1.181897, on Cloud: NaN)
average processing time: 1.112073 seconds. (on Edge: 1.112073, on Cloud: NaN)
average network delay: 0.069824 seconds. (LAN delay: 0.058646, MAN delay: 0.012518, WAN delay: NaN)
average server utilization Edge/Cloud: 4.970796/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:36:42. It took 2 Minutes 54 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:36:42
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 400
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 96835(96835/0)
# of failed tasks (Edge/Cloud): 512(512/0)
# of completed tasks (Edge/Cloud): 96323(96323/0)
# of uncompleted tasks (Edge/Cloud): 61(61/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 512/0(0/0/0)
percentage of failed tasks: 0.528734%
average service time: 1.201837 seconds. (on Edge: 1.201837, on Cloud: NaN)
average processing time: 1.130058 seconds. (on Edge: 1.130058, on Cloud: NaN)
average network delay: 0.071779 seconds. (LAN delay: 0.060611, MAN delay: 0.012519, WAN delay: NaN)
average server utilization Edge/Cloud: 5.166149/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:39:37. It took 2 Minutes 55 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:39:37
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 600
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 145592(45712/99880)
# of failed tasks (Edge/Cloud): 1073(156/917)
# of completed tasks (Edge/Cloud): 144519(45556/98963)
# of uncompleted tasks (Edge/Cloud): 150(128/22)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1073/0(0/0/0)
percentage of failed tasks: 0.736991%
average service time: 1.513352 seconds. (on Edge: 1.125531, on Cloud: 1.691880)
average processing time: 0.401126 seconds. (on Edge: 1.048029, on Cloud: 0.103334)
average network delay: 1.112227 seconds. (LAN delay: 0.067588, MAN delay: 0.012428, WAN delay: 1.588546)
average server utilization Edge/Cloud: 2.212195/1.424415
average cost: 0.0$
Scenario finished at 30/08/2018 15:45:01. It took 5 Minutes 24 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:45:01
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 600
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 137566(137566/0)
# of failed tasks (Edge/Cloud): 757(757/0)
# of completed tasks (Edge/Cloud): 136809(136809/0)
# of uncompleted tasks (Edge/Cloud): 102(102/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 757/0(0/0/0)
percentage of failed tasks: 0.550281%
average service time: 1.276863 seconds. (on Edge: 1.276863, on Cloud: NaN)
average processing time: 1.197057 seconds. (on Edge: 1.197057, on Cloud: NaN)
average network delay: 0.079806 seconds. (LAN delay: 0.068406, MAN delay: 0.012608, WAN delay: NaN)
average server utilization Edge/Cloud: 8.145007/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:49:45. It took 4 Minutes 44 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:49:45
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 600
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 139422(139422/0)
# of failed tasks (Edge/Cloud): 760(760/0)
# of completed tasks (Edge/Cloud): 138662(138662/0)
# of uncompleted tasks (Edge/Cloud): 105(105/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 760/0(0/0/0)
percentage of failed tasks: 0.545108%
average service time: 1.283804 seconds. (on Edge: 1.283804, on Cloud: NaN)
average processing time: 1.200145 seconds. (on Edge: 1.200145, on Cloud: NaN)
average network delay: 0.083659 seconds. (LAN delay: 0.072271, MAN delay: 0.012611, WAN delay: NaN)
average server utilization Edge/Cloud: 8.217989/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:54:36. It took 4 Minutes 51 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:54:36
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 800
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 187073(78264/108809)
# of failed tasks (Edge/Cloud): 1338(315/1023)
# of completed tasks (Edge/Cloud): 185735(77949/107786)
# of uncompleted tasks (Edge/Cloud): 179(149/30)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1338/0(0/0/0)
percentage of failed tasks: 0.715229%
average service time: 1.512123 seconds. (on Edge: 1.199524, on Cloud: 1.738189)
average processing time: 0.527353 seconds. (on Edge: 1.111204, on Cloud: 0.105122)
average network delay: 0.984770 seconds. (LAN delay: 0.077756, MAN delay: 0.012496, WAN delay: 1.633067)
average server utilization Edge/Cloud: 4.144888/1.537124
average cost: 0.0$
Scenario finished at 30/08/2018 16:00:24. It took 5 Minutes 47 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 16:00:24
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 800
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 194291(194291/0)
# of failed tasks (Edge/Cloud): 1259(1259/0)
# of completed tasks (Edge/Cloud): 193032(193032/0)
# of uncompleted tasks (Edge/Cloud): 135(135/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1259/0(0/0/0)
percentage of failed tasks: 0.647997%
average service time: 1.456162 seconds. (on Edge: 1.456162, on Cloud: NaN)
average processing time: 1.358439 seconds. (on Edge: 1.358439, on Cloud: NaN)
average network delay: 0.097722 seconds. (LAN delay: 0.086057, MAN delay: 0.012742, WAN delay: NaN)
average server utilization Edge/Cloud: 12.653966/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 16:05:26. It took 5 Minutes 2 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 16:05:26
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 800
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 180736(180736/0)
# of failed tasks (Edge/Cloud): 1123(1123/0)
# of completed tasks (Edge/Cloud): 179613(179613/0)
# of uncompleted tasks (Edge/Cloud): 131(131/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1123/0(0/0/0)
percentage of failed tasks: 0.621348%
average service time: 1.372713 seconds. (on Edge: 1.372713, on Cloud: NaN)
average processing time: 1.281489 seconds. (on Edge: 1.281489, on Cloud: NaN)
average network delay: 0.091223 seconds. (LAN delay: 0.079605, MAN delay: 0.012711, WAN delay: NaN)
average server utilization Edge/Cloud: 11.376075/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 16:09:47. It took 4 Minutes 20 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 16:09:47
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1000
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 232163(112631/119532)
# of failed tasks (Edge/Cloud): 1639(451/1188)
# of completed tasks (Edge/Cloud): 230524(112180/118344)
# of uncompleted tasks (Edge/Cloud): 208(170/38)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1639/0(0/0/0)
percentage of failed tasks: 0.705970%
average service time: 1.498911 seconds. (on Edge: 1.248581, on Cloud: 1.736202)
average processing time: 0.612178 seconds. (on Edge: 1.148560, on Cloud: 0.103734)
average network delay: 0.886733 seconds. (LAN delay: 0.089059, MAN delay: 0.012579, WAN delay: 1.632468)
average server utilization Edge/Cloud: 5.924451/1.679097
average cost: 0.0$
Scenario finished at 30/08/2018 16:17:55. It took 8 Minutes 7 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 16:17:55
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1000
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 232192(232192/0)
# of failed tasks (Edge/Cloud): 1585(1585/0)
# of completed tasks (Edge/Cloud): 230607(230607/0)
# of uncompleted tasks (Edge/Cloud): 195(195/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1585/0(0/0/0)
percentage of failed tasks: 0.682625%
average service time: 1.513141 seconds. (on Edge: 1.513141, on Cloud: NaN)
average processing time: 1.405719 seconds. (on Edge: 1.405719, on Cloud: NaN)
average network delay: 0.107423 seconds. (LAN delay: 0.095590, MAN delay: 0.012847, WAN delay: NaN)
average server utilization Edge/Cloud: 15.228858/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 16:25:18. It took 7 Minutes 23 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 16:25:18
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1000
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 238287(238287/0)
# of failed tasks (Edge/Cloud): 1767(1767/0)
# of completed tasks (Edge/Cloud): 236520(236520/0)
# of uncompleted tasks (Edge/Cloud): 201(201/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1767/0(0/0/0)
percentage of failed tasks: 0.741543%
average service time: 1.592304 seconds. (on Edge: 1.592304, on Cloud: NaN)
average processing time: 1.486028 seconds. (on Edge: 1.486028, on Cloud: NaN)
average network delay: 0.106276 seconds. (LAN delay: 0.094417, MAN delay: 0.012858, WAN delay: NaN)
average server utilization Edge/Cloud: 16.702580/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 16:33:22. It took 8 Minutes 3 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 16:33:22
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1200
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 270710(147183/123527)
# of failed tasks (Edge/Cloud): 1920(705/1215)
# of completed tasks (Edge/Cloud): 268790(146478/122312)
# of uncompleted tasks (Edge/Cloud): 275(243/32)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1920/0(0/0/0)
percentage of failed tasks: 0.709246%
average service time: 1.563511 seconds. (on Edge: 1.393491, on Cloud: 1.767122)
average processing time: 0.749587 seconds. (on Edge: 1.283889, on Cloud: 0.109718)
average network delay: 0.813924 seconds. (LAN delay: 0.098282, MAN delay: 0.012664, WAN delay: 1.657404)
average server utilization Edge/Cloud: 9.225036/1.967893
average cost: 0.0$
Scenario finished at 30/08/2018 16:43:32. It took 10 Minutes 10 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 16:43:32
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1200
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 272405(272405/0)
# of failed tasks (Edge/Cloud): 2195(2195/0)
# of completed tasks (Edge/Cloud): 270210(270210/0)
# of uncompleted tasks (Edge/Cloud): 209(209/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 2195/0(0/0/0)
percentage of failed tasks: 0.805786%
average service time: 1.797444 seconds. (on Edge: 1.797444, on Cloud: NaN)
average processing time: 1.677236 seconds. (on Edge: 1.677236, on Cloud: NaN)
average network delay: 0.120208 seconds. (LAN delay: 0.108228, MAN delay: 0.012968, WAN delay: NaN)
average server utilization Edge/Cloud: 21.228798/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 16:54:12. It took 10 Minutes 39 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 16:54:12
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1200
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 273473(273473/0)
# of failed tasks (Edge/Cloud): 2296(2296/0)
# of completed tasks (Edge/Cloud): 271177(271177/0)
# of uncompleted tasks (Edge/Cloud): 219(219/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 2296/0(0/0/0)
percentage of failed tasks: 0.839571%
average service time: 1.880113 seconds. (on Edge: 1.880113, on Cloud: NaN)
average processing time: 1.761356 seconds. (on Edge: 1.761356, on Cloud: NaN)
average network delay: 0.118756 seconds. (LAN delay: 0.106766, MAN delay: 0.012964, WAN delay: NaN)
average server utilization Edge/Cloud: 22.834030/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 17:05:11. It took 10 Minutes 58 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 17:05:11
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1400
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 314201(185128/129073)
# of failed tasks (Edge/Cloud): 2392(1073/1319)
# of completed tasks (Edge/Cloud): 311809(184055/127754)
# of uncompleted tasks (Edge/Cloud): 344(293/51)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 2392/0(0/0/0)
percentage of failed tasks: 0.761296%
average service time: 1.599207 seconds. (on Edge: 1.466031, on Cloud: 1.791074)
average processing time: 0.838821 seconds. (on Edge: 1.344627, on Cloud: 0.110105)
average network delay: 0.760386 seconds. (LAN delay: 0.109824, MAN delay: 0.012760, WAN delay: 1.680968)
average server utilization Edge/Cloud: 11.915850/2.052341
average cost: 0.0$
Scenario finished at 30/08/2018 17:19:02. It took 13 Minutes 51 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 17:19:02
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1400
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 337757(331600/6157)
# of failed tasks (Edge/Cloud): 4984(4171/813)
# of completed tasks (Edge/Cloud): 332773(327429/5344)
# of uncompleted tasks (Edge/Cloud): 511(511/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 4217/767(0/0/767)
percentage of failed tasks: 1.475617%
average service time: 2.797770 seconds. (on Edge: 2.800765, on Cloud: 2.614221)
average processing time: 2.615700 seconds. (on Edge: 2.656488, on Cloud: 0.116634)
average network delay: 0.182069 seconds. (LAN delay: 0.132092, MAN delay: 0.013144, WAN delay: 2.497586)
average server utilization Edge/Cloud: 39.703655/0.081605
average cost: 0.0$
Scenario finished at 30/08/2018 17:35:33. It took 16 Minutes 31 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 17:35:33
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1400
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 321226(317933/3293)
# of failed tasks (Edge/Cloud): 3556(3532/24)
# of completed tasks (Edge/Cloud): 317670(314401/3269)
# of uncompleted tasks (Edge/Cloud): 374(374/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 3556/0(0/0/0)
percentage of failed tasks: 1.107009%
average service time: 2.483255 seconds. (on Edge: 2.494113, on Cloud: 1.438886)
average processing time: 2.333389 seconds. (on Edge: 2.356538, on Cloud: 0.106921)
average network delay: 0.149866 seconds. (LAN delay: 0.125431, MAN delay: 0.013102, WAN delay: 1.331964)
average server utilization Edge/Cloud: 34.688665/0.068060
average cost: 0.0$
Scenario finished at 30/08/2018 17:50:45. It took 15 Minutes 12 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 17:50:45
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1600
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 354652(222258/132394)
# of failed tasks (Edge/Cloud): 2878(1499/1379)
# of completed tasks (Edge/Cloud): 351774(220759/131015)
# of uncompleted tasks (Edge/Cloud): 363(314/49)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 2751/127(127/0/0)
percentage of failed tasks: 0.811500%
average service time: 1.711415 seconds. (on Edge: 1.669410, on Cloud: 1.782193)
average processing time: 0.995133 seconds. (on Edge: 1.522218, on Cloud: 0.107001)
average network delay: 0.716282 seconds. (LAN delay: 0.135431, MAN delay: 0.012868, WAN delay: 1.675192)
average server utilization Edge/Cloud: 16.164178/1.941639
average cost: 0.0$
Scenario finished at 30/08/2018 18:10:16. It took 19 Minutes 30 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 18:10:16
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1600
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 358119(341491/16628)
# of failed tasks (Edge/Cloud): 8812(5099/3713)
# of completed tasks (Edge/Cloud): 349307(336392/12915)
# of uncompleted tasks (Edge/Cloud): 583(583/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 5237/3575(0/0/3575)
percentage of failed tasks: 2.460635%
average service time: 3.161474 seconds. (on Edge: 3.171439, on Cloud: 2.901900)
average processing time: 2.919204 seconds. (on Edge: 3.026607, on Cloud: 0.121704)
average network delay: 0.242270 seconds. (LAN delay: 0.132599, MAN delay: 0.013177, WAN delay: 2.780196)
average server utilization Edge/Cloud: 47.883063/0.271405
average cost: 0.0$
Scenario finished at 30/08/2018 18:29:34. It took 19 Minutes 17 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 18:29:34
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1600
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 375908(352880/23028)
# of failed tasks (Edge/Cloud): 5532(5322/210)
# of completed tasks (Edge/Cloud): 370376(347558/22818)
# of uncompleted tasks (Edge/Cloud): 749(749/0)
# of failed tasks due to vm capacity (Edge/Cloud): 108(108/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 5424/0(0/0/0)
percentage of failed tasks: 1.471637%
average service time: 3.384142 seconds. (on Edge: 3.496209, on Cloud: 1.677167)
average processing time: 3.143068 seconds. (on Edge: 3.341966, on Cloud: 0.113504)
average network delay: 0.241075 seconds. (LAN delay: 0.141995, MAN delay: 0.013201, WAN delay: 1.563664)
average server utilization Edge/Cloud: 53.217033/0.440970
average cost: 0.0$
Scenario finished at 30/08/2018 18:51:05. It took 21 Minutes 31 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 18:51:05
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1800
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 403912(269624/134288)
# of failed tasks (Edge/Cloud): 4187(2813/1374)
# of completed tasks (Edge/Cloud): 399725(266811/132914)
# of uncompleted tasks (Edge/Cloud): 464(418/46)
# of failed tasks due to vm capacity (Edge/Cloud): 112(112/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 3780/295(295/0/0)
percentage of failed tasks: 1.036612%
average service time: 2.080150 seconds. (on Edge: 2.217547, on Cloud: 1.804338)
average processing time: 1.397972 seconds. (on Edge: 2.039905, on Cloud: 0.109359)
average network delay: 0.682178 seconds. (LAN delay: 0.165670, MAN delay: 0.013001, WAN delay: 1.694979)
average server utilization Edge/Cloud: 26.201804/2.069565
average cost: 0.0$
Scenario finished at 30/08/2018 19:15:30. It took 24 Minutes 25 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 19:15:30
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1800
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 410351(360195/50156)
# of failed tasks (Edge/Cloud): 27236(6217/21019)
# of completed tasks (Edge/Cloud): 383115(353978/29137)
# of uncompleted tasks (Edge/Cloud): 1577(1577/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 6606/20630(65/0/20565)
percentage of failed tasks: 6.637245%
average service time: 3.835048 seconds. (on Edge: 3.836660, on Cloud: 3.815467)
average processing time: 3.392348 seconds. (on Edge: 3.662883, on Cloud: 0.105685)
average network delay: 0.442700 seconds. (LAN delay: 0.161498, MAN delay: 0.013222, WAN delay: 3.709782)
average server utilization Edge/Cloud: 60.454013/0.541137
average cost: 0.0$
Scenario finished at 30/08/2018 19:38:47. It took 23 Minutes 16 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 19:38:47
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1800
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 406719(370099/36620)
# of failed tasks (Edge/Cloud): 12109(11768/341)
# of completed tasks (Edge/Cloud): 394610(358331/36279)
# of uncompleted tasks (Edge/Cloud): 1419(1419/0)
# of failed tasks due to vm capacity (Edge/Cloud): 416(416/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 6430/5263(5263/0/0)
percentage of failed tasks: 2.977240%
average service time: 3.682708 seconds. (on Edge: 3.887171, on Cloud: 1.663204)
average processing time: 3.304319 seconds. (on Edge: 3.627733, on Cloud: 0.109928)
average network delay: 0.378389 seconds. (LAN delay: 0.247145, MAN delay: 0.013255, WAN delay: 1.553275)
average server utilization Edge/Cloud: 59.883182/0.615552
average cost: 0.0$
Scenario finished at 30/08/2018 20:03:40. It took 24 Minutes 53 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 20:03:40
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 2000
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 472132(335995/136137)
# of failed tasks (Edge/Cloud): 13842(12395/1447)
# of completed tasks (Edge/Cloud): 458290(323600/134690)
# of uncompleted tasks (Edge/Cloud): 778(732/46)
# of failed tasks due to vm capacity (Edge/Cloud): 3925(3925/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 6065/3852(3852/0/0)
percentage of failed tasks: 2.931807%
average service time: 3.106907 seconds. (on Edge: 3.645084, on Cloud: 1.813905)
average processing time: 2.394212 seconds. (on Edge: 3.345234, on Cloud: 0.109330)
average network delay: 0.712694 seconds. (LAN delay: 0.287646, MAN delay: 0.013185, WAN delay: 1.704575)
average server utilization Edge/Cloud: 48.776278/1.999331
average cost: 0.0$
Scenario finished at 30/08/2018 20:36:45. It took 33 Minutes 4 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 20:36:45
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 2000
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 469273(368119/101154)
# of failed tasks (Edge/Cloud): 62954(7149/55805)
# of completed tasks (Edge/Cloud): 406319(360970/45349)
# of uncompleted tasks (Edge/Cloud): 1761(1727/34)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 8064/54890(0/0/54890)
percentage of failed tasks: 13.415219%
average service time: 4.401645 seconds. (on Edge: 4.394803, on Cloud: 4.456103)
average processing time: 3.774144 seconds. (on Edge: 4.235375, on Cloud: 0.102831)
average network delay: 0.627501 seconds. (LAN delay: 0.147140, MAN delay: 0.013231, WAN delay: 4.353273)
average server utilization Edge/Cloud: 69.488772/0.854515
average cost: 0.0$
Scenario finished at 30/08/2018 21:03:17. It took 26 Minutes 31 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 21:03:17
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 1
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 2000
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 466709(390271/76438)
# of failed tasks (Edge/Cloud): 18041(17271/770)
# of completed tasks (Edge/Cloud): 448668(373000/75668)
# of uncompleted tasks (Edge/Cloud): 1702(1667/35)
# of failed tasks due to vm capacity (Edge/Cloud): 7541(7541/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 8779/1721(1721/0/0)
percentage of failed tasks: 3.865578%
average service time: 4.367623 seconds. (on Edge: 4.894161, on Cloud: 1.772096)
average processing time: 3.892593 seconds. (on Edge: 4.659362, on Cloud: 0.112859)
average network delay: 0.475030 seconds. (LAN delay: 0.222459, MAN delay: 0.013298, WAN delay: 1.659237)
average server utilization Edge/Cloud: 76.583791/1.254348
average cost: 0.0$
Scenario finished at 30/08/2018 21:32:19. It took 29 Minutes 2 Seconds
----------------------------------------------------------------------
Simulation finished at 30/08/2018 21:32:19. It took 6 Hours 2 Minutes 49 Seconds

View File

@ -0,0 +1,633 @@
Simulation started at 30/08/2018 15:29:29
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:29:30
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 200
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 45511(1198/44313)
# of failed tasks (Edge/Cloud): 259(4/255)
# of completed tasks (Edge/Cloud): 45252(1194/44058)
# of uncompleted tasks (Edge/Cloud): 58(43/15)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 259/0(0/0/0)
percentage of failed tasks: 0.569093%
average service time: 1.337625 seconds. (on Edge: 0.952594, on Cloud: 1.348059)
average processing time: 0.120725 seconds. (on Edge: 0.894831, on Cloud: 0.099747)
average network delay: 1.216899 seconds. (LAN delay: 0.050298, MAN delay: 0.012346, WAN delay: 1.248313)
average server utilization Edge/Cloud: 0.042582/0.595819
average cost: 0.0$
Scenario finished at 30/08/2018 15:30:02. It took 32 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:30:02
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 200
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 47112(47112/0)
# of failed tasks (Edge/Cloud): 226(226/0)
# of completed tasks (Edge/Cloud): 46886(46886/0)
# of uncompleted tasks (Edge/Cloud): 27(27/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 226/0(0/0/0)
percentage of failed tasks: 0.479708%
average service time: 1.072342 seconds. (on Edge: 1.072342, on Cloud: NaN)
average processing time: 1.009541 seconds. (on Edge: 1.009541, on Cloud: NaN)
average network delay: 0.062802 seconds. (LAN delay: 0.051962, MAN delay: 0.012424, WAN delay: NaN)
average server utilization Edge/Cloud: 2.312052/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:30:39. It took 36 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:30:39
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 200
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 43388(43388/0)
# of failed tasks (Edge/Cloud): 239(239/0)
# of completed tasks (Edge/Cloud): 43149(43149/0)
# of uncompleted tasks (Edge/Cloud): 15(15/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 239/0(0/0/0)
percentage of failed tasks: 0.550844%
average service time: 1.086365 seconds. (on Edge: 1.086365, on Cloud: NaN)
average processing time: 1.025517 seconds. (on Edge: 1.025517, on Cloud: NaN)
average network delay: 0.060848 seconds. (LAN delay: 0.049999, MAN delay: 0.012417, WAN delay: NaN)
average server utilization Edge/Cloud: 2.278249/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:31:15. It took 35 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:31:15
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 400
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 92964(16984/75980)
# of failed tasks (Edge/Cloud): 625(49/576)
# of completed tasks (Edge/Cloud): 92339(16935/75404)
# of uncompleted tasks (Edge/Cloud): 91(64/27)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 625/0(0/0/0)
percentage of failed tasks: 0.672303%
average service time: 1.469923 seconds. (on Edge: 1.013752, on Cloud: 1.572374)
average processing time: 0.255786 seconds. (on Edge: 0.944721, on Cloud: 0.101058)
average network delay: 1.214137 seconds. (LAN delay: 0.059975, MAN delay: 0.012376, WAN delay: 1.471316)
average server utilization Edge/Cloud: 0.720736/1.006689
average cost: 0.0$
Scenario finished at 30/08/2018 15:33:42. It took 2 Minutes 27 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:33:42
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 400
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 89047(89047/0)
# of failed tasks (Edge/Cloud): 483(483/0)
# of completed tasks (Edge/Cloud): 88564(88564/0)
# of uncompleted tasks (Edge/Cloud): 61(61/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 483/0(0/0/0)
percentage of failed tasks: 0.542410%
average service time: 1.164589 seconds. (on Edge: 1.164589, on Cloud: NaN)
average processing time: 1.094660 seconds. (on Edge: 1.094660, on Cloud: NaN)
average network delay: 0.069928 seconds. (LAN delay: 0.058826, MAN delay: 0.012505, WAN delay: NaN)
average server utilization Edge/Cloud: 5.058230/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:36:10. It took 2 Minutes 28 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:36:10
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 400
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 94625(94625/0)
# of failed tasks (Edge/Cloud): 544(544/0)
# of completed tasks (Edge/Cloud): 94081(94081/0)
# of uncompleted tasks (Edge/Cloud): 67(67/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 544/0(0/0/0)
percentage of failed tasks: 0.574901%
average service time: 1.150333 seconds. (on Edge: 1.150333, on Cloud: NaN)
average processing time: 1.079921 seconds. (on Edge: 1.079921, on Cloud: NaN)
average network delay: 0.070412 seconds. (LAN delay: 0.059262, MAN delay: 0.012516, WAN delay: NaN)
average server utilization Edge/Cloud: 4.791925/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:38:59. It took 2 Minutes 48 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:38:59
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 600
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 143289(45289/98000)
# of failed tasks (Edge/Cloud): 1073(150/923)
# of completed tasks (Edge/Cloud): 142216(45139/97077)
# of uncompleted tasks (Edge/Cloud): 149(116/33)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1073/0(0/0/0)
percentage of failed tasks: 0.748836%
average service time: 1.505602 seconds. (on Edge: 1.134109, on Cloud: 1.678339)
average processing time: 0.405596 seconds. (on Edge: 1.056032, on Cloud: 0.103156)
average network delay: 1.100006 seconds. (LAN delay: 0.067838, MAN delay: 0.012429, WAN delay: 1.575183)
average server utilization Edge/Cloud: 2.271441/1.347157
average cost: 0.0$
Scenario finished at 30/08/2018 15:44:21. It took 5 Minutes 21 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:44:21
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 600
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 141416(141416/0)
# of failed tasks (Edge/Cloud): 762(762/0)
# of completed tasks (Edge/Cloud): 140654(140654/0)
# of uncompleted tasks (Edge/Cloud): 104(104/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 762/0(0/0/0)
percentage of failed tasks: 0.538836%
average service time: 1.269646 seconds. (on Edge: 1.269646, on Cloud: NaN)
average processing time: 1.185923 seconds. (on Edge: 1.185923, on Cloud: NaN)
average network delay: 0.083722 seconds. (LAN delay: 0.072302, MAN delay: 0.012617, WAN delay: NaN)
average server utilization Edge/Cloud: 7.926063/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:49:24. It took 5 Minutes 3 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:49:24
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 600
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 141808(141808/0)
# of failed tasks (Edge/Cloud): 817(817/0)
# of completed tasks (Edge/Cloud): 140991(140991/0)
# of uncompleted tasks (Edge/Cloud): 103(103/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 817/0(0/0/0)
percentage of failed tasks: 0.576131%
average service time: 1.279690 seconds. (on Edge: 1.279690, on Cloud: NaN)
average processing time: 1.197356 seconds. (on Edge: 1.197356, on Cloud: NaN)
average network delay: 0.082334 seconds. (LAN delay: 0.070932, MAN delay: 0.012616, WAN delay: NaN)
average server utilization Edge/Cloud: 7.968944/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:54:31. It took 5 Minutes 6 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:54:31
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 800
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 188225(78284/109941)
# of failed tasks (Edge/Cloud): 1318(286/1032)
# of completed tasks (Edge/Cloud): 186907(77998/108909)
# of uncompleted tasks (Edge/Cloud): 169(138/31)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1318/0(0/0/0)
percentage of failed tasks: 0.700226%
average service time: 1.495678 seconds. (on Edge: 1.187101, on Cloud: 1.716674)
average processing time: 0.518201 seconds. (on Edge: 1.097685, on Cloud: 0.103189)
average network delay: 0.977477 seconds. (LAN delay: 0.078833, MAN delay: 0.012501, WAN delay: 1.613485)
average server utilization Edge/Cloud: 4.092690/1.605853
average cost: 0.0$
Scenario finished at 30/08/2018 15:59:39. It took 5 Minutes 8 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:59:39
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 800
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 178909(178909/0)
# of failed tasks (Edge/Cloud): 1080(1080/0)
# of completed tasks (Edge/Cloud): 177829(177829/0)
# of uncompleted tasks (Edge/Cloud): 128(128/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1080/0(0/0/0)
percentage of failed tasks: 0.603659%
average service time: 1.363532 seconds. (on Edge: 1.363532, on Cloud: NaN)
average processing time: 1.270870 seconds. (on Edge: 1.270870, on Cloud: NaN)
average network delay: 0.092663 seconds. (LAN delay: 0.081074, MAN delay: 0.012709, WAN delay: NaN)
average server utilization Edge/Cloud: 11.162028/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 16:03:55. It took 4 Minutes 16 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 16:03:55
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 800
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 180756(180756/0)
# of failed tasks (Edge/Cloud): 1184(1184/0)
# of completed tasks (Edge/Cloud): 179572(179572/0)
# of uncompleted tasks (Edge/Cloud): 152(152/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1184/0(0/0/0)
percentage of failed tasks: 0.655027%
average service time: 1.362261 seconds. (on Edge: 1.362261, on Cloud: NaN)
average processing time: 1.271373 seconds. (on Edge: 1.271373, on Cloud: NaN)
average network delay: 0.090887 seconds. (LAN delay: 0.079246, MAN delay: 0.012712, WAN delay: NaN)
average server utilization Edge/Cloud: 11.413760/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 16:08:11. It took 4 Minutes 15 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 16:08:11
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1000
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 220968(103329/117639)
# of failed tasks (Edge/Cloud): 1604(455/1149)
# of completed tasks (Edge/Cloud): 219364(102874/116490)
# of uncompleted tasks (Edge/Cloud): 212(180/32)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1604/0(0/0/0)
percentage of failed tasks: 0.725897%
average service time: 1.523172 seconds. (on Edge: 1.272743, on Cloud: 1.744329)
average processing time: 0.608840 seconds. (on Edge: 1.176503, on Cloud: 0.107528)
average network delay: 0.914332 seconds. (LAN delay: 0.085285, MAN delay: 0.012553, WAN delay: 1.636800)
average server utilization Edge/Cloud: 6.042523/1.771070
average cost: 0.0$
Scenario finished at 30/08/2018 16:15:23. It took 7 Minutes 12 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 16:15:23
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1000
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 236315(236315/0)
# of failed tasks (Edge/Cloud): 1684(1684/0)
# of completed tasks (Edge/Cloud): 234631(234631/0)
# of uncompleted tasks (Edge/Cloud): 201(201/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1684/0(0/0/0)
percentage of failed tasks: 0.712608%
average service time: 1.484813 seconds. (on Edge: 1.484813, on Cloud: NaN)
average processing time: 1.375792 seconds. (on Edge: 1.375792, on Cloud: NaN)
average network delay: 0.109020 seconds. (LAN delay: 0.097190, MAN delay: 0.012856, WAN delay: NaN)
average server utilization Edge/Cloud: 14.982441/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 16:22:59. It took 7 Minutes 36 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 16:22:59
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1000
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 228153(228153/0)
# of failed tasks (Edge/Cloud): 1561(1561/0)
# of completed tasks (Edge/Cloud): 226592(226592/0)
# of uncompleted tasks (Edge/Cloud): 188(188/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1561/0(0/0/0)
percentage of failed tasks: 0.684190%
average service time: 1.499554 seconds. (on Edge: 1.499554, on Cloud: NaN)
average processing time: 1.393105 seconds. (on Edge: 1.393105, on Cloud: NaN)
average network delay: 0.106449 seconds. (LAN delay: 0.094647, MAN delay: 0.012837, WAN delay: NaN)
average server utilization Edge/Cloud: 15.360308/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 16:30:04. It took 7 Minutes 4 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 16:30:04
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1200
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 260397(138305/122092)
# of failed tasks (Edge/Cloud): 1904(664/1240)
# of completed tasks (Edge/Cloud): 258493(137641/120852)
# of uncompleted tasks (Edge/Cloud): 257(212/45)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1904/0(0/0/0)
percentage of failed tasks: 0.731191%
average service time: 1.551752 seconds. (on Edge: 1.362068, on Cloud: 1.767786)
average processing time: 0.718549 seconds. (on Edge: 1.252711, on Cloud: 0.110181)
average network delay: 0.833202 seconds. (LAN delay: 0.098112, MAN delay: 0.012643, WAN delay: 1.657605)
average server utilization Edge/Cloud: 8.683767/2.008027
average cost: 0.0$
Scenario finished at 30/08/2018 16:39:17. It took 9 Minutes 12 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 16:39:17
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1200
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 281770(281770/0)
# of failed tasks (Edge/Cloud): 2634(2634/0)
# of completed tasks (Edge/Cloud): 279136(279136/0)
# of uncompleted tasks (Edge/Cloud): 271(271/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 2634/0(0/0/0)
percentage of failed tasks: 0.934805%
average service time: 2.001325 seconds. (on Edge: 2.001325, on Cloud: NaN)
average processing time: 1.880686 seconds. (on Edge: 1.880686, on Cloud: NaN)
average network delay: 0.120639 seconds. (LAN delay: 0.108610, MAN delay: 0.012986, WAN delay: NaN)
average server utilization Edge/Cloud: 24.826027/0.001505
average cost: 0.0$
Scenario finished at 30/08/2018 16:50:15. It took 10 Minutes 58 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 16:50:15
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1200
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 275507(275507/0)
# of failed tasks (Edge/Cloud): 2350(2350/0)
# of completed tasks (Edge/Cloud): 273157(273157/0)
# of uncompleted tasks (Edge/Cloud): 275(275/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 2350/0(0/0/0)
percentage of failed tasks: 0.852973%
average service time: 1.921091 seconds. (on Edge: 1.921091, on Cloud: NaN)
average processing time: 1.799380 seconds. (on Edge: 1.799380, on Cloud: NaN)
average network delay: 0.121712 seconds. (LAN delay: 0.109726, MAN delay: 0.012972, WAN delay: NaN)
average server utilization Edge/Cloud: 23.292821/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 17:01:04. It took 10 Minutes 48 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 17:01:04
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1400
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 318350(190971/127379)
# of failed tasks (Edge/Cloud): 2334(995/1339)
# of completed tasks (Edge/Cloud): 316016(189976/126040)
# of uncompleted tasks (Edge/Cloud): 300(257/43)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 2334/0(0/0/0)
percentage of failed tasks: 0.733155%
average service time: 1.615096 seconds. (on Edge: 1.509502, on Cloud: 1.774255)
average processing time: 0.869955 seconds. (on Edge: 1.376080, on Cloud: 0.107089)
average network delay: 0.745142 seconds. (LAN delay: 0.121848, MAN delay: 0.012774, WAN delay: 1.667166)
average server utilization Edge/Cloud: 12.247253/1.964548
average cost: 0.0$
Scenario finished at 30/08/2018 17:15:03. It took 13 Minutes 58 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 17:15:03
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1400
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 331135(326695/4440)
# of failed tasks (Edge/Cloud): 4235(3925/310)
# of completed tasks (Edge/Cloud): 326900(322770/4130)
# of uncompleted tasks (Edge/Cloud): 411(411/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 3959/276(0/0/276)
percentage of failed tasks: 1.278935%
average service time: 2.728190 seconds. (on Edge: 2.734557, on Cloud: 2.230656)
average processing time: 2.564679 seconds. (on Edge: 2.596054, on Cloud: 0.112616)
average network delay: 0.163512 seconds. (LAN delay: 0.126334, MAN delay: 0.013131, WAN delay: 2.118040)
average server utilization Edge/Cloud: 38.494804/0.090970
average cost: 0.0$
Scenario finished at 30/08/2018 17:30:22. It took 15 Minutes 19 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 17:30:22
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1400
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 326390(323710/2680)
# of failed tasks (Edge/Cloud): 3651(3628/23)
# of completed tasks (Edge/Cloud): 322739(320082/2657)
# of uncompleted tasks (Edge/Cloud): 452(452/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 3651/0(0/0/0)
percentage of failed tasks: 1.118600%
average service time: 2.551082 seconds. (on Edge: 2.559829, on Cloud: 1.497460)
average processing time: 2.401708 seconds. (on Edge: 2.420797, on Cloud: 0.102219)
average network delay: 0.149374 seconds. (LAN delay: 0.126868, MAN delay: 0.013131, WAN delay: 1.395241)
average server utilization Edge/Cloud: 35.463450/0.041472
average cost: 0.0$
Scenario finished at 30/08/2018 17:45:45. It took 15 Minutes 23 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 17:45:45
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1600
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 359788(227836/131952)
# of failed tasks (Edge/Cloud): 2816(1467/1349)
# of completed tasks (Edge/Cloud): 356972(226369/130603)
# of uncompleted tasks (Edge/Cloud): 352(302/50)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 2816/0(0/0/0)
percentage of failed tasks: 0.782683%
average service time: 1.782793 seconds. (on Edge: 1.770438, on Cloud: 1.804206)
average processing time: 1.078572 seconds. (on Edge: 1.636596, on Cloud: 0.111370)
average network delay: 0.704221 seconds. (LAN delay: 0.122043, MAN delay: 0.012875, WAN delay: 1.692837)
average server utilization Edge/Cloud: 17.739548/2.097659
average cost: 0.0$
Scenario finished at 30/08/2018 18:04:31. It took 18 Minutes 46 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 18:04:31
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1600
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 362741(343915/18826)
# of failed tasks (Edge/Cloud): 10105(5203/4902)
# of completed tasks (Edge/Cloud): 352636(338712/13924)
# of uncompleted tasks (Edge/Cloud): 573(573/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 5348/4757(0/0/4757)
percentage of failed tasks: 2.785734%
average service time: 3.294907 seconds. (on Edge: 3.301577, on Cloud: 3.132656)
average processing time: 3.034665 seconds. (on Edge: 3.154561, on Cloud: 0.118109)
average network delay: 0.260242 seconds. (LAN delay: 0.134798, MAN delay: 0.013177, WAN delay: 3.014548)
average server utilization Edge/Cloud: 50.316591/0.275920
average cost: 0.0$
Scenario finished at 30/08/2018 18:24:05. It took 19 Minutes 34 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 18:24:05
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1600
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 372610(348915/23695)
# of failed tasks (Edge/Cloud): 5733(5554/179)
# of completed tasks (Edge/Cloud): 366877(343361/23516)
# of uncompleted tasks (Edge/Cloud): 740(740/0)
# of failed tasks due to vm capacity (Edge/Cloud): 44(44/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 5689/0(0/0/0)
percentage of failed tasks: 1.538606%
average service time: 3.413521 seconds. (on Edge: 3.533761, on Cloud: 1.657884)
average processing time: 3.172138 seconds. (on Edge: 3.381305, on Cloud: 0.118050)
average network delay: 0.241384 seconds. (LAN delay: 0.140204, MAN delay: 0.013193, WAN delay: 1.539834)
average server utilization Edge/Cloud: 53.913282/0.455184
average cost: 0.0$
Scenario finished at 30/08/2018 18:45:08. It took 21 Minutes 3 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 18:45:08
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1800
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 412756(277804/134952)
# of failed tasks (Edge/Cloud): 4831(3396/1435)
# of completed tasks (Edge/Cloud): 407925(274408/133517)
# of uncompleted tasks (Edge/Cloud): 501(463/38)
# of failed tasks due to vm capacity (Edge/Cloud): 77(77/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 4094/660(660/0/0)
percentage of failed tasks: 1.170425%
average service time: 2.103563 seconds. (on Edge: 2.252819, on Cloud: 1.796808)
average processing time: 1.426899 seconds. (on Edge: 2.068516, on Cloud: 0.108230)
average network delay: 0.676664 seconds. (LAN delay: 0.172303, MAN delay: 0.013025, WAN delay: 1.688578)
average server utilization Edge/Cloud: 26.691531/2.045151
average cost: 0.0$
Scenario finished at 30/08/2018 19:10:00. It took 24 Minutes 51 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 19:10:00
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1800
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 401994(360678/41316)
# of failed tasks (Edge/Cloud): 21303(6122/15181)
# of completed tasks (Edge/Cloud): 380691(354556/26135)
# of uncompleted tasks (Edge/Cloud): 1529(1529/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 6470/14833(6/0/14827)
percentage of failed tasks: 5.299333%
average service time: 3.756641 seconds. (on Edge: 3.779225, on Cloud: 3.450260)
average processing time: 3.372097 seconds. (on Edge: 3.612813, on Cloud: 0.106475)
average network delay: 0.384543 seconds. (LAN delay: 0.154133, MAN delay: 0.013230, WAN delay: 3.343785)
average server utilization Edge/Cloud: 59.380256/0.487124
average cost: 0.0$
Scenario finished at 30/08/2018 19:32:46. It took 22 Minutes 46 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 19:32:46
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 1800
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 419525(371746/47779)
# of failed tasks (Edge/Cloud): 10066(9584/482)
# of completed tasks (Edge/Cloud): 409459(362162/47297)
# of uncompleted tasks (Edge/Cloud): 1594(1594/0)
# of failed tasks due to vm capacity (Edge/Cloud): 1748(1748/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 7387/931(931/0/0)
percentage of failed tasks: 2.399380%
average service time: 3.927485 seconds. (on Edge: 4.215348, on Cloud: 1.723262)
average processing time: 3.541644 seconds. (on Edge: 3.989104, on Cloud: 0.115358)
average network delay: 0.385841 seconds. (LAN delay: 0.213946, MAN delay: 0.013257, WAN delay: 1.607903)
average server utilization Edge/Cloud: 65.670569/0.836120
average cost: 0.0$
Scenario finished at 30/08/2018 19:58:59. It took 26 Minutes 13 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 19:58:59
Scenario: TWO_TIER_WITH_EO - Policy: NETWORK_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 2000
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 457018(321402/135616)
# of failed tasks (Edge/Cloud): 10516(9103/1413)
# of completed tasks (Edge/Cloud): 446502(312299/134203)
# of uncompleted tasks (Edge/Cloud): 633(580/53)
# of failed tasks due to vm capacity (Edge/Cloud): 2119(2119/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 5340/3057(3057/0/0)
percentage of failed tasks: 2.301003%
average service time: 2.817930 seconds. (on Edge: 3.248023, on Cloud: 1.817076)
average processing time: 2.105360 seconds. (on Edge: 2.962654, on Cloud: 0.110382)
average network delay: 0.712571 seconds. (LAN delay: 0.273213, MAN delay: 0.013147, WAN delay: 1.706695)
average server utilization Edge/Cloud: 42.871715/2.056856
average cost: 0.0$
Scenario finished at 30/08/2018 20:29:32. It took 30 Minutes 32 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 20:29:32
Scenario: TWO_TIER_WITH_EO - Policy: UTILIZATION_BASED - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 2000
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 469830(369916/99914)
# of failed tasks (Edge/Cloud): 62179(7184/54995)
# of completed tasks (Edge/Cloud): 407651(362732/44919)
# of uncompleted tasks (Edge/Cloud): 1878(1856/22)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 8091/54088(14/0/54074)
percentage of failed tasks: 13.234361%
average service time: 4.361821 seconds. (on Edge: 4.342146, on Cloud: 4.520703)
average processing time: 3.730369 seconds. (on Edge: 4.179636, on Cloud: 0.102426)
average network delay: 0.631453 seconds. (LAN delay: 0.150216, MAN delay: 0.013242, WAN delay: 4.418277)
average server utilization Edge/Cloud: 69.073161/0.800502
average cost: 0.0$
Scenario finished at 30/08/2018 20:56:13. It took 26 Minutes 40 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 20:56:13
Scenario: TWO_TIER_WITH_EO - Policy: HYBRID - #iteration: 2
Duration: 30.0 min (warm up period: 3.0 min) - #devices: 2000
Creating tasks...Done,
Creating device locations...Done.
SimManager is starting...Done.
.........10.........20.........30.........40.........50.........60.........70.........80.........90.........100
# of tasks (Edge/Cloud): 474285(393097/81188)
# of failed tasks (Edge/Cloud): 22765(21961/804)
# of completed tasks (Edge/Cloud): 451520(371136/80384)
# of uncompleted tasks (Edge/Cloud): 1801(1771/30)
# of failed tasks due to vm capacity (Edge/Cloud): 7502(7502/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 8699/6564(6564/0/0)
percentage of failed tasks: 4.799857%
average service time: 4.437271 seconds. (on Edge: 5.019076, on Cloud: 1.751054)
average processing time: 3.881488 seconds. (on Edge: 4.698189, on Cloud: 0.110747)
average network delay: 0.555783 seconds. (LAN delay: 0.308558, MAN delay: 0.013292, WAN delay: 1.640308)
average server utilization Edge/Cloud: 77.309066/1.273244
average cost: 0.0$
Scenario finished at 30/08/2018 21:27:59. It took 31 Minutes 45 Seconds
----------------------------------------------------------------------
Simulation finished at 30/08/2018 21:27:59. It took 5 Hours 58 Minutes 29 Seconds

View File

@ -0,0 +1 @@
/home/cagatay/Desktop/ecs/EdgeCloudSim/scripts/sample_app2/runner.sh /home/cagatay/Desktop/ecs/EdgeCloudSim/scripts/sample_app2/output/30-08-2018_15-29 default_config edge_devices.xml applications.xml 1

View File

@ -0,0 +1 @@
/home/cagatay/Desktop/ecs/EdgeCloudSim/scripts/sample_app2/runner.sh /home/cagatay/Desktop/ecs/EdgeCloudSim/scripts/sample_app2/output/30-08-2018_15-29 default_config edge_devices.xml applications.xml 2

View File

@ -0,0 +1,59 @@
#!/bin/bash
if [ "$#" -ne 2 ]; then
echo "Missing arguments! Please provide number of parallel processes and number of iterations."
echo "Usage: '$0 4 10'"
exit 1
fi
re='^[0-9]+$'
if ! [[ $1 =~ $re ]] ; then
echo "$1 is not an integer! Please provide number of parallel processes."
echo "Usage: '$0 4 10'"
exit 1
fi
if ! [[ $2 =~ $re ]] ; then
echo "$1 is not an integer! Please provide number of iterations."
echo "Usage: '$0 4 10'"
exit 1
fi
script_root_path="$(dirname "$(readlink -f "$0")")"
root_out_folder=${script_root_path}/output
num_of_processes=$1
iterationNumber=$2
process_counter=0
date=$(date '+%d-%m-%Y_%H-%M')
simulation_out_folder=${root_out_folder}/${date}
mkdir -p $simulation_out_folder
simulations=$(cat ${script_root_path}/simulation.list)
rm -rf ${script_root_path}/tmp_runner*
for sim_args in $simulations
do
scenario_name=$(echo $sim_args | cut -d ';' -f1)
edge_devices_file=$(echo $sim_args | cut -d ';' -f2)
applications_file=$(echo $sim_args | cut -d ';' -f3)
for (( i=1; i<=$iterationNumber; i++ ))
do
process_id=$(($process_counter % $num_of_processes))
process_counter=$(($process_counter + 1))
echo "${script_root_path}/runner.sh $simulation_out_folder $scenario_name $edge_devices_file $applications_file ${i}" >> "${simulation_out_folder}/tmp_runner${process_id}.sh"
done
done
#num_of_cores=$(grep -c ^processor /proc/cpuinfo)
for (( i=0; i<$num_of_processes; i++ ))
do
chmod +x ${simulation_out_folder}/tmp_runner${i}.sh
${simulation_out_folder}/tmp_runner${i}.sh &
# pid=$!
# cpu=$(($i % $num_of_cores))
# taskset -cp $cpu,$cpu $pid
done

18
scripts/sample_app2/runner.sh Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
script_root_path="$(dirname "$(readlink -f "$0")")"
simulation_out_folder=$1
scenario_name=$2
edge_devices_file=$3
applications_file=$4
iteration_number=$5
scenario_out_folder=${simulation_out_folder}/${scenario_name}/ite${iteration_number}
scenario_conf_file=${script_root_path}/config/${scenario_name}.properties
scenario_edge_devices_file=${script_root_path}/config/${edge_devices_file}
scenario_applications_file=${script_root_path}/config/${applications_file}
mkdir -p $scenario_out_folder
java -classpath '../../bin:../../lib/cloudsim-4.0.jar:../../lib/commons-math3-3.6.1.jar:../../lib/colt.jar' edu.boun.edgecloudsim.applications.sample_app2.MainApp $scenario_conf_file $scenario_edge_devices_file $scenario_applications_file $scenario_out_folder $iteration_number > ${scenario_out_folder}.log
tar -czf ${scenario_out_folder}.tar.gz -C $simulation_out_folder/${scenario_name} ite${iteration_number}
rm -rf $scenario_out_folder

View File

@ -0,0 +1 @@
default_config;edge_devices.xml;applications.xml