GithubHelp home page GithubHelp logo

yfxiee / perceptron-learning-cache-reuse-predictor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ankur-rc/perceptron-learning-cache-reuse-predictor

0.0 0.0 0.0 3.56 MB

A cache reuse and bypass predictor for LLC using the perceptron learning algorithm. Based on Teran et al., MICRO 2016

Makefile 0.35% C++ 82.56% C 3.92% Python 4.64% Objective-C 6.62% Shell 1.91%

perceptron-learning-cache-reuse-predictor's Introduction

This is a C++ based implementation of two cache reuse predictors:

  1. Perceptron-learning based Reuse Prediction

  2. Sampling-dead Block Prediction

Master branch contains the Perceptron learning predictor and branch sdbp contains the SDBP code. SDBP code is still WIP.

The traces to run the program can be found at: http://faculty.cse.tamu.edu/djimenez/614/traces.tar PS: This is not an enterprise server. Please be judicious while downloading. Also, the files can be taken down anytime.

To run a single trace, run:

./run_single.sh <location-to-trace-file>

To run all traces, run:

./run_traces.sh <location-to-traces-directory>

To generate a bar-graph comparing the geometric mean speed-up w.r.t LRU, run:

python calc_gmean.py

Similarly, run the following for Arithmetic Mean of MPKI values per trace:

python calc_amean.py

The files to check out are: replacement_state.*

perceptron-learning-cache-reuse-predictor's People

Contributors

ankur-rc 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.