Skip to content

This project simulate a memory cache. You can set up some parameters like memory size, lize size and cache size. After that, you can perform access with real address and check what is the performance of your algorithm.

Notifications You must be signed in to change notification settings

diegonieto/cache_simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cache Simulator Lib

This is a tiny library which plays as a cache simulator. The aim of this library is to compare the different behaviours of the cache memory. Once you have executed the benchmark test you can check what is the difference between perform contiguous access to memory or not.

Usage

cd build
make
./cache_simulator

Development

Follow header descriptor to develop your own code. You can set up to three parameters:

  • Cache size
  • Cache line
  • Associtivity

Then, perform the access to the desired addresses and check the number of accesses and misses.

About

This project simulate a memory cache. You can set up some parameters like memory size, lize size and cache size. After that, you can perform access with real address and check what is the performance of your algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published