Commit Graph

12 Commits

Author SHA1 Message Date
Cagatay Sonmez
0526ea63e2
Image sizes changed for better visualization 2020-10-30 13:01:36 +03:00
Cagatay Sonmez
6660de75b2 Sample application 5 used in IEEE Transactions on Intelligent Transportation Systems is added. 2020-10-30 12:57:07 +03:00
Cagatay Sonmez
08341c3681 some minor backward compatible, major backward incompatible changes and code formatting (beautification)
Minor Modifications:

* Indentation issues are fixed
* Typo errors in source code and comments are fixed
* Misspelled parameters in plotTaskFailureReason.m are corrected
* sim_results folder is added to .gitignore file

Backward compatible changes

* The exit code of the application when there is an error is changed from 0 to 1
* Default constructors are added for Location.java, LoadGeneratorModel.java, MobilityModel.java, EdgeOrchestrator.java (this change request coming from a developer)
* public TaskProperty(int mobileDeviceId, double startTime, ExponentialDistribution[] expRngList) is added to TaskProperty.java  (this change request coming from a developer to create a task without task type)
* double getCreationTime() function is added to Task.java
* void reconfigureMips(double mips) function is added to EdgeVM (for future usage)
* gsm_propagation_delay variable is added to config file. SimSettings class is also modified accordingly. You can use it if you have cellular network access in your scenario.
* wlan_range, northern_bound, southern_bound, eastern_bound, western_bound variables are added to config file; and relevant functions are added to SimSettings class. (this change request coming from a developer)

Backward incompatible changes!

 * location_check_interval variable name is changed to location_check_interval in config.properties file. Please update your config files accordingly (remove 'vm_' part)

 * Major modifications are applied in SimLogger class to decrease time complexity. Now the basic results are kept in the memory and saved to the files at the end of the simulation. As a result of this change, the signature of the SimLogger.addLog () function had to be changed. You must add the mobile device id as the first argument. Please update your MobileDeviceManager class accordingly (add task.getCloudletId () as the first argument).
2020-10-30 11:06:09 +03:00
Hc Wang
dc27788628 Fixed most of the currently discovered typos. 2019-03-19 09:02:08 +08:00
Cagatay Sonmez
1e91364305 bugfix/delay sensitivity value of the applications is added to SimSettings class
delay sensitivity value was started to be used in the sample_app4. However this value is forgotten to read from the application configuration file. SimSettings class is now updated in a way to consider the delay sensitivity value of the applications.
2019-02-08 18:01:34 +03:00
cagatay
9412796b22 Sample application 4 which is used in IEEE TNSM journal paper is published.
Important Notes:
* EdgeTask class name is updated as TaskProperty. You may need to modify your existing application's source code if you use EdgeTask class in your application.
2019-01-21 08:32:16 -07:00
Cagatay Sonmez
95edf172fe The mobile processing unit support as well as a sample application are added.
The mobile processing units are simulated via CloudSim.
It is assumed that the mobile devices operate Hosts and VMs like a server.
Therefore, the classes located in the mobile_processing_unit package have a similar naming convention to the other Cloud and Edge components.
2018-11-25 23:26:41 +03:00
Cagatay Sonmez
d4545f009f major modifications for v2.0 release
Release notes

1- Cloud server processing was simplified in the initial version, it is handled via cloudsim components now.

2- Cloud server manager, edge server manager, mobile device manager and vm allocation policy are used as abstract class in factory pattern to allow developers to use different business logic without modifying EdgeCloudSim source code.

3- The task and place types are no longer defined as enumeration. They are used as integer value in order to manipulate more place type without modifying enum variable.

4- Two sample applications (one of them is simple and the other one extended application) are added along with the corresponding matlab files to plot statistics.

5- Cloud server properties are added to the simulation settings file

6- New log items are added to simulation result files

7- Code refactoring is applied including the modification of comments
2018-09-10 14:22:27 +03:00
Cagatay Sonmez
138adb8f32 code refactoring and improvements
* saving log for each app type support
* colt library is used for poisson distribution
* Setting file structure is updated
* some bug fixes are applied
* new abstract functions are added to network manager for another
experimental study
2017-06-19 22:40:15 +03:00
Cagatay Sonmez
22b654d719 task flow and network from mobile device to edge orchestrator is modified
1- finding which device to offlod is decided in edge orchestrator
(EdgeOrchestrator), instead of deciding while generating task
(LoadGeneratorModel)
2- file logging option is now read from config file
3- minor modification on the network delay calculation
2017-02-26 14:07:47 +03:00
Cagatay Sonmez
81fed10dd0 modification on reading settings from config file
1- simulation scenarios are defined in config file instead of static
enumarations
2- defining multiple edge orchestrator policy in config file support is
added
2017-02-25 15:10:13 +03:00
Cagatay Sonmez
19c4b9de40 initial commit of EdgeCloudSim
EdgeCloudSim with default network model, mobility model,  load generator
model, edge orchestrator, and VM CPU utilization model
2017-02-18 13:22:32 +03:00