Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
My CPU cache size appears to be displaying wrong, when I do a cat /proc/cpuinfo I get:
Code:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 3.06GHz
stepping : 5
cpu MHz : 3067.505
cache size : 512 KB
-edit-
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 3.06GHz
stepping : 5
cpu MHz : 3067.505
cache size : 512 KB
-edit-
The cpu cache size should be reported as 1Mb and not 512KB. The processors were recently upgraded, doing a cat /proc/cpuinfo under the old cpu;s would of given me a list of 4 cpu's. Yet here, same system (other than the 2 new cpu's) And it is only showing 2 cpu's, rather than the (what I was expecting) virtual extra 2 cpu's. So why the difference?
How can I verfiy the correct cache size on the cpu's? (anything in bios isnt an option as the comp is remotely located).
If you enabled hyperthreading, it takes half your cache to make two virtual processors. It seems that someone just took out all the processors and placed one processor. Try seeing if top shows four processors. If it does not and you have compiled your kernel with SMP support, you will have to complain.
I originally had 2x 2.4GHz 512kb cache cpu's, when I did a cat /proc/cpuinfo it would return 4 'individual' cpu's. I then upgraded to 2x 3.06GHz 1Mb cache cpu's and now as I mention - I only get 2 cpu's listed from /proc/cpuinfo, with top only showing two aswell - with the cache size apparently wrong.
My flavour of kernel is 2.6.5-1.358smp Fedora Core 2. The latest stable is 2.6.8.1 - so I'm not exactly on an old kernel.
If /proc/cpuinfo is a hook into the kernel, and that is showing only 2 cpu's, then I assume any program will show only 2 cpu's even if it should be showing 4? So how can I verify for 100% sure the specifications of the cpu's? I have googled this a fair bit and it is not unknown for some cpu's to have the wrong cache size / name shown etc.
Is there another way to check the cpu specs? Or will I have to do a custom kernel build? Don't see why this would be needed, as top etc was showing 4cpu's before the upgrade so it must have SMP support enabled...
I don't know if I can help or not, but I'd ask a couple of very basic questions first.
1. Did you open up the box, and can you physically see that there are in fact 2 CPU's installed? If so, are they properly connected, powered, cooled, etc?
2. If so, have you tried manually removing them, then reseating them into their sockets just to be sure it's not a poor connection problem?
3. Are you using the same kernel as you were when you saw the 4 CPU's, or are you using a different version? If it's a different version, can you reboot using the old kernel, and if so, do the 4 CPU's now appear?
To be honest with you, it seems like the most likely explanation for what you're seeing is either:
* you only actually have one CPU installed in the system
* one CPU is functional but the other one is defective in some way
* you need to enable SMP
The box is colocated, so there is no way for me to check the number of cpu's etc, so I can't try out your nos. 2 idea either... The kernel however is exactly the same, everything hardware & software wise (except for the new cpu's) Is the same both before and after the upgrade.
Perhaps a setting in BIOS has defaulted to off or something with the new CPU install? If so which setting could potentially of caused this?
Surely there has to be a way to verify the cpu number & configuration just over SSH though? I'll email supermicro & intel and see if they can advise anything, though if you have more ideas
Like I said complain or tell someone at the remote place to stick their head in the computer and found out if there is two processors. Asking Supermicro and Intel will suggest something if the people at the remote area has done everything they could physically to fix the problem.
I agree with Electro - somebody trustworthy needs to open the box and take a look at what's installed. CPU detection should be automatic, just like with the RAM. (Meaning that it's not like you have to get into BIOS and make changes to it if you happen to throw another stick of RAM in there - it's detected automatically.)
I'll admit that I am definitely *not* the expert on multiple CPU systems, so any of my comments should be discounted appropriately, however, if you were able to see 4 virtual CPU's under the old kernel and now you only see two, and the only change was that the old CPU's were removed and new equipment was added, then I'd seriously question that new equipment. If you're only seeing one CPU, then most likely there is only one CPU present in your machine. There's no way to determine that though without someone physically inspecting it.
Good luck with it either way, but I'm beginning to think that your order might have been screwed up, and instead of shipping 2 Xeon's, only one was sent/installed, or maybe one is defective. Like I said though I'm far from the expert, so anyone with better knowledge and experience, please chime in. -- J.W.
Well good luck with it omg-ffs. To be honest I'd be curious as to how this turns out. If you'd be willing to post back a follow-up, I can say for sure that I'd be interested in seeing it, and my bet would be that Electro and anyone else reading this thread would be too. Whatever the outcome I hope in the end it works out favorably for you -- J.W.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.