Giter Site home page Giter Site logo

cagataysonmez / edgecloudsim Goto Github PK

View Code? Open in Web Editor NEW
413.0 413.0 228.0 23.39 MB

EdgeCloudSim: An Environment for Performance Evaluation of Edge Computing Systems

License: GNU General Public License v3.0

Shell 2.73% Java 79.35% MATLAB 16.55% Limbo 0.55% Python 0.82%

edgecloudsim's People

Contributors

derfei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

edgecloudsim's Issues

how can i use the matlab file to plot graphics?

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!

How you are calculating cost as its always zero.

The cost for the computation is always zero. I tried will different parameters but still getting 0 as a cost result. In your published paper nothing is mentioned about cost and how you are calculating.
If possible can you please give some details about it.

screenshot from 2018-03-21 11-51-29

Processing in Mobile devices

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.

Cannot use more than one host in edge datacenter for MM1Queue network

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.

config.properties

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?

No output/date/ite_n.tgz files

I have two questions:

  1. At the end of the iteration, I did not see any output/date/ite_n.tgz files, but there are many log files in sim_results/iter1...
  2. how could I use scripts under scripts/sample_application/matlab folder to plot graphics.

Container

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?

Distributed task offloading approach

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

The meaning of delay_sensitivity

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.

couldn't generate {vehicle}_learnerOutputFile.csv in sample_app5

@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

Specify the location of mobile devices

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 misunderstand MM1Queue.java?

I hava two questions

  • The value is calculated by weight(weight is probalility,right?),Why divide the value by the numOfTaskType
  • What is the relationship between WanPoissonMean and WlanPoissonMean?

I hope someone can answer my question. Thank you!

The usage of "iteration number"

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.

NullPointerException error

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)

How to run your project ???

Please give a complete command to run your sample project.
I tried running main file in eclipse and got error.
Then i tried running in terminal but still got error. Please write the complete command to run.
screenshot from 2018-03-19 19-57-23
screenshot from 2018-03-19 19-57-05

Multiple APs for just one EdgeServer

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

missing URL links

hello,
The URL link about the detail of using run_scenarios.sh script can not be found, when I click the link.

How can i build an energy model in EdgeCloudSim?

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 ?

Some question about the operating mechanism

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!

a question about selectVmOnHost method in BasicEdgeOrchestrator

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?

The Function of updateMM1Values()

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.

The meaning of "mean waiting time in seconds"

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.

Application parameter values

image

I already tried to find myself and read all of the reference in your paper. But I cant find how your determine the values. Such as infotainment application paper you referred to does not have any of the value. Your explanation will be very helpful. Thank you

how to design my own scenario

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.

Windows Scripts

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.

why all point in plots are zero

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?

X_pos and Y_pos...meter? Km?

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

X, Y positions and their mappings to the devices

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.

service time

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.

task scheduling.

Can genetic algorithm be added to the program to achieve task scheduling?

BW for the vm is unclear

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

About Moblie Sever Manager

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.

help about latency

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.