MobFogSim - Simulation of Mobility and Migration for Fog Computing
MobFogSim extends iFogSim simulator to enable the modelling of device mobility and service migration in fog computing.
More details can be found in the following paper: Puliafito, Carlo, et al. "MobFogSim: Simulation of Mobility and Migration for Fog Computing." Simulation Modelling Practice and Theory (2019)
Building your own simulation
An example of an application is set in src/org/fog/vmmobile/AppExample.java
Make run
Create a new project defining this repository as the main directory
Settings: Project -> Proprieties -> Java Build Path -> Libraries -> ADD External JARs -> Select the JARs files in the directory jars
In src/org/fog/vmmobile/AppExample.java, run as -> run configurations -> Java Application -> AppExample -> Arguments -> Program arguments -> Insert the parameters as you demand
In src/org/fog/vmmobile/AppExample.java, run as -> Java application
Optional:
IBM CPLEX for optimization algorithms
cscope for browsing the source code
Example 1 290538 0 0 1 11 0 0 0 61
Mobility data can be read as .csv files. These files can be taken from mobility patterns of SUMO - Simulation of Uban MObility
An example of an offline mobility dataset from Luxembourg SUMO Traffic is placed in the directory named as 'input'.
The user mobility is based on the following parameters: time (in seconds), direction (in rad), position x and y, and speed (in m/s)
Example input/1702log.csv
2.1 -1.51173 10370.1 2233.67 0
3.1 -1.68755 10369.2 2234.57 2.34286
4.1 -2.09045 10366.9 2236.81 4.11058
5.1 -2.36655 10363.1 2240.26 6.03548
6.1 -2.41103 10357.9 2244.92 7.94067
7.1 -2.43504 10350.9 2250.8 10.0297
8.1 -2.43476 10342.4 2258.09 12.1859
9.1 -2.42554 10332.5 2266.75 14.044
10.1 -2.42553 10323.3 2274.71 10.638
.
.
.
Puliafito, C. et. al. MobFogSim: Simulation of mobility and migration for fog computing. Simulation Modelling Practice and Theory. 2020.
@article{puliafito2020mobfogsim,
title={MobFogSim: Simulation of mobility and migration for fog computing},
author={Puliafito, Carlo and Gon{\c{c}}alves, Diogo M and Lopes, M{\'a}rcio M and Martins, Leonardo L and Madeira, Edmundo and Mingozzi, Enzo and Rana, Omer and Bittencourt, Luiz F},
journal={Simulation Modelling Practice and Theory},
volume={101},
pages={102062},
year={2020},
publisher={Elsevier}
}
DOI https://doi.org/10.1016/j.simpat.2019.102062
Goncalves, D. et. al. Dynamic network slicing in fog computing for mobile users in MobFogSim. IEEE/ACM 13th International Conference on Utility and Cloud Computing. 2020.
@inproceedings{gonccalves2020dynamic,
title={Dynamic network slicing in fog computing for mobile users in MobFogSim},
author={Gon{\c{c}}alves, Diogo and Puliafito, Carlo and Mingozzi, Enzo and Rana, Omer and Bittencourt, Luiz and Madeira, Edmundo},
booktitle={2020 IEEE/ACM 13th International Conference on Utility and Cloud Computing (UCC)},
pages={237--246},
year={2020},
organization={IEEE}
}
DOI https://doi.org/10.1109/UCC48980.2020.00042
Goncalves, D. et. al. End-to-end network slicing in vehicular clouds using the MobFogSim simulator. Ad Hoc Networks. 2023.
@article{gonccalves2023end,
title={End-to-end network slicing in vehicular clouds using the MobFogSim simulator},
author={Gon{\c{c}}alves, Diogo M and Puliafito, Carlo and Mingozzi, Enzo and Bittencourt, Luiz F and Madeira, Edmundo RM},
journal={Ad Hoc Networks},
volume={141},
pages={103096},
year={2023},
publisher={Elsevier}
}