Estimating CPU cache size with the memory mountain

made by Fabrizzio, submitted by nicholasbs
A post showing how you can measure and graph memory usage of a test program, and then use this to estimate the sizes of the L1, L2, and L3 caches for the CPU the code ran on!