From 6e37b14ba7824be9a90e41b2284041efbd9d15b6 Mon Sep 17 00:00:00 2001 From: Cagatay Sonmez Date: Thu, 13 Dec 2018 15:04:37 +0300 Subject: [PATCH] bugfix/compability issue of config files is fixed config files of sample app1 and 2 are modified in a way to consider mobile processing unit (even their scenarios do not have task execution on the mobile devices) This issue is reported on EdgeCloudSim group: https://groups.google.com/d/msg/edgecloudsim/7dfvcUdPIak/jEQg2OK-AwAJ --- scripts/sample_app1/config/applications.xml | 4 ++++ scripts/sample_app1/config/default_config.properties | 6 ++++++ scripts/sample_app2/config/default_config.properties | 6 ++++++ 3 files changed, 16 insertions(+) diff --git a/scripts/sample_app1/config/applications.xml b/scripts/sample_app1/config/applications.xml index d3f36a4..90d515b 100644 --- a/scripts/sample_app1/config/applications.xml +++ b/scripts/sample_app1/config/applications.xml @@ -12,6 +12,7 @@ 1 20 2 + 0 20 @@ -25,6 +26,7 @@ 1 5 0.5 + 0 20 @@ -38,6 +40,7 @@ 1 30 3 + 0 30 @@ -51,5 +54,6 @@ 1 10 1 + 0 \ No newline at end of file diff --git a/scripts/sample_app1/config/default_config.properties b/scripts/sample_app1/config/default_config.properties index a388b90..a8462a0 100644 --- a/scripts/sample_app1/config/default_config.properties +++ b/scripts/sample_app1/config/default_config.properties @@ -24,6 +24,12 @@ 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=0 +mips_for_mobile_vm=0 +ram_for_mobile_vm=0 +storage_for_mobile_vm=0 + #use ',' for multiple values orchestrator_policies=NEXT_FIT diff --git a/scripts/sample_app2/config/default_config.properties b/scripts/sample_app2/config/default_config.properties index d3112e5..3f37780 100644 --- a/scripts/sample_app2/config/default_config.properties +++ b/scripts/sample_app2/config/default_config.properties @@ -24,6 +24,12 @@ mips_for_cloud_vm=100000 ram_for_cloud_vm=32000 storage_for_cloud_vm=1000000 +#mobile devices has no processing unit in this scenario +core_for_mobile_vm=0 +mips_for_mobile_vm=0 +ram_for_mobile_vm=0 +storage_for_mobile_vm=0 + #use ',' for multiple values orchestrator_policies=NETWORK_BASED,UTILIZATION_BASED,HYBRID