[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to tell if my kernel is SMP enabled?



Robert P. J. Day wrote:
  a simple one this time -- how can i tell if my currently-running
kernel is SMP capable?  i'm guessing that, if i list /proc/cpuinfo and
more than 1 CPU shows up, that's a dead giveaway.

  but what about on a truly single CPU system?  i can still be running
an SM kernel, it just wouldn't be obvious.  so how do i tell?  thanks.

rday


======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


Are you running an upstream kernel, or a custom compiled kernel?

If you rolled your own from source, you can tell if you do a make xconfig (or make menuconfig, if you're of the curses persuasion) in /usr/src/linux (or where ever you untarred it). If it's a vendor provided kernel, SMP compiled kernels almost always have a -smp- in the name. Try 'uname -a' or 'uname -r' to see the kernel info. FWIW, running an SMP kernel on a single core box is ok, but you'll not want to run a kernel compiled for single core on a multicore platform. Intel HyperThreading CPUs are considered SMP, IIRC. HTH.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ