Re: (My) SMP lameness?

Meelis Roos (mroos@tartu.cyber.ee)
Tue, 12 Jan 1999 02:59:03 +0200


SL> Do I have to get a different egcs/gcc in order to use both processors
SL> when compiling something or are there exxxtra options in order to enable
SL> some SMP extra stuff? I have to mention that a cat /proc/cpuinfo shows
SL> both processors so it has to be okay...

make -j2

I use a script for that:

#!/bin/bash
renice 10 $$
export MAKE="make -j2"
make dep && make clean && export MAKE="make -j2" && $MAKE bzlilo && $MAKE modules && $MAKE modules_install

You may want to experiment with -j2, -j3, -j4 for dual cpu setup. More
processes is sometimes better - it helps to keep the cpu busy.

-- 
Meelis Roos (mroos@tartu.cyber.ee)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/