On Sat, Nov 16, 2002 at 01:41:09AM +0000, krishnan charumathi wrote: > How to find the L1 and L2 cache sizes in an Intel Pentium machine? Use the cpuid instruction. For examples of its use (in userspace) see.. http://www.codemonkey.org.uk/x86info/ For kernel space usage, see arch/i386/kernel/setup.c on a 2.4 kernel, or arch/i386/kernel/cpu/* on a 2.5 kernel. Dave -- | Dave Jones. http://www.codemonkey.org.uk -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/