added code again, which got removed my big merge:-(
[linux-2.6/linux-mips.git] / Documentation / smp
blob5706552b03cbb9d599aa3c4e5d66b5ccc3aa1a25
1 To set up SMP
3 Edit linux/Makefile and uncomment SMP=1, then compile and install
4 as usual.
6 If you are using LILO, it is handy to have both SMP and non-SMP
7 kernel images on hand. Edit /etc/lilo.conf to create an entry
8 for another kernel image called "linux-smp" or something.
10 The next time you compile the kernel, when running a SMP kernel,
11 edit linux/Makefile and change "MAKE=make" to "MAKE=make -jN"
12 (where N = number of CPU + 1, or if you have tons of memory/swap
13  you can just use "-j" without a number). Feel free to experiment
14 with this one.
16 Of course you should time how long each build takes :-)
17 Example:
18    make config
19    time -v sh -c 'make dep ; make clean install modules modules_install'
21 If you are using some Compaq MP compliant machines you will need to set
22 the operating system in the BIOS settings to "Unixware" - don't ask me
23 why Compaqs don't work otherwise.