cagataysonmez / edgecloudsim Goto Github PK
View Code? Open in Web Editor NEWEdgeCloudSim: An Environment for Performance Evaluation of Edge Computing Systems
License: GNU General Public License v3.0
EdgeCloudSim: An Environment for Performance Evaluation of Edge Computing Systems
License: GNU General Public License v3.0
Hi, I ran simulations directly on Eclipse, the resluts are saved in EdgeCloudSim-master/sim_results/ite1. But I failed to run the matlab files to drew those results, could you please tell me in detail which parameters should be modified in the matlab file, thanks a lot!
I am working in a project and it requires kind of processing in mobile devices.
Would you please clarify which parameters should I modify to update mobile devices because I tried to modify and add some values in the following part in default_config.properties
core_for_mobile_vm=0 mips_for_mobile_vm=0 ram_for_mobile_vm=0 storage_for_mobile_vm=0
but it was not reflected in my sim results.
The available MM1Queue network model cannot handle more than one host in an edge datacenter.
This is because the getDownloadDelay method is using a host id to index edge datacenters which works only when there's one host per edge datacenter.
Using more than one host in an edge datacenter (in edge_devices.xml) always results in IndexOutOfBoundsException for apps (eg. sample_app1) that use MM1Queue network model.
What are the units of the WAN bandwidth and WLAN bandwidths in the config.properties files (KBPS or MBPS)?
Also in the applications configuration file, what are the units for the delay_sensitivity (i.e., is it supposed to range from 0 to 1 or 0 to 100 %), what are the units for the upload data and download and task length (KB, or MB)?
Anyone knows?
I have two questions:
Hello,
Based on the article "ContainerCloudSim: An environment for modeling and simulation of containers in cloud data centers", they use container in CloudSim.
Considering the need for more container usage in edge, would you explain how can I use the container in EdgeCloudSim?
In applications.xml, active_period and idle_period have to be set. But I am confused on their detailed meanings. I would appreciate any guidance.
Hi,
I am working on a distributed task offloading approach in edgecloudsim. Can you suggest to me how can I add MEC Server and Cloud in Edgecloudsim and how tasks can be distributed within these two servers? I want to do it using Q-Learning so suggest me in which file I have to change to achieve this.
Thanks
Dear EdgeCloudSim group,
I noted that you calculate "weightedTaskPerSecond" through the parameter "delay_sensitivity" in applications.xml.
I would like to figure out the relationship between "delay_sensitivity" and poisson model.
Your guidance would be grateful.
Thanks.
@CagataySonmez
couldn't generate {vehicle}_learnerOutputFile.csv
after running
run_scenarios.sh x y
We succesfully generated output folder and made changes in config.json.. But data_converter.py file requires the above mentioned csv file to run and generate training dataset in the subsequent command
generate_training_data.sh
Hi,
In the network module, there are WLAN, WAN. Is it possible to use 5g/4g in the network module?
Hi,
is it possible to specify the location of the mobile devices and the cover range of edge nodes? I am trying to do some edge server placement experiment on EdgeCloudSim.
I hope someone can answer my question. Thank you!
I know that the delay is calculated in the Function calculateMM1 in MM1Queue.java, but I have no idea how to do calculation. Could you please give me some tips about the formula used in calculating the delay? For example, if you give me the formula reference (Book, journal or anything else), I will very appreciate!
There are three files named 'applications.xml', 'edge_devices.xml','default_config.properties'.
I have difficulties in understanding the meanings of the parameters in them.
Could anyone give me guidance? I would appreciate it!
Iteration number has to be set to start simulation process. Could anyone explain the detailed meaning of the iteration number and how it would affect the results? I would appreciate it.
Hi, has anyone encountered this problem?
java.lang.NullPointerException
at org.cloudbus.cloudsim.Datacenter.processCloudletSubmit(Datacenter.java:747)
at org.cloudbus.cloudsim.Datacenter.processEvent(Datacenter.java:156)
at org.cloudbus.cloudsim.core.SimEntity.run(SimEntity.java:426)
at org.cloudbus.cloudsim.core.CloudSim.runClockTick(CloudSim.java:523)
at org.cloudbus.cloudsim.core.CloudSim.run(CloudSim.java:887)
at org.cloudbus.cloudsim.core.CloudSim.startSimulation(CloudSim.java:188)
at edu.boun.edgecloudsim.core.SimManager.startSimulation(SimManager.java:128)
at edu.boun.edgecloudsim.applications.sample_app.MainApp.main(MainApp.java:109)
Hi, I need to model an environment (e.g., a floor) in which there are some micro-environments (e.g., some rooms) with related attractiveness levels. The point is: I would like to have only one EdgeServer located at the middle of the floor. However, from the configuration file, it seems that each zone is defined by 1 AP and 1 EdgeServer. So, how to create N APs linked to 1 EdgeServer? Is it possible?
Thanks for helping
hello,
The URL link about the detail of using run_scenarios.sh script can not be found, when I click the link.
hello,
I wanna build an energy consumption model for devices and edge server in EdgeCloudSim to optimize some offloading decisions. But i cant figure out how to set up an energy model in the simulator. Should i extend specific java class or modify some code ?
the output shows that if percentage of failed tasks and average server utilization decrease or keep in a predefined balance, the number of device will increase according to config file. What's the predefined balance? Does the network in your simulations have learning capacity? (Because the output that network really did better and better when the number of device didn't change) And in the article "EdgeCloudSim: An Environment for Performance Evaluation of Edge Computing Systems",you said EdgeCloudSim is very realistic ,but is this way (increase the number of device step by step) really realistic? Or you just designed this mechanism that the severs can choose to increases the number of device allowed to ask for VM service?
Thanks,waiting for your responses!
In the selectVmOnHost (Task task) method of BasicEdgeOrchestrator.java,
When the policy is "RANDOM_FIT", if there is no loop, a random targetVmCapacity may be less than requiredCapacity, which will result in the selectedVM is null, do not need a loop here?
Dear EdgeCloudSim group,
In the VehicularNetworkModel.java of sample_app5, what is the function of updateMM1Values()?
I was confused about the reason why PoissonMean need to be update.
Your guidance would be grateful.
Thanks.
What does 'HEAVY_COMP_APP' mean in applications.xml? Does it have a reference? I can't find it in your paper.
Dear Cagatay @CagataySonmez : Is there a way to get the source files for the 4 libraries? In particular the cloudsim-4.0.jar. Thanks!
In the default_config.properties of sample_app5, some parameters are set as:
#mean waiting time in seconds
attractiveness_L1_mean_waiting_time=480
attractiveness_L2_mean_waiting_time=240
attractiveness_L3_mean_waiting_time=120.
I was confused about their function in simulation.
Could anyone offer guidelines?
Your help will be grateful.
Hi guys
I want to design my own scenario to measure the mobility effect of fog devices and how it would affect the performance.
Please advise me how to do it.
I was curious if there would be interest in implementing windows scripts for the sample apps, there doesn't seem to be anything inherently platform specific in this project, so I believe having windows options would make things more user-friendly. I would be willing to contribute this.
I run the samples, and used the sample's Matlab code to plot the figures. I can get figures, but all points on the figures are zero, and the curves in those plots are straight lines. Any idea about this issue?
Hi,
the location of an EdgeServer is expressed through x and y within the location tag....e.g., <x_pos>1000</x_pos>...but 1000 refers to meters or whatelse?
Thanks
I am trying to figure out how to change the nomadic code (and the data structures in it) such that it would accept x,y predetermined by me (I will load them from a CSV file for example).
I see there is a TreeMap structure but it is not clear to me how (what parameter) identifies a specific device.
For example, I want to update device to N+5 units in x_position on a next iteration and I am trying to figure out how exactly the mapping between the specific devices and their locations work.
I would appreciate any assistance; thank you.
Hi,
Whey the average service time decreased when the number of mobile devices increases (and the number of tasks increases??
I try with all sample Apps and get the same situation regardless of sim scenario or policy.
HI
Could you plz add a tutorial of the complete installation.
Hello, ask you a question.For example, I wrote an algorithm in python, want to simulate the edge computing environment, observe the communication delay of the algorithm, can the software be implemented?
Can you please explain me line 201~208, and I hope to know how the MAN delay works. Are you defining the throughput based on no. of client when defining the experimental delays?? I hope to get your feedback. Thank you.
Can genetic algorithm be added to the program to achieve task scheduling?
HI can I know if EdgeCloudSim has a vm migration of some sort ?
Thanks
Is it possibile, with this simulator, to develop a scenario: from edge node to cloud ?
hi, please tell me how can i use a Partial Offloading task model in EdgeCloudSim?For example, use a directed acyclic graph to describe a application that consists of several tasks.
Hello
As I am trying to assign a BW for each VM I noticed that when creating the VM, the BW is calculated as follows in the DefaultEdgeServerManager
long bandwidth = SimSettings.getInstance().getWlanBandwidth() / (hostNodeList.getLength()+vmNodeList.getLength());
However, I believe something must be wrong in that, as the VMs are getting their BW from the BW assigned to the hosts. The equation suggests that the wlanBW is assigned to the VM and hosts independently as if the VMs are outside of the hosts.
Could you please clarify why the equation is written like this. As my understanding might e wrong
Thanks
In sample_app5, VehicularMobileServerManager.java is responsible for creating mobile datacenters, hosts and VMs. I noted the annotation "we use single datacenter for all mobile devices". I would like to figure out whether it means that the mobile datacenter is simulated as ONE local datacenter, and each VM is simulated for each mobile vehicle. Thanks.
can you show exactly how to get graphs using matlab. I am novice
Thanks for your out-standing contribution to edge computing.
Need your help.
Dear Edgecloudsim team
I would like to thank you for providing such very useful tool
I have question about network delay
in CLI of the simulation results it shows three values: average network delay: (LAN delay, MAN delay, WAN delay) which one is considered the cloud or edge delay
is there any way to calculate the delay for both cloud/edge together??
Regards
Hi. How I use a visual tool for displaying the network topology that is mentioned in README.md?
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.