Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running kernel 2.6.9-1.681_FC3smp on a dual processor Intel Xeon with hyperthreading turned on (/proc/cpuinfo thus shows four processors). I installed FC3 (and the 2.6 kernel) by upgrading RH9 using .iso files. I then updated the kernel by rpm only (there is no self-compiled kernel on my machine). Thus:
Did you check that gkrellm (a system monitor) shows all the processors?
Take a look at cat /proc/cpuinfo
Did you ran lilo after the update (if lilo is your bootloader)
I did look at /proc/cpuinfo and found (with some parts omitted):
[root@trane]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.80GHz
[...]
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.80GHz
[...]
processor : 2
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.80GHz
stepping : 7
[...]
processor : 3
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.80GHz
[...]
I also install gkrellm, a nice program. It shows 4 processors active. Great!
So my problem was not with the number of CPUs working but with the fact that top seems to be aware of only one of them. Not such a big deal but would be nice to fix this. Here's some output from top:
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Thats a top issue. If you want to really put all those processors to work. Start up gkrellm. Then compile a new kernel. Don't need to install just do the make. type ' make -j4 ' (might be able to do -j8 ). Watch all the processors go crazy. Most apps are not smp compliate as you think. One app starts on one then another on another one maybe.
Processes are handled by the Linux Scheduler. Search for that. Way over my head.
I've noticed that the FC3 version of top by default shows summary statistics for all CPUs in 1 line. if you want to see per CPU totals, press the 1 key while in top.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.