Code Monkey home page Code Monkey logo

haoc21-ae's Introduction

haoc21-ae

This repo contains the scripts necessary to reproduce the HAOC 21 reckon paper.

System requirements

This has been tested working on the following hardware:

  • 192GB RAM
  • 32 core CPU
  • 1TB hard drive

However we expect that the following should be sufficient if change the tmpfs mount in reckon to be a bind mount instead (this was used in the paper for more realistic validation results).

  • 32GB RAM
  • 8 core CPU
  • ~50GB hard drive space

Steps

Cloning the repository

git clone --recurse-submodules https://github.com/Cjen1/haoc21-ae.git

Prerequisites

We need the following packages installed with these versions:

  • python v3.6.9 and pip
  • npm v6.14.12, this may help
  • openvswitch-switch v2.9.8

Install the internal packages: Ensure you are within this directory: cd haoc21-ae

python3 -m pip install -r requirements.txt
npm install vega-lite vega-cli canvas

Reproduce the experiements

First copy over the script into the reckon folder and then build the container. Building the container may take some time to complete (~30 mins at most)

cp reckon_script.py reckon/haoc.py
./update_reckon_dockerfile.sh
cd reckon
make run

make run should have placed you within the reckon container. Now you can execute the script to run the tests.

If you want to run all the tests (~1 hour):

python3 ./haoc.py -l

If you want to just run the traces (~20 mins):

python3 ./haoc.py

Exit the contianer and return to this directory:

Ctrl - C
cd ..

Copy the data out of the container, preprocess it and plot the figures:

docker cp reckon:/results ./results
./get_bandwidth.sh
mkdir figures
python3 ./plot_results.py

If there are any tests which aren't run, the script will say that the relevant file is missing.

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.