How to turn off the level 3 cache on my AMD Threadripper Pro so I can get good benchmarking of my Gnu C++ code?

38 Views Asked by At

I want to run some benchmarks on my C++ code and I think that the level 3 cache, in particular, will cause the numbers to be difficult to interpret. I'm happy to modify the code to make the cache turn off under Linux (Debian stable) but I've never had to mess with that stuff, so I'm asking you folks...

My data structures grow in the course of running the program, but only to a limited extent. I'm expecting that I can get some idea of the limits of execution time for real inputs by turning off the L3 cache and characterizing program behavior.

Graeme.

0

There are 0 best solutions below