Doc correction regarding parallel builds
Daniel Egger
degger@fhm.edu
Mon Jun 2 12:38:00 GMT 2003
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20030602/621ba649/attachment.sig>
More information about the Gcc
mailing list