matlab change
This commit is contained in:
parent
0f0b0e59e1
commit
091a8bf3d8
@ -2,16 +2,16 @@
|
||||
<applications>
|
||||
<application name="BIRBNETES">
|
||||
<usage_percentage>100</usage_percentage>
|
||||
<prob_cloud_selection>1</prob_cloud_selection>
|
||||
<prob_cloud_selection>0</prob_cloud_selection>
|
||||
<poisson_interarrival>7</poisson_interarrival>
|
||||
<delay_sensitivity>0</delay_sensitivity>
|
||||
<active_period>2</active_period>
|
||||
<active_period>1</active_period>
|
||||
<idle_period>20</idle_period>
|
||||
<data_upload>88</data_upload>
|
||||
<data_download>2</data_download>
|
||||
<data_download>5</data_download>
|
||||
<task_length>750</task_length>
|
||||
<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_mobile>5</vm_utilization_on_mobile>
|
||||
</application>
|
||||
|
@ -31,10 +31,10 @@ ram_for_mobile_vm=4000
|
||||
storage_for_mobile_vm=16000
|
||||
|
||||
#use ',' for multiple values
|
||||
orchestrator_policies=NEXT_FIT
|
||||
orchestrator_policies=BEST_FIT
|
||||
|
||||
#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
|
||||
attractiveness_L1_mean_waiting_time=500
|
||||
|
@ -4,7 +4,7 @@
|
||||
%--------------------------------------------------------------
|
||||
function [ret_val] = getConfiguration(argType)
|
||||
if(argType == 1)
|
||||
ret_val = 'D:\sim_results';
|
||||
ret_val = 'C:\Users\tormakris\Documents\bme\edgesimresults';
|
||||
elseif(argType == 2)
|
||||
ret_val = 1; %Number of iterations
|
||||
elseif(argType == 3)
|
||||
|
@ -47,7 +47,7 @@ public class MainApp {
|
||||
|
||||
//load settings from configuration file
|
||||
SimSettings SS = SimSettings.getInstance();
|
||||
if(SS.initialize(configFile, edgeDevicesFile, applicationsFile) == false){
|
||||
if(!SS.initialize(configFile, edgeDevicesFile, applicationsFile)){
|
||||
SimLogger.printLine("cannot initialize simulation settings!");
|
||||
System.exit(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user