1753448 Members
5030 Online
108794 Solutions
New Discussion юеВ

Re: CPU

 
SOLVED
Go to solution
ShivKumar_1
Frequent Advisor

CPU

Hi Experts,
I have a question with regard to the CPU. Say for example a box has 8 CPUs, is there is a way logically to disable 4 CPUs?
Can it be done without physically removing the CPU from the box?

Thnx
SK
3 REPLIES 3
Stuart Browne
Honored Contributor
Solution

Re: CPU

After the system is booted, I do not know.

At a boot prompt, pass the argument:

maxcpus=4

This is documented in the linux kernel documentation in the file 'kernel-parameters.txt'.

This is in the Documentation/ directory of the kernel source, or in the 'kernel-doc' package on a RedHat system.
One long-haired git at your service...
Mike Brown_3
Frequent Advisor

Re: CPU

Stuart's right, but to get it at boot time, you need an entry in your lilo.conf, (works for me).
There's no substitute for experience
ShivKumar_1
Frequent Advisor

Re: CPU

Thnx for the answer. I followed your instructions and it has worked fine