Display multi-core mode method under Linux

  

At the time of installation, the customer did not choose to install kernel-smp. The system will be installed as a single-processor core by default. Users can upgrade the system by adding multi-processor core modules.

Specific steps:

1. Start Red Hat Linux as 4. Log in as root and enter the character interface.

2, unzip the kernel-smp-2.2.14-5.0.i386.rpm package, (many methods can be directly decompressed into the CD-ROM drive, you can also copy the CD-ROM to the shared directory)

#rpm --install kernel-smp-2.2.14-5.0.i386.rpm, load the multiprocessor (smp) module.

3, #mkinitrd -v -f /boot/initrd-2.2.14-5.0smp.img 2.2.14-5.0smp, create an initialization program.

4, #vi /etc/lilo.conf, add multiprocessor boot options, such as

image=/boot/vmlinuz-2.2.14-5.0smp

Label=smp

initrd=/boot/initrd-2.2.14-5.0smp.img

read-only

root=/dev/sda2

5, #lilo -v, restart the machine, after “boot:” appears, type “smp” enter, enter the multi-processor core.

Copyright © Windows knowledge All Rights Reserved