GithubHelp home page GithubHelp logo

cachedos's Introduction

CacheDOS

Setup

Initialize submodules

$ git submodule update --init
$ git submodule update --remote

Make benchmarks and kernel modules

$ cd IsolBench/bench; make; cd ../../
$ cd memguard; make; cd ..
$ cd base-memguard; make; cd ..

Maximize performance

$ sudo ./util/maxperf.sh
$ sudo service lightdm stop

Evaluation

Recreate a specific figure

Move the Fig# subdirectory (replace # with the figure's numeric value):

$ cd figures/Fig#/
$ sudo ./run.sh

Recreate all figures

$ cd figures
$ sudo ./run-tests.sh

Note that Figure 5 requires that the kernel be patched with PALLOC. For patching instructions please refer to https://github.com/heechul/palloc.

Figure creation

Copying Results

After a figure's tests are run, there will be one or more result text files generated in its Fig# directory. These results need to be manually copied to figures/results.csv, specifically in the columns for that figure (typically B through F).

For example text files and the relevant data to place in the results.csv file, please refer to Example Results.

Plot Generation

Once all the results are copied, columns H through L will contain the data to be copied to the corresponding .dat files. The file to place the data in will be in the cells beginning with a '#'.

A single figure can then be generated by going to the figures Fig# directory and running:

$ gnuplot gen.gp

and all figures can be generated by running:

$ ./gen-figures

from the figures directory.

Citation

The paper detailing the CacheDOS attacks can be found at https://arxiv.org/abs/1903.01314. It can be cited using the following BibTeX entry:

@inproceedings{bechtel2019dos,
	title = {Denial-of-Service Attacks on Shared Cache in Multicore: Analysis and Prevention},    
	author = {Michael G Bechtel and Heechul Yun},
	booktitle = {IEEE International Conference on Real-Time and Embedded Technology and Applications Symposium (RTAS)},
	year = {2019}
}

cachedos's People

Contributors

mbechtel2 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  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.