birbnetes basics added
This commit is contained in:
18
scripts/birbnetes/config/applications.xml
Normal file
18
scripts/birbnetes/config/applications.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<applications>
|
||||
<application name="BIRBNETES">
|
||||
<usage_percentage>100</usage_percentage>
|
||||
<prob_cloud_selection>1</prob_cloud_selection>
|
||||
<poisson_interarrival>7</poisson_interarrival>
|
||||
<delay_sensitivity>0</delay_sensitivity>
|
||||
<active_period>2</active_period>
|
||||
<idle_period>20</idle_period>
|
||||
<data_upload>88</data_upload>
|
||||
<data_download>2</data_download>
|
||||
<task_length>750</task_length>
|
||||
<required_core>1</required_core>
|
||||
<vm_utilization_on_edge>4</vm_utilization_on_edge>
|
||||
<vm_utilization_on_cloud>20</vm_utilization_on_cloud>
|
||||
<vm_utilization_on_mobile>5</vm_utilization_on_mobile>
|
||||
</application>
|
||||
</applications>
|
42
scripts/birbnetes/config/default_config.properties
Normal file
42
scripts/birbnetes/config/default_config.properties
Normal file
@ -0,0 +1,42 @@
|
||||
#default config file
|
||||
simulation_time=30
|
||||
warm_up_period=3
|
||||
vm_load_check_interval=0.1
|
||||
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_propagation_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
|
||||
|
||||
#mobile devices has no processing unit in this scenario
|
||||
core_for_mobile_vm=4
|
||||
mips_for_mobile_vm=1000
|
||||
ram_for_mobile_vm=4000
|
||||
storage_for_mobile_vm=16000
|
||||
|
||||
#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
|
71
scripts/birbnetes/config/edge_devices.xml
Normal file
71
scripts/birbnetes/config/edge_devices.xml
Normal file
@ -0,0 +1,71 @@
|
||||
<?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>
|
||||
</edge_devices>
|
Reference in New Issue
Block a user