harshitgupta1337 / fogsim Goto Github PK
View Code? Open in Web Editor NEWA Toolkit for Modeling and Simulation of Resource Management Techniques in Internet of Things, Edge and Fog Computing Environments
Home Page: http://arxiv.org/abs/1606.02007
A Toolkit for Modeling and Simulation of Resource Management Techniques in Internet of Things, Edge and Fog Computing Environments
Home Page: http://arxiv.org/abs/1606.02007
as i m trying to execute vr_game_topo but is it showing no pop up window and no graph is drawn and no csp file nothing help me
Hi all
does any one knows how to setup a connection between two fog nodes within the same level, So that if a fog node cant handle the module it will send it to the neighbour fog node instead of sending it to the upper-level fog node in ifogsim
thanks in advance
I'm planning to perform a time series analysis using neural networks in iFogSim. But I dont know whether it is possible or not. Can you please tell me how can I perform that?
Hi guys,
I apologize in advance for the question, probably is very silly or maybe not. I try to create my own topologies to make a simulation and see some results but:
How can we pass data in a tuple being sent from one module to another?
Hi dear Harshit Gupta,
I am new to this field, and I want to know how new resource management and scheduling policies can be successfully added using iFogSim.
Many thanks.
Originally posted by @ELSIBRO in #5 (comment)
When running the CleanFromJson example with any topology other than the routerTopology I get a NullPointer exception and I cannot figure out what is going on, since my topology has very similar characteristics to the router one. Such error also occurs if any other topology already included in the iFogSim package is used. Do you have any idea on why such thing could be happening?
Here is the output:
Starting VRGame...
Sensor type : speed
Sensor type : speed
Sensor type : temperature
Sensor type : temperature
0.0 Submitted application dcns_game
java.lang.NullPointerException
at org.fog.entities.Sensor.transmit(Sensor.java:88)
at org.fog.entities.Sensor.processEvent(Sensor.java:136)
at org.cloudbus.cloudsim.core.SimEntity.run(SimEntity.java:406)
at org.cloudbus.cloudsim.core.CloudSim.runClockTick(CloudSim.java:518)
at org.cloudbus.cloudsim.core.CloudSim.run(CloudSim.java:882)
at org.cloudbus.cloudsim.core.CloudSim.startSimulation(CloudSim.java:188)
at org.fog.examples.CleanFromJson.main(CleanFromJson.java:60)
The topology is as follows:
{
"nodes": [{
"level": 0,
"upBw": 1024,
"ratePerMips": 67.0,
"name": "cloud",
"type": "FOG_DEVICE",
"mips": 1000,
"ram": 4096,
"downBw": 2048
}, {
"level": 1,
"upBw": 1024,
"ratePerMips": 55.0,
"name": "gateway1",
"type": "FOG_DEVICE",
"mips": 1000,
"ram": 1024,
"downBw": 1024
}, {
"mean": 50.0,
"sensorType": "speed",
"name": "sensor3",
"type": "SENSOR",
"distribution": 1,
"stdDev": 2.0
}, {
"level": 1,
"upBw": 1024,
"ratePerMips": 55.0,
"name": "gateway2",
"type": "FOG_DEVICE",
"mips": 1000,
"ram": 1024,
"downBw": 1024
}, {
"mean": 60.0,
"sensorType": "speed",
"name": "sensor4",
"type": "SENSOR",
"distribution": 1,
"stdDev": 3.5
}, {
"mean": 30.0,
"sensorType": "temperature",
"name": "sensor1",
"type": "SENSOR",
"distribution": 1,
"stdDev": 2.5
}, {
"mean": 32.0,
"sensorType": "temperature",
"name": "sensor2",
"type": "SENSOR",
"distribution": 1,
"stdDev": 1.0
}],
"links": [{
"latency": 50.0,
"destination": "cloud",
"source": "gateway1"
}, {
"latency": 43.0,
"destination": "gateway2",
"source": "sensor3"
}, {
"latency": 60.0,
"destination": "cloud",
"source": "gateway2"
}, {
"latency": 78.0,
"destination": "gateway2",
"source": "sensor4"
}, {
"latency": 92.0,
"destination": "gateway1",
"source": "sensor1"
}, {
"latency": 87.0,
"destination": "gateway1",
"source": "sensor2"
}]
}
hi ,
I read the papers , But I could see using iFogSim anyone calculated end to end latency using any application. Apploop shows latency but it is for application only
Kindly guide me. Someone told me to minus each link latency gave from the operational cost than I will get the end to end latency . It correct ?
run:
Starting VRGame...
Exception in thread "main" java.lang.IllegalAccessError: tried to access method org.cloudbus.cloudsim.DatacenterCharacteristics.setId(I)V from class org.fog.entities.FogDevice
at org.fog.entities.FogDevice.(FogDevice.java:128)
at org.fog.test.perfeval.VRGameFog.createFogDevice(VRGameFog.java:224)
at org.fog.test.perfeval.VRGameFog.createFogDevices(VRGameFog.java:125)
at org.fog.test.perfeval.VRGameFog.main(VRGameFog.java:75)
C:\Users\phantom\AppData\Local\NetBeans\Cache\8.2\executor-snippets\run.xml:53: Java returned: 1
BUILD FAILED (total time: 0 seconds)
While trying to simulate one fog device(one router) using 100 cameras in a Fog-Based Cloud Network in a surveillance system IoT application, I got the following results
"
Placement of operator object_detector on device Router-0 successful.
Placement of operator object_tracker on device Router-0 successful.
Router-0 is shifting object_detector north.
Proxy-Server is shifting object_detector north.
Cloud is shifting object_tracker north.
Cloud is shifting object_detector north.
Placement of operator object_tracker on device Cloud successful.
Placement of operator user_interface on device Cloud successful.
Placement of operator object_detector on device Router-0 successful.
Router-0 is shifting object_detector north.
Cloud is shifting object_tracker north.
Proxy-Server is shifting object_detector north.
java.lang.NullPointerException
at org.fog.placement.ModulePlacementEdgewards.shiftModuleNorth(ModulePlacementEdgewards.java:303)
at org.fog.placement.ModulePlacementEdgewards.placeModulesInPath(ModulePlacementEdgewards.java:207)
at org.fog.placement.ModulePlacementEdgewards.mapModules(ModulePlacementEdgewards.java:73)
at org.fog.placement.ModulePlacementEdgewards.(ModulePlacementEdgewards.java:54)
at org.fog.Simulation.FogSurveillanceSystem.main(FogSurveillanceSystem.java:114)
"
Can anybody help me with some of my following queries based on above simulation results?
For router =1, no of cameras =5, I got the following normal results
" Placement of operator object_detector on device Router-0 successful.
Placement of operator object_tracker on device Router-0 successful.
Router-0 is shifting object_detector north.
Creating motion_detector on device Camera-0-4
Creating user_interface on device Cloud
Creating object_tracker on device Proxy-Server
Creating object_detector on device Proxy-Server
Creating motion_detector on device Camera-0-0
Creating motion_detector on device Camera-0-1
Creating motion_detector on device Camera-0-2
Creating motion_detector on device Camera-0-3"
hi,
I want to estimate the total execution time of each appmodule before mapping them to fog devices. can anyone please guide me through it?
Please guide me how to run VRGame topology in ifogsim. Play button in GUI is disabled when i make it enable from the code then "please select Physical Topology file" error occurs.
Is it possible to run this VR Game from GUI.
after setting up the project adding all the necessary jar files I am facing following error
at org.fog.entities.FogDevice.processActuatorJoined(FogDevice.java:349) cannot cast from object to double
at org.fog.entities.FogDevice.processOtherEvent(FogDevice.java:277)
at org.cloudbus.cloudsim.Datacenter.processEvent(Datacenter.java:254)
at org.cloudbus.cloudsim.core.SimEntity.run(SimEntity.java:406)
at org.cloudbus.cloudsim.core.CloudSim.runClockTick(CloudSim.java:518)
at org.cloudbus.cloudsim.core.CloudSim.run(CloudSim.java:882)
at org.cloudbus.cloudsim.core.CloudSim.startSimulation(CloudSim.java:188)
at org.fog.test.CleanFromJson.main(CleanFromJson.java:59)
i have also attached the output screenshot below
please help
thank you
Hello, in the previous version, by running the VRGameFog.java, we can get the energy consumption details from the simulation results. In the newest improv and mobility versions, the energy consumed is no longer available. Is there any way to modify the PhyTopoExample.java to get the energy information?
How you have connected the devices and smartphone to perform VR game simulation. As you have not given any details about the implementation of physical devices. Even same with DCNS Simulation. How you have setup the camera setup to perform the experiment.
When i simulated your vr game with different value of rooms and FogperRoom i didn't got same result as u have documented in excel sheets in output folder . I was just simulated without any physical device. So please give a comolete details about the connection of vr game setup or its just virtual simulation without any physical connections.
Thank you
For example: what is the effect of changing the parameter for Deterministic Disribution?
Similarly what is the significance of selectivity models?
Hello, I'm currently trying to perform load balancing in a fog computing environment using ifogsim. I read the paper and downloaded the master branch and according to my understanding, I am suppose to perform the load balancing in the method called updateAllocatedMips() in the FogDevice class. I also downloaded the improv branch since it is the newest version. However, in the improv branch's FogDevice class, the updateAllocatedMips() method is removed. I am not sure whether it is possible to use ifogsim to perform load balancing. Should I use the master or improv branch to perform load balancing?
Hi Mukhtar. I apologize for the late reply. In iFogSim, there are 2 levels
of task scheduling.
To reduce energy consumption, you may want to do the following :
Please let me know if you need any specific details. I hope this helps.
On Fri, Aug 25, 2017 at 10:01 AM, mukhtarEdris [email protected]
wrote:
Dear Harshit Gupta and Chiamcy,
I would like to know where I can add my code for task scheduling and what
is your suggestion if my objective is to reduce energy consumption in fog
devices
Can you help me please by sharing some ideas?Thanks in advance!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADjC4KOxAhC4Ubqm0DL7BMYO8nLN0yS6ks5sbtOdgaJpZM4Nv8yP
.
--
With regards,
HARSHIT GUPTA
PhD Student
Embedded Pervasive Laboratory
Georgia Institute of Technology
Atlanta, GA 30332.
+1 (404) 512-9792
[email protected]
Originally posted by @harshitgupta1337 in #5 (comment)
Hello All,
I would like to compare the result of performance metrics ( like total latency, total energy consumed, the network usage, Cost of Execution) between Fog Assisted Network with the use of Cloud Network Only ( without using fog devices).
Please help me share ideas and java code for this work.
Hi guys, i'd like to know if there's a way to implement RSA in ifogsim or simulate the cost of its computation
Hello,
I have problem installing IFogSim on Mac OS version 10.13.4. Can you tell the jdk version and eclipse version compatible for it?
Thanks
I want to know how to implement algorithms like genetic algorithm, bees algorithm in ifogsim.
During scenario setup, user has to specify the number of instances of a given module that are to run on a given device. This is extra information that can be obtained by the system as well, and its specification makes the interface complicated.
Tentative Solution approach : Derive the instance count from the number of modules connected to it.
hello,
i want to get the energy consumption of a specific fog at a specific time(during running the simulation)
i want to detect how the energy change before and after the specific time(because this fog is mobile)
where i should put the code?
any help please!
Dear all,
I have this question - if a fog node doesn't have enough mips to handle the required cpu for processing a module and its tuples, Can this fog node sends some of the tuples to another fog node for processing and then sends the results back to the original fog node ? OR the module will be moved completely to another fog node that has enough mips to handle the module and all its tuples ??
thanks in advance
Hello All
Can anyone share thoughts and answer to my following questions and queries on performance metrics like (i) Total Network Usage, (ii) Cost of Execution in Cloud?
Hello Harsh,
I would like to thank you for the amazing fog computing simulator, which was a great add-on to my research.
But I have some questions related to the simulator to be able to fully use it:
1- From where have you got the parameters for the smart camera example, for instance, the network latency = 100ms ?
2- In scalability experiments, it was mentioned that the workload has been varied by emitting the tuple of Headset A at twice the rate of Headset B, how did you do that? Because I am trying to vary the workload, but failed to do that.
3- From where are the CPU power values for the smart camera case are conducted ? I have searched a lot for the past couple of weeks, but couldn’t reach a solution.
4- Same applies to the tuple size, from where have you assumed the values?
5- I want to generate workload to test the proposed application under different environmental conditions. For instance, what will be the application delay, if the number of requests are equal to 1000,2000, and so on. I tried to vary the number of cloud users to millions but the application loop delay was the same.
6- How to have fluctuations in energy consumption and application loop delay without changing the configuration (ex. two gateways, each with 4 smart cameras).
Thank you so much Harsh
Wishing you the best
Best Regards
Dalia
Dear All,
I am working on data collection strategies in fog computing. I wanted to know that what data collection algorithm is adapted in ifogsim? If I want to implement my own data collection algorithm where to place the code in ifogsim( means In Java Class?)
How can we compute the throughput and bandwidth utilization?
Hello, I'm using iFogSim to simulate our fog computing system.
Can you tell me what unit of measurement is used for uplinkBandwidth
and downlinkBandwidth
in FogDevice
class?
Thank you very much 👍
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.