Simulation of L1 L2 and main memory on different configurations
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
configs
output
.gitignore
Codebase_Results.pdf
Final_Report.pdf
Makefile
README.md
cache-data.csv
cache.c
cache.h
config.c
config.h
extract-data.py
main.c
run-config.sh
run-one-config.sh

README.md

cache-sim

The code in this repository is provided as-is, with no warranty, guarantees, liability on the author's part, or likely future updates.

Plezkun changes this project every semester, and he will fail you if you copy others' work, in accordance with the honor code.

ECEN 4593, Spring 2015, University of Colorado at Boulder Cache Similation Final Project

Authors: Edward Zhu, Maxwell Russek

How to Run the Simulation

  make

  zcat < /path/to/trace | ./cache-sim <CONFIG>

Folder layout

  • main.c - Contains main procedures and printing output results
  • cache.c - Contains main cache simulation code
  • config.c - config file parser
  • Final_Report.pdf - Final Written Report
  • Codebase_Results.pdf - All code and simulations results
  • configs/ - Directory of cache configuration files
  • output/ - Directory of all simulation outputs
  • cache-data.csv - CSV formatted simulation results
  • run-config.sh - Bash script to run a configuration on all traces.
  • run-one-config.sh - Bash script to run a configuration on one trace.