vortex_00.atr.gz -> A trace
file containing the L2 access stream (WARNING:
The trace file is 30MB in size)
Compiling:
After saving these files in a directory, compile the code by typing "make". This should
produce the executable cachesim.
Type
./cachesim -h to get info on
how to run cachesim.
Sample runs:
For testing cachesim, type "make
test". This should simulate four cache
configurations:
1. The baseline 256KB 8-way cache ./cachesim vortex_00.atr.gz
The trace for the vortex benchmark was obtained by skipping 15B
instructions and simulating 2B instructions. The first-level I and
D caches were 16kB, 2-way with 64B linesize. The trace.atr file
contains
line-address
for the lines that missed the first level cache. Each trace entry
is
stored in the trace file as four consecutive bytes. The trace.atr file
was compressed using gzip. The resulting trace.atr.gz file is the input
to cachesim.
Disclaimer:
Standard open source policies apply. In addition to the usual yada-yada, note that this code is written
for
simplicity. It does not contain every gory detail and performance
optimization used in the original design. However, this should
have only a negligible
effect on the miss-rate.
Please feel free to email me if you have any questions, comments, suggestions, or feedback.
This document was generated
by Moinuddin on June, 12 2005
using texi2html