Compare commits
40 Commits
ec66def78b
...
master
Author | SHA1 | Date | |
---|---|---|---|
25eb856650
|
|||
9874879961
|
|||
28a8fd799d
|
|||
ce7984a2d5
|
|||
41d4cbb791
|
|||
92b87a65c8
|
|||
d23036cd86
|
|||
483a60fd2b
|
|||
bd19d337f9
|
|||
8617a41946
|
|||
f709ec244b
|
|||
26a94587c5
|
|||
57cfb25f68
|
|||
bb3984d3a9
|
|||
6a83068056
|
|||
a81d31a120
|
|||
6d7b1c6913
|
|||
50528eac99
|
|||
443ba51b1d
|
|||
a7d6e7c311
|
|||
390300bea9
|
|||
724d708aad
|
|||
f717c19106
|
|||
9c5a6c46fc
|
|||
9f23d3523b
|
|||
90b3fe4be4
|
|||
ceeb660609
|
|||
0430f94b0c
|
|||
e9320c1918
|
|||
7120c8b73e
|
|||
e067e9cb6d
|
|||
0d64f333b4
|
|||
023dc4c714
|
|||
6884ae6c0a
|
|||
c07f6ff96a
|
|||
bf96ff1904
|
|||
d79fa072bb
|
|||
484c4bc827
|
|||
d3f4bd86fa
|
|||
0a615049aa
|
@ -1,18 +1,48 @@
|
||||
<?xml version="1.0"?>
|
||||
<applications>
|
||||
<application name="BIRBNETES">
|
||||
<usage_percentage>100</usage_percentage>
|
||||
<usage_percentage>40</usage_percentage>
|
||||
<prob_cloud_selection>0</prob_cloud_selection>
|
||||
<poisson_interarrival>2</poisson_interarrival>
|
||||
<delay_sensitivity>0</delay_sensitivity>
|
||||
<active_period>1</active_period>
|
||||
<idle_period>20</idle_period>
|
||||
<data_upload>8</data_upload>
|
||||
<data_upload>10</data_upload>
|
||||
<data_download>5</data_download>
|
||||
<task_length>1</task_length>
|
||||
<task_length>20</task_length>
|
||||
<required_core>1</required_core>
|
||||
<vm_utilization_on_edge>3</vm_utilization_on_edge>
|
||||
<vm_utilization_on_cloud>20</vm_utilization_on_cloud>
|
||||
<vm_utilization_on_mobile>5</vm_utilization_on_mobile>
|
||||
</application>
|
||||
<application name="VIDEOCHAT">
|
||||
<usage_percentage>20</usage_percentage>
|
||||
<prob_cloud_selection>0</prob_cloud_selection>
|
||||
<poisson_interarrival>2</poisson_interarrival>
|
||||
<delay_sensitivity>0</delay_sensitivity>
|
||||
<active_period>3</active_period>
|
||||
<idle_period>4</idle_period>
|
||||
<data_upload>500</data_upload>
|
||||
<data_download>500</data_download>
|
||||
<task_length>40</task_length>
|
||||
<required_core>1</required_core>
|
||||
<vm_utilization_on_edge>15</vm_utilization_on_edge>
|
||||
<vm_utilization_on_cloud>30</vm_utilization_on_cloud>
|
||||
<vm_utilization_on_mobile>15</vm_utilization_on_mobile>
|
||||
</application>
|
||||
<application name="INTERNET">
|
||||
<usage_percentage>40</usage_percentage>
|
||||
<prob_cloud_selection>0</prob_cloud_selection>
|
||||
<poisson_interarrival>2</poisson_interarrival>
|
||||
<delay_sensitivity>0</delay_sensitivity>
|
||||
<active_period>1</active_period>
|
||||
<idle_period>20</idle_period>
|
||||
<data_upload>1</data_upload>
|
||||
<data_download>30</data_download>
|
||||
<task_length>2</task_length>
|
||||
<required_core>1</required_core>
|
||||
<vm_utilization_on_edge>1</vm_utilization_on_edge>
|
||||
<vm_utilization_on_cloud>2</vm_utilization_on_cloud>
|
||||
<vm_utilization_on_mobile>10</vm_utilization_on_mobile>
|
||||
</application>
|
||||
</applications>
|
@ -10,22 +10,22 @@ min_number_of_mobile_devices=100
|
||||
max_number_of_mobile_devices=1000
|
||||
mobile_device_counter_size=100
|
||||
|
||||
wan_propagation_delay=0.1
|
||||
lan_internal_delay=0.005
|
||||
wan_propagation_delay=1
|
||||
lan_internal_delay=0.1
|
||||
wlan_bandwidth=200
|
||||
wan_bandwidth=15
|
||||
wan_bandwidth=200
|
||||
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
|
||||
number_of_host_on_cloud_datacenter=2
|
||||
number_of_vm_on_cloud_host=8
|
||||
core_for_cloud_vm=16
|
||||
mips_for_cloud_vm=10000
|
||||
ram_for_cloud_vm=32000
|
||||
ram_for_cloud_vm=64000
|
||||
storage_for_cloud_vm=1000000
|
||||
|
||||
#mobile devices has no processing unit in this scenario
|
||||
core_for_mobile_vm=4
|
||||
core_for_mobile_vm=1
|
||||
mips_for_mobile_vm=1000
|
||||
ram_for_mobile_vm=4000
|
||||
storage_for_mobile_vm=16000
|
||||
|
@ -15,13 +15,13 @@
|
||||
<host>
|
||||
<core>2</core>
|
||||
<mips>1000</mips>
|
||||
<ram>2000</ram>
|
||||
<ram>2048</ram>
|
||||
<storage>50000</storage>
|
||||
<VMs>
|
||||
<VM vmm="Xen">
|
||||
<core>2</core>
|
||||
<mips>1000</mips>
|
||||
<ram>2000</ram>
|
||||
<ram>2048</ram>
|
||||
<storage>50000</storage>
|
||||
</VM>
|
||||
</VMs>
|
||||
@ -43,13 +43,13 @@
|
||||
<host>
|
||||
<core>2</core>
|
||||
<mips>1000</mips>
|
||||
<ram>2000</ram>
|
||||
<ram>2048</ram>
|
||||
<storage>50000</storage>
|
||||
<VMs>
|
||||
<VM vmm="Xen">
|
||||
<core>2</core>
|
||||
<mips>1000</mips>
|
||||
<ram>2000</ram>
|
||||
<ram>2048</ram>
|
||||
<storage>50000</storage>
|
||||
</VM>
|
||||
</VMs>
|
||||
|
@ -16,9 +16,9 @@ function [ret_val] = getConfiguration(argType)
|
||||
elseif(argType == 6)
|
||||
ret_val = 1; %xTickLabelCoefficient
|
||||
elseif(argType == 7)
|
||||
ret_val = {'SINGLE_TIER','TWO_TIER','TWO_TIER_WITH_EO'};
|
||||
ret_val = {'SINGLE_TIER','TWO_TIER'};
|
||||
elseif(argType == 8)
|
||||
ret_val = {'1-tier','2-tier','2-tier with EO'};
|
||||
ret_val = {'First Iteration','Second Iteration'};
|
||||
elseif(argType == 9)
|
||||
ret_val=[10 3 12 12]; %position of figure
|
||||
elseif(argType == 10)
|
||||
|
@ -1,27 +1,15 @@
|
||||
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', 'percentage_for_failed');
|
||||
plotGenericResult(1, 10, {'Failed Task due to VM Capacity';'for Health App (%)'}, 'HEALTH_APP', 'percentage_for_failed');
|
||||
plotGenericResult(1, 10, {'Failed Task due to VM Capacity';'for Infotainment App (%)'}, 'INFOTAINMENT_APP', 'percentage_for_failed');
|
||||
plotGenericResult(1, 10, {'Failed Task due to VM Capacity';'for Heavy Computation App (%)'}, 'HEAVY_COMP_APP', 'percentage_for_failed');
|
||||
plotGenericResult(1, 10, {'Failed Task due to VM Capacity';'for Birbnetes App (%)'}, 'BIRBNETES', 'percentage_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', 'percentage_for_failed');
|
||||
plotGenericResult(1, 11, {'Failed Task due to Mobility';'for Health App (%)'}, 'HEALTH_APP', 'percentage_for_failed');
|
||||
plotGenericResult(1, 11, {'Failed Task due to Mobility';'for Infotainment App (%)'}, 'INFOTAINMENT_APP', 'percentage_for_failed');
|
||||
plotGenericResult(1, 11, {'Failed Task due to Mobility';'for Heavy Computation App (%)'}, 'HEAVY_COMP_APP', 'percentage_for_failed');
|
||||
plotGenericResult(1, 11, {'Failed Task due to Mobility';'for Birbnetes App (%)'}, 'BIRBNETES', 'percentage_for_failed');
|
||||
|
||||
plotGenericResult(5, 5, 'Failed Tasks due to WLAN failure (%)', 'ALL_APPS', 'percentage_for_failed');
|
||||
plotGenericResult(5, 5, {'Failed Tasks due to WLAN failure';'for Augmented Reality App (%)'}, 'AUGMENTED_REALITY', 'percentage_for_failed');
|
||||
plotGenericResult(5, 5, {'Failed Tasks due to WLAN failure';'for Health App (%)'}, 'HEALTH_APP', 'percentage_for_failed');
|
||||
plotGenericResult(5, 5, {'Failed Tasks due to WLAN failure';'for Infotainment App (%)'}, 'INFOTAINMENT_APP', 'percentage_for_failed');
|
||||
plotGenericResult(5, 5, {'Failed Tasks due to WLAN failure';'for Heavy Comp. App (%)'}, 'HEAVY_COMP_APP', 'percentage_for_failed');
|
||||
plotGenericResult(5, 5, {'Failed Tasks due to WLAN failure';'for Birbnetes App (%)'}, 'BIRBNETES', 'percentage_for_failed');
|
||||
|
||||
plotGenericResult(5, 7, 'Failed Tasks due to WAN failure (%)', 'ALL_APPS', 'percentage_for_failed');
|
||||
plotGenericResult(5, 7, {'Failed Tasks due to WAN failure';'for Augmented Reality App (%)'}, 'AUGMENTED_REALITY', 'percentage_for_failed');
|
||||
plotGenericResult(5, 7, {'Failed Tasks due to WAN failure';'for Health App (%)'}, 'HEALTH_APP', 'percentage_for_failed');
|
||||
plotGenericResult(5, 7, {'Failed Tasks due to WAN failure';'for Infotainment App (%)'}, 'INFOTAINMENT_APP', 'percentage_for_failed');
|
||||
plotGenericResult(5, 7, {'Failed Tasks due to WAN failure';'for Heavy Comp. App (%)'}, 'HEAVY_COMP_APP', 'percentage_for_failed');
|
||||
plotGenericResult(5, 7, {'Failed Tasks due to WAN failure';'for Birbnetes App (%)'}, 'BIRBNETES', 'percentage_for_failed');
|
||||
|
||||
end
|
Reference in New Issue
Block a user