Re: Dual Athlon MP 1900+ on MSI K7D Master-L

From: William Park (opengeometry@yahoo.ca)
Date: Fri Jul 19 2002 - 00:00:06 EST


On Thu, Jul 18, 2002 at 09:14:30PM -0500, Kelledin wrote:
> On Thursday 18 July 2002 08:31 pm, Dieter N?tzel wrote:
> > Alan, were should I put the "-j2/-j3" make flag for the kernel
> > compilation? /usr/src/linux/Documentation/smp.txt is way
> > outdated ;-(
...
> In general, I find it best to set the number of jobs to the
> number of CPUs _plus 1_--i.e. for single CPU, use make -j2, and
> for dual CPUs, use make -j3. Going for that "plus 1" makes most
> builds just a smidgen faster. For me, on my dual PPro box, the
> process would be something like:
>
> make menuconfig
> make -j3 MAKE="make -j3" dep clean bzImage modules

I usually have better luck if I use only one target per 'make':
    make menuconfig
    make -j3 dep
    make clean
    make -j3 bzlilo
    make -j3 modules
    make -j3 modules_install
Especially, 'modules' and 'modules_install' must be done separately.

-- 
William Park, Open Geometry Consulting, <opengeometry@yahoo.ca>
8-CPU Cluster, Hosting, NAS, Linux, LaTeX, python, vim, mutt, tin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:29 EST