Skip to content

Memory Bandwidth Reservation System for Efficient Performance Isolation in Multi-core Processors

Notifications You must be signed in to change notification settings

mbechtel2/memguard

 
 

Repository files navigation

Original repo: https://github.com/heechul/memguard

This repo is an extension of the MemGuard tool that utilizes an additional counter for limiting write intensive applications without ruining the performance of read intensive applications.

An example of it's utilization can be seen in CacheDOS.

Install

# make
# insmod memguard.ko
    <-- Load the module by doing

Usage

Once the module is loaded, the thresholds can be set as follows:

- per-core LLC miss threshold assignment.

assign 500 MB/s for Cores 0,1,2,3
# echo mb 500 500 500 500 > /sys/kernel/debug/memguard/read_limit

- per-core LLC writeback threshold assignment.

assign 100 MB/s for Cores 0,1,2,3
# echo mb 100 100 100 100 > /sys/kernel/debug/memguard/write_limit

About

Memory Bandwidth Reservation System for Efficient Performance Isolation in Multi-core Processors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 69.6%
  • Shell 18.3%
  • C++ 7.8%
  • Python 4.1%
  • Makefile 0.2%