A minimal version of MemGuard that provides per-core memory bandwidth throttling. It omits writeback throttling, bandwidth reclaiming, and sharing found in the full MemGuard. It also eliminates costly statistics collection to reduce overhead. Use this when you need a lightweight guard with minimal overhead.
For the full feature set, see README.md.
- Per-core LLC miss-based throttling
- Lightweight module with reduced complexity
- Writeback throttling
- Bandwidth reclaiming or sharing
Build the basic module:
make basicLoad it:
insmod memguard-basic.koOnce loaded, set per-core LLC miss thresholds (values in MB/s):
Example: assign 500 MB/s for cores 0–3
echo mb 500 500 500 500 > /sys/kernel/debug/memguard/read_limitUnload when done:
rmmod memguard-basic