Re: Is the system SMP capable?
Dag Wieers <[email protected]>
| Newsgroups | gmane.linux.redhat.release.taroon.general |
|---|---|
| Organization | 3TI Web Hosting Services |
| Message-ID | <[email protected]> |
On Fri, 25 Aug 2006, Ben Spencer wrote: > Is there a way to determine if the OS will take advantage of additional > CPUs if one was installed without having the kernel config file and > nothing apparent being displayed at boot/via uname? We don't want to buy > additional CPUs for the box and find out the OS will not support them. > > Is there any performance gain from 2 CPUs when the OS isn't SMP enabled? If the question is: do I have more than one CPU ? Then the answer is hidden in the dmidecode output. dmidecode | grep -B1 -E '^\s+(Socket Designation: Proc |Status: )' If you're not sure if all the processors are being used by the OS, you can compare this output to what /proc/cpuinfo has to say. grep -E '(^processor|^model name)' /proc/cpuinfo Beware though that dmidecode counts physical processors (or sockets) and /proc/cpuinfo counts logical processors (like when hyperthreading is enabled). For both you need an SMP-aware kernel if you have more than one. Kind regards, -- dag wieers, [email protected], http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power] -- Taroon-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/taroon-list