Skip to content
#

cache-replacement

Here are 24 public repositories matching this topic...

This repository contains a set-associative cache simulator in C with four eviction policies: LRU, LFU, Bélády's OPT, and an online perceptron-based policy that scores by recency, frequency, and per-PC weights updated from a circular eviction history to explore whether a lightweight ML model can approximate OPT at runtime with no offline training.

  • Updated Apr 23, 2026
  • C

Improve this page

Add a description, image, and links to the cache-replacement topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the cache-replacement topic, visit your repo's landing page and select "manage topics."

Learn more