readme update

This commit is contained in:
2025-05-09 21:19:36 +02:00
parent c9edb32682
commit 037c5b67d6

View File

@@ -1,4 +1,4 @@
Simulation server cluster Simulation server cluster (discrete-event simulation). Chosing an optimal C value (number of specialized clusters) depending on arrival rate.
## How to use ## How to use
usage: usage:
@@ -22,3 +22,10 @@ Number of runs: 10
Minimum number of runs: 5 Minimum number of runs: 5
confidence level: 95% confidence level: 95%
best C (running simulation for lamba=1 only): False best C (running simulation for lamba=1 only): False
## structure
simulation.py contains the code for the simulations.
main.py contains a minimal CLI argument parser.
A class is used to represent a simulation, 2 wrappers are then used. One to run the simulations and produce statistics related to the mean response time, one to produce statistics related to the mean loss rate.
Multiprocessing library is used for parallelism, as multiple simulations are needed with each set of parameters they can be executed in parallel.