Is there a special command or anything to get a "make" process take advantage of SMP with the AMD x2. I mean when I type make is it dispatching 2 compiles at a time? How do know it is or how do I tell it to take full advantage of the DUAL processor.
Thanks,
jerry
On 3/8/06, Jerry Geis geisj@pagestation.com wrote:
Is there a special command or anything to get a "make" process take advantage of SMP with the AMD x2. I mean when I type make is it dispatching 2 compiles at a time? How do know it is or how do I tell it to take full advantage of the DUAL processor.
-j X (where X is a number) Answers vary about what number is best. The answer I've heard most is # cpus +1. Salt to taste.
-- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775
Jerry Geis wrote:
Is there a special command or anything to get a "make" process take advantage of SMP with the AMD x2. I mean when I type make is it dispatching 2 compiles at a time? How do know it is or how do I tell it to take full advantage of the DUAL processor.
make -j XXX
where XXX = number of simultaneous jobs to launch
Cheers,