lkml.org 
[lkml]   [1999]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: (My) SMP lameness?
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:49    [W:3.815 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site