A last level cache (LLC) simulator for a new processor that can be used with up to three other processors in a shared memory configuration.
This cache has a total capacity of 16MB, uses 64 byte lines, and is 8 way set associative. It employs a write allocate policy and uses the MESI protocol to ensure cache coherence. The replacement policy is implemented with a psuedo LRU algorithm.
The source code was built and tested on Ubuntu 20.04.6 LTS
with the following tools:
- gcc 9.4.0
- GNU Make 4.2.1
- glibc 2.31
$ make
$ ./llc -f <path/to/file>
NOTE: Can apply -s
flag for Silent mode. llc
program runs by default in
Normal mode
Visit the Wiki to understand more on the LLC!