Where to get data for comparing cache algorithms

I cannot compare cache algorithms like LRU, SLRU, LFU, etc. on real data.

That's why I need some method to generate real data to compare caching algorithms or to get this data from some application.

+5
source share
2 answers

I think cachegrind , one of the tools in the valgrind package, may be what you are looking for. I did not use it myself, but, looking at this page, it creates an output file cachegrind.out.<pid> with information read by a person about access to the cache. Not sure if this will be as detailed as you need (maybe this is just a summary), but probably worth a look.

+1
source

I could offer you one of the faker libraries depending on the programming language.

+1
source

All Articles