Coder Social home page Coder Social logo

krasjet-yu / interconnect-routing-gym Goto Github PK

View Code? Open in Web Editor NEW

This project forked from felix0901/interconnect-routing-gym

0.0 0.0 0.0 384 KB

openai-gym style RL benchmark for interconnection network congestion control study

Python 89.29% Shell 10.71%

interconnect-routing-gym's Introduction

inconnect-routing-gym

ACM/IEEE NoCS, Oct. 2019 Arxiv

openai-gym style RL benchmark for interconnection network congestion control study

CompArch - gem5/garnet tutorial

Running garnet

Environment Setup

$sudo apt-get install g++
$sudo apt-get install python
$sudo apt-get install python-dev
$sudo apt-get install swig
$sudo apt-get install zlib
$sudo apt-get install m4

Downloading gem5

Official gem5 from google git

hg clone /nethome/tkrishna3/teaching/simulators/gem5/repo/gem5
  • hg status shows what files have been modified in your repository

  • hg diff shows a diff of the modified files.

How to use it

Import the module in the src directry

  • It provides integration with Garnet2.0 in gem5 with the custom-defined RL-alagirithm
from icn_gym import ICN_env as ir_gym

Example

We provide examples of baseline (xy routing)

example/Baseline_xyRouting_example.py

We provides the example of three RL-alagorithms we present in the paper

example/rl_QLearning_example.py
example/rl_sarsa_example.py
example/rl_expected_sarsa_example.py

Example of NoC statistics from Garnet2.0 in gem5

network_stats.txt

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.