Disabling CPU's (RH Linux,Solaris,Windows)
Submitted by srajeshvirtusa on Sun, 08/10/2006 - 12:08.
performance testing | taxonomy
There is always need to play with the number of CPU's when you need to conduct a scale-in test.
I have listed below three common OS's around; you would find very similar options on other variants.
Red Hat Linux
Add the following clause to the kernel configuration line in the grub.conf maxcpus=
Solaris
Use psrinfo to know the processor id's and using the psradm utility psradm -f
Windows
Use the msconfig utility to edit the boot.ini or edit the boot.ini file using any handy editior. Change the /NUMPROC option to the desired cpus.
I have listed below three common OS's around; you would find very similar options on other variants.
Red Hat Linux
Add the following clause to the kernel configuration line in the grub.conf maxcpus=
Solaris
Use psrinfo to know the processor id's and using the psradm utility psradm -f
Windows
Use the msconfig utility to edit the boot.ini or edit the boot.ini file using any handy editior. Change the /NUMPROC option to the desired cpus.
