Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edumucelli/synthetic_traffic_generator
Synthetic traffic generator created from real data from more than 6.8 million subscribers in Mexico City
https://github.com/edumucelli/synthetic_traffic_generator
Last synced: about 20 hours ago
JSON representation
Synthetic traffic generator created from real data from more than 6.8 million subscribers in Mexico City
- Host: GitHub
- URL: https://github.com/edumucelli/synthetic_traffic_generator
- Owner: edumucelli
- License: gpl-3.0
- Created: 2015-06-08T13:59:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-01-06T20:14:39.000Z (almost 3 years ago)
- Last Synced: 2024-06-13T09:57:27.476Z (5 months ago)
- Language: Python
- Size: 23.4 KB
- Stars: 7
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Synthetic traffic generator
Synthetic traffic generator created from real data from more than 6.8 million subscribers in Mexico City.
More information on the model and used methodology can be found on our papers linked here below [1,2]. If you intend to publish your results based on this synthetic generator, we appreciate if you cite this website and the publications.
### Usage
`python run.py `, e.g., `python run.py 10000`
### Output
The synthetic trace represents the data generated for all the users during one day, i.e., it represents all data *sessions* (refer to [1]) for each user during one day. After executing the generator, the traffic files are then stored in the directory './users/synthetic/'. There is one file per synthetic user and each line corresponds to a session as described and exemplified bellow:
`2013-08-25 07:30:32 0 27624.3102372 MO`
The example above shows an actual resulting line, all fields space-separated, thus, there are 5 fields for every line in the synthetic trace formatted as follows:
1. Day, this is a fixed day in the format `%Y-%m-%d` and it is hard-coded as 25th August, 2013 but it can be changed, and a simple code change allows it to generate for as many days as needed
2. Hour, in the format of `%H:%M:%S`, this represents the actual moment when the synthetic user generated traffic within the day
3. User ID
4. The traffic volume, in KiloBytes generated in this session
5. User class, in this example it is a MO that stands for *Middle Occasional* (please refer to [1] for a better description of each of the classes)[1] Eduardo Mucelli Rezende Oliveira, Aline Carneiro Viana, K. P. Naveen and Carlos Sarraute, *"Measurement-driven mobile data traffic modeling in a large metropolitan area"*, IEEE Percom, March 2015, Saint Louis, United States
[2] Eduardo Mucelli Rezende Oliveira, A. C. Viana, K. P. Naveen, and C. Sarraute. *"Mobile Data Traffic Modeling: Revealing Temporal Facets"*. ([PDF](https://hal.inria.fr/hal-01073129v5/document)) INRIA Research Report, RR-8613. October 2014.