Reproducing RRIP cache replacement
Step through a scan between repeated accesses and compare which blocks survive under three cache replacement policies.
The problem
When a stream of one-off reads enters a cache, do frequently used blocks survive?
My role
AI-assisted paper reproduction
Technology choices
Python applies the same access sequence to all three policies and saves the results as CSV. An HTML table lets readers compare eviction decisions at a single step.
Implementation & decisions
Replayed the access sequence from Figure 3 for LRU, NRU and SRRIP-HP, then varied cache size and state bits to check Equation (1).
Result
Across 4,667 published SRRIP-HP cases, active-block retention agreed with Equation (1). The report includes a step-by-step table and the underlying CSV files.
Evidence
Section 4 of the paper, per-step states, reproduction code and CSV results
My contribution
The portfolio publishes the reproduction and its executable source. The RRIP algorithm and reference results are the work of Jaleel and colleagues.
AI collaboration
AI implemented the Figure 3 and Equation (1) reproduction and a separate simulation based on a DOOM-sized framebuffer.
Limitations
The experiments use a cache model. The report documents a discrepancy between the paper’s text and diagram for the NRU insertion bit. It does not measure CPU or game performance.
Next steps
Comparing workload performance would require memory-access traces and a specified measurement setup.