Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 1.29 KB

README.md

File metadata and controls

52 lines (43 loc) · 1.29 KB

SimSCon

An advanced simulator for dynamic server consolidation algorithms

Assumptions

  • All numbering begins from 0, e.g. numbering of vms begins from 0 and goes till (vm_number -1)

Notations and Abbreviations

  • pm = physical machine
  • vm = virtual machine

Input File

  • number of virtual machines
  • number of phases
  • revenue for each vm
  • penalty for each pm
  • arrival rate in each phase for each pm
  • service rate for each vm
  • response time limit for each vm (SLA violation)

See TODO file for examples.

Output

Prints the trace of the events and generates various graphs.

Documentation

How to Run

Modify Makefile appropriately to link to policy class. You can use http://github.com/mangalaman93/simcon Current Working Dir: simscon/

make clean
make
export STREAM=2
./bin/sim < input

To run the same program for multiple streams, use the confi script-

chmod +x confi
./confi > output

All the response times for each run will be copied in the file results/stream_out.txt file.