From: Nicholas N. <nj...@cs...> - 2008-06-21 00:16:47
|
On Fri, 20 Jun 2008, Marco Ehlert wrote: > 1) Hardware L2 cache size of 6MB is not recognized and > a default of 256MB assumed > > 2) setting caching sizes manually fails with a "power of two" > problem > > valgrind --L2=6291456,8,64 --tool=cachegrind > > error: L2 size of 6291456B not a power of two; aborting. > > How can I overcome this ? You can't without rewriting the code in cachegrind/cg_sim.c to handle non-powers-of-two. Easier would be to run it using 4MB and 8MB and interpolate the results... Nick |