Giter Site home page Giter Site logo

davidmakoto / greencloud-data-center-workload-scheduling-simulator-scripts Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 52 KB

Scripts used to aid running different types of simulations of workload scheduling algorithms using GreenCloud simulator. Project is part of Summer research project under Dr. Xunfei Jiang funded by the Louis Stokes Alliance for Minotiry Participation program.

License: MIT License

Python 100.00%

greencloud-data-center-workload-scheduling-simulator-scripts's Introduction

GreenCloud-Data-Center-Workload-Scheduling-Simulator-Scripts

Scripts used to aid in running different types of simulations of workload scheduling algorithms using GreenCloud simulator. Part of Summer research under Dr. Xunfei Jiang funded by the Louis Stokes Alliance for Minotiry Participation program.

Usage

Two primary scripts are included, one that automates the running different configurations and creation of unique output directories, and the second that plots trace files. Below are more details as well as screenshots of directory configuration as well as the command to the run scripts.

run_sims.py

Runs GreenCloud simulator via command line options with a number of different options specified in lists. Script also creates unique output directories for generated trace files labeled by the data center configuration (e.g. three-tier debug), scheduler chosen, and date/time. Currently, script only cycles through a few topologies and 6 workload scheduling algorithms. To run, place this script inside /home/greencloud/greencloud directory (same as "run" executable, shown in screenshot of ls command below). While running, it's necessary to hit enter after each simulation is complete in terminal window before the next configuration is run by the script. run sims

plot_trace.py

Simple script that plots a two column trace file onto the x-y axis using plotly.express library. Trace file directory must be hardcoded along with column titles (which are not clearly specified in output trace files). Update: plot_trace.py no longer necessary to extract comma seperated values from space seperated values. Can bypass plot_trace.py entirely and copy paste data into excel/sheets. For google sheets, paste entire .tr file into single cell, then select Data->Split text to columns. Keeping for reference to further automate plotting of data/

greencloud-data-center-workload-scheduling-simulator-scripts's People

Contributors

davidmakoto avatar

Stargazers

 avatar

Watchers

 avatar

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.