Skip to content
#

spec-cpu-2006

Here is 1 public repository 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 spec-cpu-2006 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 spec-cpu-2006 topic, visit your repo's landing page and select "manage topics."

Learn more