Re: Default value of "j" in makeflags of makepkg.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Isaac Dupree <ml@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> Probably most code doesn't consume 256 MB RAM per GCC invocation.  C++'s 
> templates and lack of module system...

Correct...also in special for C and other compilers.

Important is to create more parallel instances then the number of available 
cores in order to have threads waiting for CPU while others are waiting for 
I/O. 

A rule of thumb is to invoke aprox. twice as many parallel build processes as 
the system has cores. This however is a rule derived on Solaris. On Linux, the 
scheduler may be worse and could impose a lower number.

Also note that when doing parallel builds with gmake, the problem is that 
unlike dmake (as used on Solaris), gmake does not serialize the output.
This causes problems when a build error has to be debugged.

Jörg

-- 
 EMail:joerg@xxxxxxxxxxxxxxxxxxxxxxxxxxx (home) Jörg Schilling D-13353 Berlin
       js@xxxxxxxxxxxxxxx                (uni)  
       joerg.schilling@xxxxxxxxxxxxxxxxxxx (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux