A VM placement simulator with energy-efficiency focus.
DistSim has the following available strategies:
- A KSP (Knapsack) based strategy
- A EC (Evolutionary Computation) based strategy
- An enery-unaware strategy
Execution:
$ python distsim.py -tTRACEFILE-oOUTDIR-pm#PHYSICAL MACHINES-vma#STARTING VIRTUAL MACHINES-vmo#ENDING VIRTUAL MACHINES-vme#INCREMENT VIRTUAL MACHINESSTRATEGIES
Where
TRACEFILEis the trace file to be used. Traces can be found here: https://github.com/vonpupp/planetlab-workload-tracesOUTDIRis the output folder where simulation results will be stored#PHYSICAL MACHINESis the number of physical machines#STARTING VIRTUAL MACHINESis the starting number of virtual machines#ENDING VIRTUAL MACHINESis the ending number of virtual machines#INCREMENT VIRTUAL MACHINESis the increment of the virtual machinesSTRATEGIESare:-seu(energy-unaware strategy)-sksp(Knapsack based strategy)-sec(Evolutionary Computation based strategy)
The setup scripts can be found in the setup folder.