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_app1/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_app1/MainApp.java -d ../../bin

View File

@ -0,0 +1,55 @@
<?xml version="1.0"?>
<applications>
<application name="AUGMENTED_REALITY">
<usage_percentage>30</usage_percentage>
<prob_cloud_selection>20</prob_cloud_selection>
<poisson_interarrival>5</poisson_interarrival>
<active_period>45</active_period>
<idle_period>15</idle_period>
<data_upload>1500</data_upload>
<data_download>25</data_download>
<task_length>2000</task_length>
<required_core>1</required_core>
<vm_utilization_on_edge>20</vm_utilization_on_edge>
<vm_utilization_on_cloud>2</vm_utilization_on_cloud>
</application>
<application name="HEALTH_APP">
<usage_percentage>20</usage_percentage>
<prob_cloud_selection>20</prob_cloud_selection>
<poisson_interarrival>30</poisson_interarrival>
<active_period>10</active_period>
<idle_period>20</idle_period>
<data_upload>1250</data_upload>
<data_download>20</data_download>
<task_length>400</task_length>
<required_core>1</required_core>
<vm_utilization_on_edge>5</vm_utilization_on_edge>
<vm_utilization_on_cloud>0.5</vm_utilization_on_cloud>
</application>
<application name="HEAVY_COMP_APP">
<usage_percentage>20</usage_percentage>
<prob_cloud_selection>40</prob_cloud_selection>
<poisson_interarrival>60</poisson_interarrival>
<active_period>60</active_period>
<idle_period>60</idle_period>
<data_upload>2500</data_upload>
<data_download>250</data_download>
<task_length>3000</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>
</application>
<application name="INFOTAINMENT_APP">
<usage_percentage>30</usage_percentage>
<prob_cloud_selection>15</prob_cloud_selection>
<poisson_interarrival>7</poisson_interarrival>
<active_period>15</active_period>
<idle_period>45</idle_period>
<data_upload>25</data_upload>
<data_download>2000</data_download>
<task_length>750</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>
</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=100
max_number_of_mobile_devices=1000
mobile_device_counter_size=100
wan_propogation_delay=0.1
lan_internal_delay=0.005
wlan_bandwidth=200
wan_bandwidth=15
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=10000
ram_for_cloud_vm=32000
storage_for_cloud_vm=1000000
#use ',' for multiple values
orchestrator_policies=NEXT_FIT
#use ',' for multiple values
simulation_scenarios=SINGLE_TIER,TWO_TIER,TWO_TIER_WITH_EO
#mean waiting time in seconds
attractiveness_L1_mean_waiting_time=500
attractiveness_L2_mean_waiting_time=300
attractiveness_L3_mean_waiting_time=120

View File

@ -0,0 +1,479 @@
<?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>8</core>
<mips>4000</mips>
<ram>8000</ram>
<storage>200000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>1000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>1000</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>8</core>
<mips>4000</mips>
<ram>8000</ram>
<storage>200000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>1000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>1000</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>8</core>
<mips>4000</mips>
<ram>8000</ram>
<storage>200000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>1000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>1000</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>8</core>
<mips>4000</mips>
<ram>8000</ram>
<storage>200000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>1000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>1000</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>8</core>
<mips>4000</mips>
<ram>8000</ram>
<storage>200000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>1000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>1000</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>8</core>
<mips>4000</mips>
<ram>8000</ram>
<storage>200000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>1000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>1000</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>8</core>
<mips>4000</mips>
<ram>8000</ram>
<storage>200000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>1000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>1000</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>8</core>
<mips>4000</mips>
<ram>8000</ram>
<storage>200000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>1000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>1000</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>8</core>
<mips>4000</mips>
<ram>8000</ram>
<storage>200000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>1000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>1000</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>8</core>
<mips>4000</mips>
<ram>8000</ram>
<storage>200000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>1000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>1000</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>8</core>
<mips>4000</mips>
<ram>8000</ram>
<storage>200000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>1000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>1000</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>8</core>
<mips>4000</mips>
<ram>8000</ram>
<storage>200000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>1000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>1000</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>8</core>
<mips>4000</mips>
<ram>8000</ram>
<storage>200000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>1000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>1000</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>8</core>
<mips>4000</mips>
<ram>8000</ram>
<storage>200000</storage>
<VMs>
<VM vmm="Xen">
<core>2</core>
<mips>1000</mips>
<ram>2000</ram>
<storage>50000</storage>
</VM>
<VM vmm="Xen">
<core>2</core>
<mips>1000</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 = 100; %min number of mobile device
elseif(argType == 4)
ret_val = 100; %step size of mobile device count
elseif(argType == 5)
ret_val =1000; %max number of mobile device
elseif(argType == 6)
ret_val = 1; %xTickLabelCoefficient
elseif(argType == 7)
ret_val = {'SINGLE_TIER','TWO_TIER','TWO_TIER_WITH_EO'};
elseif(argType == 8)
ret_val = {'1-tier','2-tier','2-tier with EO'};
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,21 @@
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, 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_',char(scenarioType(i)),'_NEXT_FIT_',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,27 @@
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, 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:27:26
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:26
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 100
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): 9744(9744/0)
# of failed tasks (Edge/Cloud): 111(111/0)
# of completed tasks (Edge/Cloud): 9633(9633/0)
# of uncompleted tasks (Edge/Cloud): 17(17/0)
# of failed tasks due to vm capacity (Edge/Cloud): 14(14/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 97/0(0/0/0)
percentage of failed tasks: 1.139163%
average service time: 1.894226 seconds. (on Edge: 1.894226, on Cloud: NaN)
average processing time: 1.875163 seconds. (on Edge: 1.875163, on Cloud: NaN)
average network delay: 0.019063 seconds. (LAN delay: 0.019063, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 7.883421/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:27:28. It took 2 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:28
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 100
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): 9160(7334/1826)
# of failed tasks (Edge/Cloud): 77(69/8)
# of completed tasks (Edge/Cloud): 9083(7265/1818)
# of uncompleted tasks (Edge/Cloud): 13(13/0)
# of failed tasks due to vm capacity (Edge/Cloud): 5(5/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 72/0(0/0/0)
percentage of failed tasks: 0.840611%
average service time: 1.549063 seconds. (on Edge: 1.760382, on Cloud: 0.704599)
average processing time: 1.438888 seconds. (on Edge: 1.741308, on Cloud: 0.230373)
average network delay: 0.110175 seconds. (LAN delay: 0.019074, MAN delay: NaN, WAN delay: 0.474227)
average server utilization Edge/Cloud: 5.247253/0.107023
average cost: 0.0$
Scenario finished at 30/08/2018 15:27:30. It took 1 Second
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:30
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 100
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): 8412(6670/1742)
# of failed tasks (Edge/Cloud): 67(59/8)
# of completed tasks (Edge/Cloud): 8345(6611/1734)
# of uncompleted tasks (Edge/Cloud): 12(12/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 67/0(0/0/0)
percentage of failed tasks: 0.796481%
average service time: 1.519185 seconds. (on Edge: 1.729428, on Cloud: 0.717617)
average processing time: 1.398358 seconds. (on Edge: 1.701111, on Cloud: 0.244093)
average network delay: 0.120826 seconds. (LAN delay: 0.028317, MAN delay: NaN, WAN delay: 0.473524)
average server utilization Edge/Cloud: 4.838748/0.116639
average cost: 0.0$
Scenario finished at 30/08/2018 15:27:32. It took 1 Second
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:32
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 20582(20582/0)
# of failed tasks (Edge/Cloud): 1415(1415/0)
# of completed tasks (Edge/Cloud): 19167(19167/0)
# of uncompleted tasks (Edge/Cloud): 32(32/0)
# of failed tasks due to vm capacity (Edge/Cloud): 1214(1214/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 201/0(0/0/0)
percentage of failed tasks: 6.874939%
average service time: 2.329965 seconds. (on Edge: 2.329965, on Cloud: NaN)
average processing time: 2.310554 seconds. (on Edge: 2.310554, on Cloud: NaN)
average network delay: 0.019411 seconds. (LAN delay: 0.019411, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 19.481605/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:27:35. It took 3 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:35
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 19047(15053/3994)
# of failed tasks (Edge/Cloud): 306(298/8)
# of completed tasks (Edge/Cloud): 18741(14755/3986)
# of uncompleted tasks (Edge/Cloud): 22(21/1)
# of failed tasks due to vm capacity (Edge/Cloud): 146(146/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 160/0(0/0/0)
percentage of failed tasks: 1.606552%
average service time: 1.778477 seconds. (on Edge: 2.073153, on Cloud: 0.687676)
average processing time: 1.660990 seconds. (on Edge: 2.053713, on Cloud: 0.207246)
average network delay: 0.117487 seconds. (LAN delay: 0.019440, MAN delay: NaN, WAN delay: 0.480430)
average server utilization Edge/Cloud: 12.975991/0.217809
average cost: 0.0$
Scenario finished at 30/08/2018 15:27:38. It took 3 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:38
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 20282(16122/4160)
# of failed tasks (Edge/Cloud): 165(155/10)
# of completed tasks (Edge/Cloud): 20117(15967/4150)
# of uncompleted tasks (Edge/Cloud): 15(14/1)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 165/0(0/0/0)
percentage of failed tasks: 0.813529%
average service time: 1.550418 seconds. (on Edge: 1.777338, on Cloud: 0.677349)
average processing time: 1.428568 seconds. (on Edge: 1.748622, on Cloud: 0.197167)
average network delay: 0.121850 seconds. (LAN delay: 0.028716, MAN delay: NaN, WAN delay: 0.480181)
average server utilization Edge/Cloud: 11.869326/0.241221
average cost: 0.0$
Scenario finished at 30/08/2018 15:27:43. It took 5 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:43
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 300
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): 31588(31588/0)
# of failed tasks (Edge/Cloud): 4223(4223/0)
# of completed tasks (Edge/Cloud): 27365(27365/0)
# of uncompleted tasks (Edge/Cloud): 53(53/0)
# of failed tasks due to vm capacity (Edge/Cloud): 3942(3942/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 281/0(0/0/0)
percentage of failed tasks: 13.369001%
average service time: 2.819168 seconds. (on Edge: 2.819168, on Cloud: NaN)
average processing time: 2.799437 seconds. (on Edge: 2.799437, on Cloud: NaN)
average network delay: 0.019731 seconds. (LAN delay: 0.019731, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 32.894768/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:27:52. It took 8 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:52
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 300
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): 27767(22007/5760)
# of failed tasks (Edge/Cloud): 1246(1225/21)
# of completed tasks (Edge/Cloud): 26521(20782/5739)
# of uncompleted tasks (Edge/Cloud): 42(42/0)
# of failed tasks due to vm capacity (Edge/Cloud): 1027(1027/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 219/0(0/0/0)
percentage of failed tasks: 4.487341%
average service time: 1.942640 seconds. (on Edge: 2.290136, on Cloud: 0.684291)
average processing time: 1.821822 seconds. (on Edge: 2.270339, on Cloud: 0.197656)
average network delay: 0.120818 seconds. (LAN delay: 0.019797, MAN delay: NaN, WAN delay: 0.486635)
average server utilization Edge/Cloud: 19.931916/0.309365
average cost: 0.0$
Scenario finished at 30/08/2018 15:28:01. It took 9 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:28:01
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 300
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): 27391(21870/5521)
# of failed tasks (Edge/Cloud): 199(177/22)
# of completed tasks (Edge/Cloud): 27192(21693/5499)
# of uncompleted tasks (Edge/Cloud): 30(30/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 199/0(0/0/0)
percentage of failed tasks: 0.726516%
average service time: 1.518735 seconds. (on Edge: 1.732473, on Cloud: 0.675556)
average processing time: 1.397512 seconds. (on Edge: 1.703488, on Cloud: 0.190465)
average network delay: 0.121223 seconds. (LAN delay: 0.028985, MAN delay: NaN, WAN delay: 0.485091)
average server utilization Edge/Cloud: 15.657549/0.309365
average cost: 0.0$
Scenario finished at 30/08/2018 15:28:10. It took 9 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:28:10
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 38980(38980/0)
# of failed tasks (Edge/Cloud): 7667(7667/0)
# of completed tasks (Edge/Cloud): 31313(31313/0)
# of uncompleted tasks (Edge/Cloud): 62(62/0)
# of failed tasks due to vm capacity (Edge/Cloud): 7275(7275/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 392/0(0/0/0)
percentage of failed tasks: 19.669061%
average service time: 2.859370 seconds. (on Edge: 2.859370, on Cloud: NaN)
average processing time: 2.839280 seconds. (on Edge: 2.839280, on Cloud: NaN)
average network delay: 0.020089 seconds. (LAN delay: 0.020089, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 38.879001/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:28:24. It took 13 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:28:24
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 39128(31017/8111)
# of failed tasks (Edge/Cloud): 3075(3050/25)
# of completed tasks (Edge/Cloud): 36053(27967/8086)
# of uncompleted tasks (Edge/Cloud): 56(54/2)
# of failed tasks due to vm capacity (Edge/Cloud): 2711(2711/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 364/0(0/0/0)
percentage of failed tasks: 7.858822%
average service time: 2.165025 seconds. (on Edge: 2.593167, on Cloud: 0.684211)
average processing time: 2.039043 seconds. (on Edge: 2.573087, on Cloud: 0.191949)
average network delay: 0.125981 seconds. (LAN delay: 0.020080, MAN delay: NaN, WAN delay: 0.492262)
average server utilization Edge/Cloud: 31.109651/0.478261
average cost: 0.0$
Scenario finished at 30/08/2018 15:28:38. It took 14 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:28:38
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 37643(30008/7635)
# of failed tasks (Edge/Cloud): 322(298/24)
# of completed tasks (Edge/Cloud): 37321(29710/7611)
# of uncompleted tasks (Edge/Cloud): 51(48/3)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 322/0(0/0/0)
percentage of failed tasks: 0.855405%
average service time: 1.735730 seconds. (on Edge: 2.004333, on Cloud: 0.687222)
average processing time: 1.612197 seconds. (on Edge: 1.974968, on Cloud: 0.196100)
average network delay: 0.123533 seconds. (LAN delay: 0.029365, MAN delay: NaN, WAN delay: 0.491123)
average server utilization Edge/Cloud: 25.848662/0.508361
average cost: 0.0$
Scenario finished at 30/08/2018 15:28:56. It took 17 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:28:56
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 500
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): 48943(48943/0)
# of failed tasks (Edge/Cloud): 12151(12151/0)
# of completed tasks (Edge/Cloud): 36792(36792/0)
# of uncompleted tasks (Edge/Cloud): 72(72/0)
# of failed tasks due to vm capacity (Edge/Cloud): 11654(11654/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 497/0(0/0/0)
percentage of failed tasks: 24.826839%
average service time: 3.021387 seconds. (on Edge: 3.021387, on Cloud: NaN)
average processing time: 3.001062 seconds. (on Edge: 3.001062, on Cloud: NaN)
average network delay: 0.020324 seconds. (LAN delay: 0.020324, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 48.122910/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:29:14. It took 18 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:29:14
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 500
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): 46907(37484/9423)
# of failed tasks (Edge/Cloud): 5486(5457/29)
# of completed tasks (Edge/Cloud): 41421(32027/9394)
# of uncompleted tasks (Edge/Cloud): 62(59/3)
# of failed tasks due to vm capacity (Edge/Cloud): 5109(5109/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 377/0(0/0/0)
percentage of failed tasks: 11.695483%
average service time: 2.239804 seconds. (on Edge: 2.695709, on Cloud: 0.685485)
average processing time: 2.110792 seconds. (on Edge: 2.675268, on Cloud: 0.186322)
average network delay: 0.129012 seconds. (LAN delay: 0.020441, MAN delay: NaN, WAN delay: 0.499163)
average server utilization Edge/Cloud: 36.375418/0.487876
average cost: 0.0$
Scenario finished at 30/08/2018 15:29:43. It took 28 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:29:43
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 500
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): 48005(38053/9952)
# of failed tasks (Edge/Cloud): 436(400/36)
# of completed tasks (Edge/Cloud): 47569(37653/9916)
# of uncompleted tasks (Edge/Cloud): 83(82/1)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 436/0(0/0/0)
percentage of failed tasks: 0.908239%
average service time: 1.977924 seconds. (on Edge: 2.317429, on Cloud: 0.688756)
average processing time: 1.850193 seconds. (on Edge: 2.287576, on Cloud: 0.189367)
average network delay: 0.127731 seconds. (LAN delay: 0.029854, MAN delay: NaN, WAN delay: 0.499389)
average server utilization Edge/Cloud: 37.673196/0.577759
average cost: 0.0$
Scenario finished at 30/08/2018 15:30:39. It took 56 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:30:39
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 52450(52450/0)
# of failed tasks (Edge/Cloud): 12981(12981/0)
# of completed tasks (Edge/Cloud): 39469(39469/0)
# of uncompleted tasks (Edge/Cloud): 75(75/0)
# of failed tasks due to vm capacity (Edge/Cloud): 12485(12485/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 496/0(0/0/0)
percentage of failed tasks: 24.749285%
average service time: 2.970507 seconds. (on Edge: 2.970507, on Cloud: NaN)
average processing time: 2.949778 seconds. (on Edge: 2.949778, on Cloud: NaN)
average network delay: 0.020728 seconds. (LAN delay: 0.020728, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 49.608815/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:31:35. It took 56 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:31:35
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 57013(45217/11796)
# of failed tasks (Edge/Cloud): 9316(9278/38)
# of completed tasks (Edge/Cloud): 47697(35939/11758)
# of uncompleted tasks (Edge/Cloud): 62(61/1)
# of failed tasks due to vm capacity (Edge/Cloud): 8807(8807/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 509/0(0/0/0)
percentage of failed tasks: 16.340133%
average service time: 2.315465 seconds. (on Edge: 2.846571, on Cloud: 0.692106)
average processing time: 2.174666 seconds. (on Edge: 2.825747, on Cloud: 0.184599)
average network delay: 0.140799 seconds. (LAN delay: 0.020824, MAN delay: NaN, WAN delay: 0.507507)
average server utilization Edge/Cloud: 43.084687/0.677676
average cost: 0.0$
Scenario finished at 30/08/2018 15:32:50. It took 1 Minute 15 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:32:50
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 55033(43936/11097)
# of failed tasks (Edge/Cloud): 581(545/36)
# of completed tasks (Edge/Cloud): 54452(43391/11061)
# of uncompleted tasks (Edge/Cloud): 95(93/2)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 581/0(0/0/0)
percentage of failed tasks: 1.055730%
average service time: 2.327678 seconds. (on Edge: 2.744177, on Cloud: 0.693798)
average processing time: 2.200332 seconds. (on Edge: 2.713820, on Cloud: 0.185981)
average network delay: 0.127346 seconds. (LAN delay: 0.030358, MAN delay: NaN, WAN delay: 0.507818)
average server utilization Edge/Cloud: 50.904802/0.625418
average cost: 0.0$
Scenario finished at 30/08/2018 15:34:09. It took 1 Minute 18 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:34:09
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 700
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): 69629(69629/0)
# of failed tasks (Edge/Cloud): 26542(26542/0)
# of completed tasks (Edge/Cloud): 43087(43087/0)
# of uncompleted tasks (Edge/Cloud): 97(97/0)
# of failed tasks due to vm capacity (Edge/Cloud): 25826(25826/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 716/0(0/0/0)
percentage of failed tasks: 38.119174%
average service time: 3.203409 seconds. (on Edge: 3.203409, on Cloud: NaN)
average processing time: 3.182394 seconds. (on Edge: 3.182394, on Cloud: NaN)
average network delay: 0.021015 seconds. (LAN delay: 0.021015, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 59.743789/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:35:26. It took 1 Minute 17 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:35:26
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 700
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): 67093(53456/13637)
# of failed tasks (Edge/Cloud): 15841(15786/55)
# of completed tasks (Edge/Cloud): 51252(37670/13582)
# of uncompleted tasks (Edge/Cloud): 74(72/2)
# of failed tasks due to vm capacity (Edge/Cloud): 15267(15267/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 574/0(0/0/0)
percentage of failed tasks: 23.610511%
average service time: 2.404199 seconds. (on Edge: 3.016760, on Cloud: 0.705248)
average processing time: 2.251764 seconds. (on Edge: 2.995567, on Cloud: 0.188811)
average network delay: 0.152435 seconds. (LAN delay: 0.021193, MAN delay: NaN, WAN delay: 0.516437)
average server utilization Edge/Cloud: 48.764931/0.783027
average cost: 0.0$
Scenario finished at 30/08/2018 15:36:59. It took 1 Minute 33 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:36:59
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 700
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): 67204(53549/13655)
# of failed tasks (Edge/Cloud): 2804(2760/44)
# of completed tasks (Edge/Cloud): 64400(50789/13611)
# of uncompleted tasks (Edge/Cloud): 120(119/1)
# of failed tasks due to vm capacity (Edge/Cloud): 1903(1903/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 901/0(0/0/0)
percentage of failed tasks: 4.172371%
average service time: 3.056693 seconds. (on Edge: 3.687844, on Cloud: 0.701572)
average processing time: 2.923022 seconds. (on Edge: 3.656914, on Cloud: 0.184526)
average network delay: 0.133671 seconds. (LAN delay: 0.030930, MAN delay: NaN, WAN delay: 0.517045)
average server utilization Edge/Cloud: 80.104515/0.770903
average cost: 0.0$
Scenario finished at 30/08/2018 15:38:59. It took 1 Minute 59 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:38:59
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 78099(78099/0)
# of failed tasks (Edge/Cloud): 32838(32838/0)
# of completed tasks (Edge/Cloud): 45261(45261/0)
# of uncompleted tasks (Edge/Cloud): 89(89/0)
# of failed tasks due to vm capacity (Edge/Cloud): 32062(32062/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 776/0(0/0/0)
percentage of failed tasks: 42.046633%
average service time: 3.294763 seconds. (on Edge: 3.294763, on Cloud: NaN)
average processing time: 3.273343 seconds. (on Edge: 3.273343, on Cloud: NaN)
average network delay: 0.021420 seconds. (LAN delay: 0.021420, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 64.457119/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:40:10. It took 1 Minute 11 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:40:10
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 74992(59396/15596)
# of failed tasks (Edge/Cloud): 18844(18796/48)
# of completed tasks (Edge/Cloud): 56148(40600/15548)
# of uncompleted tasks (Edge/Cloud): 78(74/4)
# of failed tasks due to vm capacity (Edge/Cloud): 18198(18198/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 646/0(0/0/0)
percentage of failed tasks: 25.128014%
average service time: 2.420172 seconds. (on Edge: 3.074358, on Cloud: 0.711915)
average processing time: 2.259818 seconds. (on Edge: 3.052875, on Cloud: 0.188935)
average network delay: 0.160353 seconds. (LAN delay: 0.021483, MAN delay: NaN, WAN delay: 0.522980)
average server utilization Edge/Cloud: 53.857501/0.956940
average cost: 0.0$
Scenario finished at 30/08/2018 15:41:49. It took 1 Minute 38 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:41:49
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 71458(56822/14636)
# of failed tasks (Edge/Cloud): 4311(4252/59)
# of completed tasks (Edge/Cloud): 67147(52570/14577)
# of uncompleted tasks (Edge/Cloud): 135(133/2)
# of failed tasks due to vm capacity (Edge/Cloud): 3354(3354/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 957/0(0/0/0)
percentage of failed tasks: 6.032914%
average service time: 3.103915 seconds. (on Edge: 3.768588, on Cloud: 0.706861)
average processing time: 2.966123 seconds. (on Edge: 3.737375, on Cloud: 0.184707)
average network delay: 0.137792 seconds. (LAN delay: 0.031213, MAN delay: NaN, WAN delay: 0.522154)
average server utilization Edge/Cloud: 83.877210/0.759615
average cost: 0.0$
Scenario finished at 30/08/2018 15:43:28. It took 1 Minute 39 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:43:28
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 900
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): 86591(86591/0)
# of failed tasks (Edge/Cloud): 38309(38309/0)
# of completed tasks (Edge/Cloud): 48282(48282/0)
# of uncompleted tasks (Edge/Cloud): 97(97/0)
# of failed tasks due to vm capacity (Edge/Cloud): 37464(37464/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 845/0(0/0/0)
percentage of failed tasks: 44.241318%
average service time: 3.404546 seconds. (on Edge: 3.404546, on Cloud: NaN)
average processing time: 3.382845 seconds. (on Edge: 3.382845, on Cloud: NaN)
average network delay: 0.021701 seconds. (LAN delay: 0.021701, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 70.060320/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:44:45. It took 1 Minute 17 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:44:45
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 900
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): 92770(73759/19011)
# of failed tasks (Edge/Cloud): 29921(29866/55)
# of completed tasks (Edge/Cloud): 62849(43893/18956)
# of uncompleted tasks (Edge/Cloud): 109(102/7)
# of failed tasks due to vm capacity (Edge/Cloud): 29170(29170/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 751/0(0/0/0)
percentage of failed tasks: 32.252883%
average service time: 2.506834 seconds. (on Edge: 3.276532, on Cloud: 0.724583)
average processing time: 2.329891 seconds. (on Edge: 3.254706, on Cloud: 0.188463)
average network delay: 0.176943 seconds. (LAN delay: 0.021826, MAN delay: NaN, WAN delay: 0.536119)
average server utilization Edge/Cloud: 61.998328/1.083194
average cost: 0.0$
Scenario finished at 30/08/2018 15:46:25. It took 1 Minute 39 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:46:25
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 900
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): 83054(66063/16991)
# of failed tasks (Edge/Cloud): 12302(12257/45)
# of completed tasks (Edge/Cloud): 70752(53806/16946)
# of uncompleted tasks (Edge/Cloud): 143(141/2)
# of failed tasks due to vm capacity (Edge/Cloud): 11291(11291/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1011/0(0/0/0)
percentage of failed tasks: 14.812050%
average service time: 3.278302 seconds. (on Edge: 4.084576, on Cloud: 0.718264)
average processing time: 3.126418 seconds. (on Edge: 4.052783, on Cloud: 0.185075)
average network delay: 0.151883 seconds. (LAN delay: 0.031793, MAN delay: NaN, WAN delay: 0.533189)
average server utilization Edge/Cloud: 92.689322/0.984532
average cost: 0.0$
Scenario finished at 30/08/2018 15:48:37. It took 2 Minutes 12 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:48:37
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 95672(95672/0)
# of failed tasks (Edge/Cloud): 46459(46459/0)
# of completed tasks (Edge/Cloud): 49213(49213/0)
# of uncompleted tasks (Edge/Cloud): 92(92/0)
# of failed tasks due to vm capacity (Edge/Cloud): 45560(45560/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 899/0(0/0/0)
percentage of failed tasks: 48.560707%
average service time: 3.445419 seconds. (on Edge: 3.445419, on Cloud: NaN)
average processing time: 3.423328 seconds. (on Edge: 3.423328, on Cloud: NaN)
average network delay: 0.022091 seconds. (LAN delay: 0.022091, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 72.883421/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:50:01. It took 1 Minute 24 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:50:01
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 99828(79479/20349)
# of failed tasks (Edge/Cloud): 32912(32858/54)
# of completed tasks (Edge/Cloud): 66916(46621/20295)
# of uncompleted tasks (Edge/Cloud): 107(101/6)
# of failed tasks due to vm capacity (Edge/Cloud): 32095(32095/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 817/0(0/0/0)
percentage of failed tasks: 32.968706%
average service time: 2.570496 seconds. (on Edge: 3.372683, on Cloud: 0.727740)
average processing time: 2.391113 seconds. (on Edge: 3.350530, on Cloud: 0.187172)
average network delay: 0.179384 seconds. (LAN delay: 0.022153, MAN delay: NaN, WAN delay: 0.540569)
average server utilization Edge/Cloud: 67.738294/1.236204
average cost: 0.0$
Scenario finished at 30/08/2018 15:52:27. It took 2 Minutes 25 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:52:27
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 1
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 98868(78602/20266)
# of failed tasks (Edge/Cloud): 24284(24220/64)
# of completed tasks (Edge/Cloud): 74584(54382/20202)
# of uncompleted tasks (Edge/Cloud): 155(146/9)
# of failed tasks due to vm capacity (Edge/Cloud): 23210(23210/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1074/0(0/0/0)
percentage of failed tasks: 24.562042%
average service time: 3.264589 seconds. (on Edge: 4.205547, on Cloud: 0.731614)
average processing time: 3.094171 seconds. (on Edge: 4.173248, on Cloud: 0.189391)
average network delay: 0.170418 seconds. (LAN delay: 0.032299, MAN delay: NaN, WAN delay: 0.542223)
average server utilization Edge/Cloud: 95.796106/1.204013
average cost: 0.0$
Scenario finished at 30/08/2018 15:54:43. It took 2 Minutes 16 Seconds
----------------------------------------------------------------------
Simulation finished at 30/08/2018 15:54:43. It took 27 Minutes 17 Seconds

View File

@ -0,0 +1,633 @@
Simulation started at 30/08/2018 15:27:26
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:26
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 100
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): 9170(9170/0)
# of failed tasks (Edge/Cloud): 83(83/0)
# of completed tasks (Edge/Cloud): 9087(9087/0)
# of uncompleted tasks (Edge/Cloud): 13(13/0)
# of failed tasks due to vm capacity (Edge/Cloud): 8(8/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 75/0(0/0/0)
percentage of failed tasks: 0.905125%
average service time: 1.805445 seconds. (on Edge: 1.805445, on Cloud: NaN)
average processing time: 1.786389 seconds. (on Edge: 1.786389, on Cloud: NaN)
average network delay: 0.019056 seconds. (LAN delay: 0.019056, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 7.112398/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:27:28. It took 2 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:28
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 100
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): 9961(7987/1974)
# of failed tasks (Edge/Cloud): 69(62/7)
# of completed tasks (Edge/Cloud): 9892(7925/1967)
# of uncompleted tasks (Edge/Cloud): 20(20/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 69/0(0/0/0)
percentage of failed tasks: 0.692702%
average service time: 1.470259 seconds. (on Edge: 1.666082, on Cloud: 0.681293)
average processing time: 1.360702 seconds. (on Edge: 1.647019, on Cloud: 0.207138)
average network delay: 0.109557 seconds. (LAN delay: 0.019063, MAN delay: NaN, WAN delay: 0.474155)
average server utilization Edge/Cloud: 5.414477/0.132525
average cost: 0.0$
Scenario finished at 30/08/2018 15:27:30. It took 1 Second
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:30
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 100
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): 9051(7172/1879)
# of failed tasks (Edge/Cloud): 80(75/5)
# of completed tasks (Edge/Cloud): 8971(7097/1874)
# of uncompleted tasks (Edge/Cloud): 11(11/0)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 80/0(0/0/0)
percentage of failed tasks: 0.883880%
average service time: 1.471366 seconds. (on Edge: 1.677839, on Cloud: 0.689436)
average processing time: 1.349996 seconds. (on Edge: 1.649520, on Cloud: 0.215670)
average network delay: 0.121371 seconds. (LAN delay: 0.028319, MAN delay: NaN, WAN delay: 0.473765)
average server utilization Edge/Cloud: 5.077640/0.130435
average cost: 0.0$
Scenario finished at 30/08/2018 15:27:31. It took 1 Second
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:31
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 19207(19207/0)
# of failed tasks (Edge/Cloud): 831(831/0)
# of completed tasks (Edge/Cloud): 18376(18376/0)
# of uncompleted tasks (Edge/Cloud): 26(26/0)
# of failed tasks due to vm capacity (Edge/Cloud): 670(670/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 161/0(0/0/0)
percentage of failed tasks: 4.326548%
average service time: 2.282277 seconds. (on Edge: 2.282277, on Cloud: NaN)
average processing time: 2.262848 seconds. (on Edge: 2.262848, on Cloud: NaN)
average network delay: 0.019429 seconds. (LAN delay: 0.019429, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 17.973602/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:27:34. It took 2 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:34
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 18761(14923/3838)
# of failed tasks (Edge/Cloud): 226(217/9)
# of completed tasks (Edge/Cloud): 18535(14706/3829)
# of uncompleted tasks (Edge/Cloud): 20(20/0)
# of failed tasks due to vm capacity (Edge/Cloud): 98(98/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 128/0(0/0/0)
percentage of failed tasks: 1.204627%
average service time: 1.702445 seconds. (on Edge: 1.968395, on Cloud: 0.681010)
average processing time: 1.588019 seconds. (on Edge: 1.949005, on Cloud: 0.201584)
average network delay: 0.114426 seconds. (LAN delay: 0.019391, MAN delay: NaN, WAN delay: 0.479426)
average server utilization Edge/Cloud: 12.052078/0.257943
average cost: 0.0$
Scenario finished at 30/08/2018 15:27:36. It took 2 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:36
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 20525(16297/4228)
# of failed tasks (Edge/Cloud): 156(143/13)
# of completed tasks (Edge/Cloud): 20369(16154/4215)
# of uncompleted tasks (Edge/Cloud): 32(31/1)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 156/0(0/0/0)
percentage of failed tasks: 0.760049%
average service time: 1.557475 seconds. (on Edge: 1.785970, on Cloud: 0.681764)
average processing time: 1.435677 seconds. (on Edge: 1.757321, on Cloud: 0.202976)
average network delay: 0.121798 seconds. (LAN delay: 0.028650, MAN delay: NaN, WAN delay: 0.478788)
average server utilization Edge/Cloud: 12.373387/0.250836
average cost: 0.0$
Scenario finished at 30/08/2018 15:27:39. It took 2 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:39
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 300
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): 30836(30836/0)
# of failed tasks (Edge/Cloud): 3220(3220/0)
# of completed tasks (Edge/Cloud): 27616(27616/0)
# of uncompleted tasks (Edge/Cloud): 45(45/0)
# of failed tasks due to vm capacity (Edge/Cloud): 2879(2879/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 341/0(0/0/0)
percentage of failed tasks: 10.442340%
average service time: 2.648969 seconds. (on Edge: 2.648969, on Cloud: NaN)
average processing time: 2.629243 seconds. (on Edge: 2.629243, on Cloud: NaN)
average network delay: 0.019726 seconds. (LAN delay: 0.019726, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 31.385571/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:27:47. It took 8 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:47
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 300
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): 29350(23335/6015)
# of failed tasks (Edge/Cloud): 1740(1722/18)
# of completed tasks (Edge/Cloud): 27610(21613/5997)
# of uncompleted tasks (Edge/Cloud): 36(35/1)
# of failed tasks due to vm capacity (Edge/Cloud): 1524(1524/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 216/0(0/0/0)
percentage of failed tasks: 5.928450%
average service time: 2.039876 seconds. (on Edge: 2.417560, on Cloud: 0.678715)
average processing time: 1.918593 seconds. (on Edge: 2.397770, on Cloud: 0.191656)
average network delay: 0.121283 seconds. (LAN delay: 0.019790, MAN delay: NaN, WAN delay: 0.487059)
average server utilization Edge/Cloud: 22.148232/0.331940
average cost: 0.0$
Scenario finished at 30/08/2018 15:27:56. It took 8 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:27:56
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 300
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): 29314(23289/6025)
# of failed tasks (Edge/Cloud): 199(187/12)
# of completed tasks (Edge/Cloud): 29115(23102/6013)
# of uncompleted tasks (Edge/Cloud): 32(30/2)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 199/0(0/0/0)
percentage of failed tasks: 0.678857%
average service time: 1.597955 seconds. (on Edge: 1.836291, on Cloud: 0.682265)
average processing time: 1.474473 seconds. (on Edge: 1.807215, on Cloud: 0.196076)
average network delay: 0.123482 seconds. (LAN delay: 0.029076, MAN delay: NaN, WAN delay: 0.486189)
average server utilization Edge/Cloud: 18.090062/0.408027
average cost: 0.0$
Scenario finished at 30/08/2018 15:28:08. It took 12 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:28:08
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 35612(35612/0)
# of failed tasks (Edge/Cloud): 4307(4307/0)
# of completed tasks (Edge/Cloud): 31305(31305/0)
# of uncompleted tasks (Edge/Cloud): 54(54/0)
# of failed tasks due to vm capacity (Edge/Cloud): 3969(3969/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 338/0(0/0/0)
percentage of failed tasks: 12.094238%
average service time: 2.617284 seconds. (on Edge: 2.617284, on Cloud: NaN)
average processing time: 2.597240 seconds. (on Edge: 2.597240, on Cloud: NaN)
average network delay: 0.020043 seconds. (LAN delay: 0.020043, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 34.899068/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:28:22. It took 13 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:28:22
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 42653(33859/8794)
# of failed tasks (Edge/Cloud): 4301(4277/24)
# of completed tasks (Edge/Cloud): 38352(29582/8770)
# of uncompleted tasks (Edge/Cloud): 54(50/4)
# of failed tasks due to vm capacity (Edge/Cloud): 3965(3965/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 336/0(0/0/0)
percentage of failed tasks: 10.083699%
average service time: 2.235105 seconds. (on Edge: 2.694778, on Cloud: 0.684585)
average processing time: 2.106859 seconds. (on Edge: 2.674685, on Cloud: 0.191531)
average network delay: 0.128246 seconds. (LAN delay: 0.020093, MAN delay: NaN, WAN delay: 0.493054)
average server utilization Edge/Cloud: 33.628165/0.529264
average cost: 0.0$
Scenario finished at 30/08/2018 15:28:44. It took 22 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:28:44
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 39217(31177/8040)
# of failed tasks (Edge/Cloud): 310(279/31)
# of completed tasks (Edge/Cloud): 38907(30898/8009)
# of uncompleted tasks (Edge/Cloud): 42(40/2)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 310/0(0/0/0)
percentage of failed tasks: 0.790474%
average service time: 1.771259 seconds. (on Edge: 2.053145, on Cloud: 0.683767)
average processing time: 1.646373 seconds. (on Edge: 2.023648, on Cloud: 0.190883)
average network delay: 0.124885 seconds. (LAN delay: 0.029497, MAN delay: NaN, WAN delay: 0.492884)
average server utilization Edge/Cloud: 27.273650/0.453177
average cost: 0.0$
Scenario finished at 30/08/2018 15:29:03. It took 18 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:29:03
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 500
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): 49083(49083/0)
# of failed tasks (Edge/Cloud): 12554(12554/0)
# of completed tasks (Edge/Cloud): 36529(36529/0)
# of uncompleted tasks (Edge/Cloud): 73(73/0)
# of failed tasks due to vm capacity (Edge/Cloud): 12017(12017/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 537/0(0/0/0)
percentage of failed tasks: 25.577084%
average service time: 2.985287 seconds. (on Edge: 2.985287, on Cloud: NaN)
average processing time: 2.964927 seconds. (on Edge: 2.964927, on Cloud: NaN)
average network delay: 0.020360 seconds. (LAN delay: 0.020360, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 46.954730/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:29:24. It took 21 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:29:24
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 500
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): 48677(38794/9883)
# of failed tasks (Edge/Cloud): 6831(6799/32)
# of completed tasks (Edge/Cloud): 41846(31995/9851)
# of uncompleted tasks (Edge/Cloud): 58(53/5)
# of failed tasks due to vm capacity (Edge/Cloud): 6434(6434/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 397/0(0/0/0)
percentage of failed tasks: 14.033322%
average service time: 2.251793 seconds. (on Edge: 2.732887, on Cloud: 0.689251)
average processing time: 2.118043 seconds. (on Edge: 2.712387, on Cloud: 0.187679)
average network delay: 0.133750 seconds. (LAN delay: 0.020501, MAN delay: NaN, WAN delay: 0.501573)
average server utilization Edge/Cloud: 37.426541/0.570234
average cost: 0.0$
Scenario finished at 30/08/2018 15:30:08. It took 44 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:30:08
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 500
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): 43022(34240/8782)
# of failed tasks (Edge/Cloud): 359(333/26)
# of completed tasks (Edge/Cloud): 42663(33907/8756)
# of uncompleted tasks (Edge/Cloud): 53(51/2)
# of failed tasks due to vm capacity (Edge/Cloud): 0(0/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 359/0(0/0/0)
percentage of failed tasks: 0.834457%
average service time: 1.800891 seconds. (on Edge: 2.087878, on Cloud: 0.689551)
average processing time: 1.674191 seconds. (on Edge: 2.057892, on Cloud: 0.188336)
average network delay: 0.126699 seconds. (LAN delay: 0.029986, MAN delay: NaN, WAN delay: 0.501215)
average server utilization Edge/Cloud: 30.151696/0.508361
average cost: 0.0$
Scenario finished at 30/08/2018 15:31:09. It took 1 Minute 0 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:31:09
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 59244(59244/0)
# of failed tasks (Edge/Cloud): 18288(18288/0)
# of completed tasks (Edge/Cloud): 40956(40956/0)
# of uncompleted tasks (Edge/Cloud): 94(94/0)
# of failed tasks due to vm capacity (Edge/Cloud): 17694(17694/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 594/0(0/0/0)
percentage of failed tasks: 30.868949%
average service time: 3.109607 seconds. (on Edge: 3.109607, on Cloud: NaN)
average processing time: 3.088915 seconds. (on Edge: 3.088915, on Cloud: NaN)
average network delay: 0.020692 seconds. (LAN delay: 0.020692, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 54.586718/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:32:25. It took 1 Minute 16 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:32:25
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 56528(44978/11550)
# of failed tasks (Edge/Cloud): 10215(10186/29)
# of completed tasks (Edge/Cloud): 46313(34792/11521)
# of uncompleted tasks (Edge/Cloud): 85(80/5)
# of failed tasks due to vm capacity (Edge/Cloud): 9739(9739/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 476/0(0/0/0)
percentage of failed tasks: 18.070691%
average service time: 2.327657 seconds. (on Edge: 2.868043, on Cloud: 0.695759)
average processing time: 2.185497 seconds. (on Edge: 2.847217, on Cloud: 0.187184)
average network delay: 0.142160 seconds. (LAN delay: 0.020826, MAN delay: NaN, WAN delay: 0.508575)
average server utilization Edge/Cloud: 42.612279/0.675585
average cost: 0.0$
Scenario finished at 30/08/2018 15:33:34. It took 1 Minute 8 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:33:34
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 58921(46783/12138)
# of failed tasks (Edge/Cloud): 829(792/37)
# of completed tasks (Edge/Cloud): 58092(45991/12101)
# of uncompleted tasks (Edge/Cloud): 103(101/2)
# of failed tasks due to vm capacity (Edge/Cloud): 137(137/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 692/0(0/0/0)
percentage of failed tasks: 1.406969%
average service time: 2.591590 seconds. (on Edge: 3.091040, on Cloud: 0.693387)
average processing time: 2.462014 seconds. (on Edge: 3.060726, on Cloud: 0.186552)
average network delay: 0.129576 seconds. (LAN delay: 0.030313, MAN delay: NaN, WAN delay: 0.506835)
average server utilization Edge/Cloud: 60.224558/0.640050
average cost: 0.0$
Scenario finished at 30/08/2018 15:35:19. It took 1 Minute 44 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:35:19
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 700
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): 67283(67283/0)
# of failed tasks (Edge/Cloud): 23738(23738/0)
# of completed tasks (Edge/Cloud): 43545(43545/0)
# of uncompleted tasks (Edge/Cloud): 89(89/0)
# of failed tasks due to vm capacity (Edge/Cloud): 23029(23029/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 709/0(0/0/0)
percentage of failed tasks: 35.280829%
average service time: 3.230328 seconds. (on Edge: 3.230328, on Cloud: NaN)
average processing time: 3.209319 seconds. (on Edge: 3.209319, on Cloud: NaN)
average network delay: 0.021009 seconds. (LAN delay: 0.021009, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 60.376254/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:36:31. It took 1 Minute 11 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:36:31
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 700
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): 64857(51553/13304)
# of failed tasks (Edge/Cloud): 13358(13312/46)
# of completed tasks (Edge/Cloud): 51499(38241/13258)
# of uncompleted tasks (Edge/Cloud): 79(77/2)
# of failed tasks due to vm capacity (Edge/Cloud): 12803(12803/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 555/0(0/0/0)
percentage of failed tasks: 20.596081%
average service time: 2.400110 seconds. (on Edge: 2.988797, on Cloud: 0.702117)
average processing time: 2.251869 seconds. (on Edge: 2.967627, on Cloud: 0.187356)
average network delay: 0.148241 seconds. (LAN delay: 0.021170, MAN delay: NaN, WAN delay: 0.514761)
average server utilization Edge/Cloud: 48.738653/0.836538
average cost: 0.0$
Scenario finished at 30/08/2018 15:38:11. It took 1 Minute 40 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:38:11
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 700
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): 65500(52098/13402)
# of failed tasks (Edge/Cloud): 1656(1619/37)
# of completed tasks (Edge/Cloud): 63844(50479/13365)
# of uncompleted tasks (Edge/Cloud): 129(128/1)
# of failed tasks due to vm capacity (Edge/Cloud): 866(866/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 790/0(0/0/0)
percentage of failed tasks: 2.528244%
average service time: 2.870859 seconds. (on Edge: 3.445548, on Cloud: 0.700285)
average processing time: 2.738297 seconds. (on Edge: 3.414685, on Cloud: 0.183609)
average network delay: 0.132562 seconds. (LAN delay: 0.030863, MAN delay: NaN, WAN delay: 0.516677)
average server utilization Edge/Cloud: 73.924988/0.748328
average cost: 0.0$
Scenario finished at 30/08/2018 15:40:39. It took 2 Minutes 28 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:40:39
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 78287(78287/0)
# of failed tasks (Edge/Cloud): 32285(32285/0)
# of completed tasks (Edge/Cloud): 46002(46002/0)
# of uncompleted tasks (Edge/Cloud): 81(81/0)
# of failed tasks due to vm capacity (Edge/Cloud): 31541(31541/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 744/0(0/0/0)
percentage of failed tasks: 41.239286%
average service time: 3.287363 seconds. (on Edge: 3.287363, on Cloud: NaN)
average processing time: 3.265970 seconds. (on Edge: 3.265970, on Cloud: NaN)
average network delay: 0.021393 seconds. (LAN delay: 0.021393, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 64.845318/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:42:08. It took 1 Minute 28 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:42:08
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 75109(59804/15305)
# of failed tasks (Edge/Cloud): 19314(19260/54)
# of completed tasks (Edge/Cloud): 55795(40544/15251)
# of uncompleted tasks (Edge/Cloud): 75(71/4)
# of failed tasks due to vm capacity (Edge/Cloud): 18675(18675/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 639/0(0/0/0)
percentage of failed tasks: 25.714628%
average service time: 2.448903 seconds. (on Edge: 3.103406, on Cloud: 0.708941)
average processing time: 2.289573 seconds. (on Edge: 3.081864, on Cloud: 0.183310)
average network delay: 0.159330 seconds. (LAN delay: 0.021543, MAN delay: NaN, WAN delay: 0.525631)
average server utilization Edge/Cloud: 53.500956/0.829431
average cost: 0.0$
Scenario finished at 30/08/2018 15:43:30. It took 1 Minute 21 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:43:30
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 79076(62768/16308)
# of failed tasks (Edge/Cloud): 10034(9976/58)
# of completed tasks (Edge/Cloud): 69042(52792/16250)
# of uncompleted tasks (Edge/Cloud): 137(134/3)
# of failed tasks due to vm capacity (Edge/Cloud): 8989(8989/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1045/0(0/0/0)
percentage of failed tasks: 12.689059%
average service time: 3.282831 seconds. (on Edge: 4.074761, on Cloud: 0.710057)
average processing time: 3.135541 seconds. (on Edge: 4.043438, on Cloud: 0.186020)
average network delay: 0.147290 seconds. (LAN delay: 0.031323, MAN delay: NaN, WAN delay: 0.524037)
average server utilization Edge/Cloud: 91.517559/0.914298
average cost: 0.0$
Scenario finished at 30/08/2018 15:45:26. It took 1 Minute 56 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:45:26
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 900
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): 85705(85705/0)
# of failed tasks (Edge/Cloud): 38641(38641/0)
# of completed tasks (Edge/Cloud): 47064(47064/0)
# of uncompleted tasks (Edge/Cloud): 88(88/0)
# of failed tasks due to vm capacity (Edge/Cloud): 37837(37837/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 804/0(0/0/0)
percentage of failed tasks: 45.086051%
average service time: 3.367897 seconds. (on Edge: 3.367897, on Cloud: NaN)
average processing time: 3.346119 seconds. (on Edge: 3.346119, on Cloud: NaN)
average network delay: 0.021778 seconds. (LAN delay: 0.021778, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 68.518872/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:46:56. It took 1 Minute 29 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:46:56
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 900
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): 89192(70731/18461)
# of failed tasks (Edge/Cloud): 27345(27281/64)
# of completed tasks (Edge/Cloud): 61847(43450/18397)
# of uncompleted tasks (Edge/Cloud): 98(92/6)
# of failed tasks due to vm capacity (Edge/Cloud): 26531(26531/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 814/0(0/0/0)
percentage of failed tasks: 30.658579%
average service time: 2.485208 seconds. (on Edge: 3.230742, on Cloud: 0.724406)
average processing time: 2.310735 seconds. (on Edge: 3.208918, on Cloud: 0.189407)
average network delay: 0.174473 seconds. (LAN delay: 0.021824, MAN delay: NaN, WAN delay: 0.534998)
average server utilization Edge/Cloud: 60.870760/1.091973
average cost: 0.0$
Scenario finished at 30/08/2018 15:48:37. It took 1 Minute 41 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:48:37
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #devices: 900
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): 86726(68925/17801)
# of failed tasks (Edge/Cloud): 14713(14659/54)
# of completed tasks (Edge/Cloud): 72013(54266/17747)
# of uncompleted tasks (Edge/Cloud): 143(140/3)
# of failed tasks due to vm capacity (Edge/Cloud): 13616(13616/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1097/0(0/0/0)
percentage of failed tasks: 16.964924%
average service time: 3.284205 seconds. (on Edge: 4.123089, on Cloud: 0.719105)
average processing time: 3.128438 seconds. (on Edge: 4.091166, on Cloud: 0.184650)
average network delay: 0.155768 seconds. (LAN delay: 0.031923, MAN delay: NaN, WAN delay: 0.534455)
average server utilization Edge/Cloud: 94.234353/0.905936
average cost: 0.0$
Scenario finished at 30/08/2018 15:50:47. It took 2 Minutes 10 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:50:47
Scenario: SINGLE_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 100163(100163/0)
# of failed tasks (Edge/Cloud): 50451(50451/0)
# of completed tasks (Edge/Cloud): 49712(49712/0)
# of uncompleted tasks (Edge/Cloud): 108(108/0)
# of failed tasks due to vm capacity (Edge/Cloud): 49510(49510/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 941/0(0/0/0)
percentage of failed tasks: 50.368899%
average service time: 3.536686 seconds. (on Edge: 3.536686, on Cloud: NaN)
average processing time: 3.514615 seconds. (on Edge: 3.514615, on Cloud: NaN)
average network delay: 0.022071 seconds. (LAN delay: 0.022071, MAN delay: NaN, WAN delay: NaN)
average server utilization Edge/Cloud: 75.495700/0.000000
average cost: 0.0$
Scenario finished at 30/08/2018 15:52:34. It took 1 Minute 47 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:52:34
Scenario: TWO_TIER - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 89434(71160/18274)
# of failed tasks (Edge/Cloud): 26025(25972/53)
# of completed tasks (Edge/Cloud): 63409(45188/18221)
# of uncompleted tasks (Edge/Cloud): 110(105/5)
# of failed tasks due to vm capacity (Edge/Cloud): 25287(25287/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 738/0(0/0/0)
percentage of failed tasks: 29.099671%
average service time: 2.476858 seconds. (on Edge: 3.183565, on Cloud: 0.724227)
average processing time: 2.305956 seconds. (on Edge: 3.161327, on Cloud: 0.184642)
average network delay: 0.170901 seconds. (LAN delay: 0.022238, MAN delay: NaN, WAN delay: 0.539585)
average server utilization Edge/Cloud: 61.185499/1.030518
average cost: 0.0$
Scenario finished at 30/08/2018 15:54:37. It took 2 Minutes 3 Seconds
----------------------------------------------------------------------
Scenario started at 30/08/2018 15:54:37
Scenario: TWO_TIER_WITH_EO - Policy: NEXT_FIT - #iteration: 2
Duration: 0.5 hour(s) - Poisson: 5.0 - #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): 97953(77805/20148)
# of failed tasks (Edge/Cloud): 23382(23306/76)
# of completed tasks (Edge/Cloud): 74571(54499/20072)
# of uncompleted tasks (Edge/Cloud): 150(144/6)
# of failed tasks due to vm capacity (Edge/Cloud): 22242(22242/0)
# of failed tasks due to Mobility/Network(WLAN/MAN/WAN): 1140/0(0/0/0)
percentage of failed tasks: 23.870632%
average service time: 3.248170 seconds. (on Edge: 4.176229, on Cloud: 0.728327)
average processing time: 3.078638 seconds. (on Edge: 4.143883, on Cloud: 0.186309)
average network delay: 0.169532 seconds. (LAN delay: 0.032345, MAN delay: NaN, WAN delay: 0.542017)
average server utilization Edge/Cloud: 95.974080/1.056856
average cost: 0.0$
Scenario finished at 30/08/2018 15:57:19. It took 2 Minutes 41 Seconds
----------------------------------------------------------------------
Simulation finished at 30/08/2018 15:57:19. It took 29 Minutes 53 Seconds

View File

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

View File

@ -0,0 +1 @@
/home/cagatay/Desktop/ecs/EdgeCloudSim/scripts/sample_app1/runner.sh /home/cagatay/Desktop/ecs/EdgeCloudSim/scripts/sample_app1/output/30-08-2018_15-27 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_app1/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_app1.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