matlab change

This commit is contained in:
Torma Kristóf 2021-04-14 15:50:57 +02:00
parent 0f0b0e59e1
commit 091a8bf3d8
4 changed files with 9 additions and 9 deletions

View File

@ -2,16 +2,16 @@
<applications> <applications>
<application name="BIRBNETES"> <application name="BIRBNETES">
<usage_percentage>100</usage_percentage> <usage_percentage>100</usage_percentage>
<prob_cloud_selection>1</prob_cloud_selection> <prob_cloud_selection>0</prob_cloud_selection>
<poisson_interarrival>7</poisson_interarrival> <poisson_interarrival>7</poisson_interarrival>
<delay_sensitivity>0</delay_sensitivity> <delay_sensitivity>0</delay_sensitivity>
<active_period>2</active_period> <active_period>1</active_period>
<idle_period>20</idle_period> <idle_period>20</idle_period>
<data_upload>88</data_upload> <data_upload>88</data_upload>
<data_download>2</data_download> <data_download>5</data_download>
<task_length>750</task_length> <task_length>750</task_length>
<required_core>1</required_core> <required_core>1</required_core>
<vm_utilization_on_edge>4</vm_utilization_on_edge> <vm_utilization_on_edge>2</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>

View File

@ -31,10 +31,10 @@ ram_for_mobile_vm=4000
storage_for_mobile_vm=16000 storage_for_mobile_vm=16000
#use ',' for multiple values #use ',' for multiple values
orchestrator_policies=NEXT_FIT orchestrator_policies=BEST_FIT
#use ',' for multiple values #use ',' for multiple values
simulation_scenarios=SINGLE_TIER,TWO_TIER,TWO_TIER_WITH_EO simulation_scenarios=TWO_TIER,TWO_TIER_WITH_EO
#mean waiting time in seconds #mean waiting time in seconds
attractiveness_L1_mean_waiting_time=500 attractiveness_L1_mean_waiting_time=500

View File

@ -4,7 +4,7 @@
%-------------------------------------------------------------- %--------------------------------------------------------------
function [ret_val] = getConfiguration(argType) function [ret_val] = getConfiguration(argType)
if(argType == 1) if(argType == 1)
ret_val = 'D:\sim_results'; ret_val = 'C:\Users\tormakris\Documents\bme\edgesimresults';
elseif(argType == 2) elseif(argType == 2)
ret_val = 1; %Number of iterations ret_val = 1; %Number of iterations
elseif(argType == 3) elseif(argType == 3)

View File

@ -47,7 +47,7 @@ public class MainApp {
//load settings from configuration file //load settings from configuration file
SimSettings SS = SimSettings.getInstance(); SimSettings SS = SimSettings.getInstance();
if(SS.initialize(configFile, edgeDevicesFile, applicationsFile) == false){ if(!SS.initialize(configFile, edgeDevicesFile, applicationsFile)){
SimLogger.printLine("cannot initialize simulation settings!"); SimLogger.printLine("cannot initialize simulation settings!");
System.exit(0); System.exit(0);
} }