Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In our lab we just bought a new machine with two 8-cores Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz processors which also support Hyper-Threading.

I would expect Ubuntu to see 32 processing units, however it only detects 8 of them (the equivalent of just one processor with Hyper-Threading disabled). The bios correctly reports a total of 32 processing units. I am using the i386 version of Ubuntu 12.10 desktop.

Any idea about how to solve this?

share|improve this question
2  
Yes, we're talking about Ubuntu 12.10 desktop 32 bit. –  tunnuz Oct 29 '12 at 15:59

1 Answer 1

up vote 12 down vote accepted

On 32-bit, it's how the kernel is hardwired when compiled. It includes a line in /usr/src/linux-source-3.2.0/debian.master/config/i386/config.common.i386 that reads:

CONFIG_NR_CPUS=8

which sets CPUs to 8. If you ensure you use the 64-bit (AMD64) CD, you will get up to 256 cores. If you use 32-bit(i386) version without hyper-threading, you get 8 working cores out of the total of 16, which is still a waste. So, I guess you need to use the 64-bit version if at all possible. You can try to file a bug complaining about the low limit.

I may file one later, but I'll post if I will.

share|improve this answer
2  
One can of course just recompile the kernel with a different configuration. Downside is, no automatic updates for custom kernels... –  soulsource Oct 29 '12 at 16:34
4  
I went for the 64 bit version, thanks :) –  tunnuz Oct 30 '12 at 9:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.