Adding TCP latency model to iFogSim simulator (https://github.com/DongDongJu/iFogSim)
This tools can analyzing the system in a holistic manner considering device hardware layer to platform layer.
This tool can help to re-configure iFogsim and simulate the MIPS for iFogSim from virtual full-system simulator. It means that dynamically testing the fog system. platform_controller.py can help to user for that by using lots of configurations and libs. lets check the below folder description.
This folder includes a brute force agent example. Users can modify or add their own policies like this example.
This folder includes each device configurations that we want to simulate with snipersim and also includes fog system's layer configuration.
This folder includes a re-configuration script and an exported executable jar file from extended ifogsim. If a user wants to simulate their own fog system then the user has to make their workflow by using extended ifogsim.
snipersim(http://snipersim.org/w/The_Sniper_Multi-Core_Simulator) is full-system simulator. It's hard to install dependencies for that. Also, for simulating MIPS with snipersim, we have a problem that installing lots of popular framework like OpenCV, pytorch. So, we provide some useful Dockerfile for that. If user want to install another library for applications then have to check Dockerfile.
1-1. if you want to make a more complicated system layers then you have to make your jar file.
please check the extended ifogsim folder
prepare virtual device's specification for configuration.
prepare application what you want to run on the virtual device with snipersim. you can test it with docker container before run the simulation.
prepare your own cross_layer_controller. this repo have a sample cross_layer_controller with brute force policy. if you want to run with other policy then you can add to the cross_layer folder.
run the simulation
git clone https://github.com/HealthSciTech/Dynamic_iFogSim
cd snipersim
docker build -t sniper .
cd ..
python3 platform_controller.py brute_force system_configurations/devices/device_setting.cfg FallDetection
If you find this work useful for your research, please cite our paper:
@article{seodynamic,
title={Dynamic iFogSim: A Framework for Full-Stack Simulation of Dynamic Resource Management in IoT Systems},
author={Seo, Dongjoo and Shahhosseini, Sina and Mehrabadi, Milad Asgari and Donyanavard, Bryan and Lim, Sung-Soo and Rahmani, Amir M and Dutt, Nikil}
}
For any questions, contact me at commisori28@gmail.com