Page 1 of 1

Enable Level 2 cache in suse 10.1

Posted: Sat Nov 18, 2006 4:20 pm
by Mean-Machine
hey
i upgraded my 770x from a p2 300 mhz cpu to a 500 p3 cpu... i used to run windowsxp on it with the cache enabled but now i would like to use it as a server... but how do i enable the cache in linux?

Posted: Sat Nov 18, 2006 9:27 pm
by cmarti
Did you look for the utility here?

Posted: Sun Nov 19, 2006 12:17 am
by tom lightbody
not to worry: recent linux kernels autodetect the
cache: but if for some reason they get it wrong, you
can override using a kernel option:

"cachesize=

...Override level 2 CPU cache size detection.
Sometimes CPU hardware bugs make them report the cache
size incorrectly. The kernel will attempt work arounds
to fix known problems, but for some CPUs it is not
possible to determine what the correct size should be.
This option provides an override for these situations."

/linux/Documentation/kernel-parameters.txt, ll.291-6
(kernel 2.6.12.5)