This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Doc correction regarding parallel builds


Hija,

In install.texi one can find:
"If you have a multiprocessor system you can use @samp{make bootstrap
MAKE="make -j 2" -j 2} or just @samp{make -j 2 bootstrap}
for GNU Make 3.79 and above instead of just @samp{make bootstrap}
when building GCC@.  You can use a bigger number instead of two if
you like.  In most cases, it won't help to use a number bigger than
the number of processors in your machine."

I find the last sentence somewhat misleading because in fact a parallel
build is often faster than a single process build because of the latency
hit when reading an uncached file, especially on NFS systems. This is
true iff the machine has enough memory to cover all processes and data. 

What about: "In most cases, using a value bigger than the number of
processors in your machine will result in smaller latency hits to read
the source files thus improving overall throughput; this is especially
true for slow harddrives and network filesystems." 

-- 
Servus,
       Daniel

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]