Compare commits

...

42 Commits

Author SHA1 Message Date
25eb856650 reduce network 2021-11-23 04:20:08 +01:00
9874879961 reduce network 2021-11-23 04:08:23 +01:00
28a8fd799d add more 2021-11-23 03:50:09 +01:00
ce7984a2d5 let's see a result with low network 2021-11-23 03:10:05 +01:00
41d4cbb791 try with sane numbers 2021-11-23 03:04:14 +01:00
92b87a65c8 move up more+ 2021-11-23 03:01:26 +01:00
d23036cd86 move up 2021-11-23 03:00:22 +01:00
483a60fd2b how can i limit network 2021-11-23 02:59:31 +01:00
bd19d337f9 limit network even more 2021-11-23 02:58:13 +01:00
8617a41946 limit network more 2021-11-23 02:57:21 +01:00
f709ec244b see what happens 2021-11-23 02:54:22 +01:00
26a94587c5 sanity check 2021-11-23 02:53:25 +01:00
57cfb25f68 fuck network 2021-11-23 01:45:29 +01:00
bb3984d3a9 push delay sensitivity way down 2021-11-23 01:43:03 +01:00
6a83068056 maybe memes 2021-11-23 01:40:35 +01:00
a81d31a120 wan is bad 2021-11-23 01:38:55 +01:00
6d7b1c6913 shoot wlan in the head 2021-11-23 01:35:53 +01:00
50528eac99 drastically reduce network capacity 2021-11-23 01:33:54 +01:00
443ba51b1d upgrade network requirement 2021-11-23 01:29:51 +01:00
a7d6e7c311 fuck with values mroe 2021-11-23 01:29:25 +01:00
390300bea9 reduce edge site power 2021-11-23 01:21:02 +01:00
724d708aad fuck with edge memes 2021-11-23 01:15:34 +01:00
f717c19106 fuck with mroe values 2021-11-23 01:14:47 +01:00
9c5a6c46fc reduce videochat edge meme 2021-11-23 01:00:31 +01:00
9f23d3523b mess with some values 2021-11-23 00:47:54 +01:00
90b3fe4be4 add other apps 2021-11-22 22:21:42 +01:00
ceeb660609 change network site 2021-11-13 15:27:59 +01:00
0430f94b0c change cores insted of datacenters 2021-11-12 22:18:03 +01:00
e9320c1918 remove datacenter 2021-11-12 22:13:32 +01:00
7120c8b73e second memry 2021-05-13 00:18:26 +02:00
e067e9cb6d first shit 2021-05-12 23:14:06 +02:00
0d64f333b4 get failed task reason 2021-05-12 23:03:44 +02:00
023dc4c714 increase 2021-04-20 01:18:24 +02:00
6884ae6c0a adjust more 2021-04-20 00:55:23 +02:00
c07f6ff96a shorter task length 2021-04-20 00:28:04 +02:00
bf96ff1904 values 2021-04-19 23:19:37 +02:00
d79fa072bb even longer 2021-04-19 23:08:55 +02:00
484c4bc827 increase util 2021-04-19 22:44:25 +02:00
d3f4bd86fa increase utilization 2021-04-19 21:10:52 +02:00
0a615049aa increase bw 2021-04-19 21:03:29 +02:00
ec66def78b Merge branch 'master' of https://git.kmlabz.com/birbnetes/simulator 2021-04-19 20:41:48 +02:00
45691f5612 adjust input parameters 2021-04-19 20:41:16 +02:00
7 changed files with 51 additions and 33 deletions

View File

@ -1,18 +1,48 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<applications> <applications>
<application name="BIRBNETES"> <application name="BIRBNETES">
<usage_percentage>100</usage_percentage> <usage_percentage>40</usage_percentage>
<prob_cloud_selection>0</prob_cloud_selection> <prob_cloud_selection>0</prob_cloud_selection>
<poisson_interarrival>2</poisson_interarrival> <poisson_interarrival>2</poisson_interarrival>
<delay_sensitivity>0</delay_sensitivity> <delay_sensitivity>0</delay_sensitivity>
<active_period>1</active_period> <active_period>1</active_period>
<idle_period>20</idle_period> <idle_period>20</idle_period>
<data_upload>8</data_upload> <data_upload>10</data_upload>
<data_download>5</data_download> <data_download>5</data_download>
<task_length>1</task_length> <task_length>20</task_length>
<required_core>1</required_core> <required_core>1</required_core>
<vm_utilization_on_edge>3</vm_utilization_on_edge> <vm_utilization_on_edge>3</vm_utilization_on_edge>
<vm_utilization_on_cloud>20</vm_utilization_on_cloud> <vm_utilization_on_cloud>20</vm_utilization_on_cloud>
<vm_utilization_on_mobile>5</vm_utilization_on_mobile> <vm_utilization_on_mobile>5</vm_utilization_on_mobile>
</application> </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> </applications>

View File

@ -10,22 +10,22 @@ min_number_of_mobile_devices=100
max_number_of_mobile_devices=1000 max_number_of_mobile_devices=1000
mobile_device_counter_size=100 mobile_device_counter_size=100
wan_propagation_delay=0.1 wan_propagation_delay=1
lan_internal_delay=0.005 lan_internal_delay=0.1
wlan_bandwidth=200 wlan_bandwidth=200
wan_bandwidth=15 wan_bandwidth=200
gsm_bandwidth=0 gsm_bandwidth=0
#all the host on cloud runs on a single datacenter #all the host on cloud runs on a single datacenter
number_of_host_on_cloud_datacenter=1 number_of_host_on_cloud_datacenter=2
number_of_vm_on_cloud_host=4 number_of_vm_on_cloud_host=8
core_for_cloud_vm=4 core_for_cloud_vm=16
mips_for_cloud_vm=10000 mips_for_cloud_vm=10000
ram_for_cloud_vm=32000 ram_for_cloud_vm=64000
storage_for_cloud_vm=1000000 storage_for_cloud_vm=1000000
#mobile devices has no processing unit in this scenario #mobile devices has no processing unit in this scenario
core_for_mobile_vm=4 core_for_mobile_vm=1
mips_for_mobile_vm=1000 mips_for_mobile_vm=1000
ram_for_mobile_vm=4000 ram_for_mobile_vm=4000
storage_for_mobile_vm=16000 storage_for_mobile_vm=16000

View File

@ -15,13 +15,13 @@
<host> <host>
<core>2</core> <core>2</core>
<mips>1000</mips> <mips>1000</mips>
<ram>2000</ram> <ram>2048</ram>
<storage>50000</storage> <storage>50000</storage>
<VMs> <VMs>
<VM vmm="Xen"> <VM vmm="Xen">
<core>2</core> <core>2</core>
<mips>1000</mips> <mips>1000</mips>
<ram>2000</ram> <ram>2048</ram>
<storage>50000</storage> <storage>50000</storage>
</VM> </VM>
</VMs> </VMs>
@ -43,13 +43,13 @@
<host> <host>
<core>2</core> <core>2</core>
<mips>1000</mips> <mips>1000</mips>
<ram>2000</ram> <ram>2048</ram>
<storage>50000</storage> <storage>50000</storage>
<VMs> <VMs>
<VM vmm="Xen"> <VM vmm="Xen">
<core>2</core> <core>2</core>
<mips>1000</mips> <mips>1000</mips>
<ram>2000</ram> <ram>2048</ram>
<storage>50000</storage> <storage>50000</storage>
</VM> </VM>
</VMs> </VMs>

View File

@ -16,9 +16,9 @@ function [ret_val] = getConfiguration(argType)
elseif(argType == 6) elseif(argType == 6)
ret_val = 1; %xTickLabelCoefficient ret_val = 1; %xTickLabelCoefficient
elseif(argType == 7) elseif(argType == 7)
ret_val = {'SINGLE_TIER','TWO_TIER','TWO_TIER_WITH_EO'}; ret_val = {'SINGLE_TIER','TWO_TIER'};
elseif(argType == 8) elseif(argType == 8)
ret_val = {'1-tier','2-tier','2-tier with EO'}; ret_val = {'First Iteration','Second Iteration'};
elseif(argType == 9) elseif(argType == 9)
ret_val=[10 3 12 12]; %position of figure ret_val=[10 3 12 12]; %position of figure
elseif(argType == 10) elseif(argType == 10)

View File

@ -1,27 +1,15 @@
function [] = plotTaskFailureReason() 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 (%)', '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 Birbnetes App (%)'}, 'BIRBNETES', '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, 11, 'Failed Task due to Mobility (%)', 'ALL_APPS', '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 Birbnetes App (%)'}, 'BIRBNETES', '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(5, 5, 'Failed Tasks due to WLAN failure (%)', 'ALL_APPS', '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 Birbnetes App (%)'}, 'BIRBNETES', '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, 7, 'Failed Tasks due to WAN failure (%)', 'ALL_APPS', '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 Birbnetes App (%)'}, 'BIRBNETES', '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');
end end

0
scripts/birbnetes/run_scenarios.sh Normal file → Executable file
View File

0
scripts/birbnetes/runner.sh Normal file → Executable file
View File