Specifying number of CPUs and size of RAM on Linux SMP kernel

The Linux kernel boot parameters on SMP processor enable the user to define how many cores and what amount of RAM the system should use. For instance trying this with Grub, booting with 2 cores and 1,2GB of memory, we edit the /boot/grub/grub.conf file and we add the extra parameters:

kernel /boot/vmlinuz-2.6.18-128.1.1.el5 ro root=LABEL=/ rhgb quiet maxcpus=2 mem=1224M

‘man bootparam’ contains all the available parameters that can be set.


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s