Git Product home page Git Product logo

dcsim's Introduction

DCSim

A Data Centre Simulation Tool for Evaluating Dynamic Virtualized Resource Management

Simulator Code

  • The core simulation code is located in the src/ directory

Traces

  • A set of trace files to use with the simulator are located in the traces/ directory
  • Trace files are csv files, with each line containing the pair [time, value]
    • Time is simulation time in ms
    • Value is a normalized load value in the range [0, 1], where 0 represents 0 load, and 1 represents the largest load in the trace

Configuration

  • The config/simulation.config file contains a set of configuration parameters to configure host and VM state transition delays (i.e. for powering on and off, starting a VM), migration penalty and overhead values, and simulation output. You can also choose to use an approximate MVA calculation for VM queuing model calculation, to improve simulation performance (recommended).

Examples

  • The examples/ directory contains a set of basic examples of how to use the simulator
  • SimpleExample is a good starting point to using the simulator. You can run this file directly, and read the code for a basic introduction

Configuring and Using the Simulator

  • A particular simulation configuration and setup is defined by extending SimulationTask, and overriding its setup() method. Within this method, configure your simulation (see examples in the example/ directory)
  • Run your simulation by creating a new instance of your SimulationTask, and calling its run() method.
  • You must call Simulation.initializeLogging() prior to creating and running your SimulationTask
  • You can get the results of your simulation from SimulationTask.getMetrics()

For more detailed information on the inner workings of the simulator and how to use it, visit the wiki

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.