Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Soon we will receive a 2-CPU mainboard with 2 Quad-Core Xeons on it. We have also a GNU system with Linux kernel (preconfigured). Currently, this Linux runs on a multi-core 1-CPU (Quad Core).

My question is if I will disable in BIOS one of the Xeons, will current Linux run on only one CPU? Will I need to change Linux configuration settings?

Here is important config settings:

CONFIG_NUMA=y
CONFIG_K8_NUMA=y
CONFIG_X86_64_ACPI_NUMA=y
CONFIG_NUMA_EMU=y
CONFIG_ACPI_NUMA=y
# CONFIG_X86_VSMP is not set
CONFIG_SMP=y
CONFIG_SUSPEND_SMP=y
share|improve this question

2 Answers 2

up vote 2 down vote accepted

Yes it will work...but I have to ask the question...why would you do this?

share|improve this answer
    
Thanks! This board is for server prototype. First we have to test our system on a new Xeon CPU, if it is enough CPU Performance then we will stay with cheaper 1-CPU(4Cores) on board solution for mass-production. If more performance will be required, then we will utilize 8 cores (2CPUx4Cores). –  psihodelia Dec 11 '09 at 12:33
    
Can you also please specify why it will work? Maybe a link? –  psihodelia Dec 11 '09 at 12:34
2  
Why wouldn't it? As far as the OS is concerned, unless you are talking about a really large number of cores like 64 or more, 1-core or 8-core will work, with only the difference in performance. An SMP enabled Linux kernel will still work on 1-core, just without the multi-core magic. –  sybreon Dec 11 '09 at 12:51

A single CPU is just a special case of multiple CPUs, so the same code will work just fine.

share|improve this answer
    
I'm not sure what you're saying here. Care to clarify? –  MDMarra Dec 11 '09 at 12:38
    
Literally, the kernel boots up on the first CPU and enumerates other CPUs and boots them if it finds them installed and working. If there is only 1 cpu then it carries on just fine. –  pjc50 Dec 11 '09 at 13:41

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.