Threading the compiler
Michael Eager
eager@eagercon.com
Sat Nov 11 20:00:00 GMT 2006
Geert Bosch wrote:
> Most of my compilations (on Linux, at least) use close
> to 100% of CPU. Adding more overhead for threading and
> communication/synchronization can only hurt.
On a single-processor system, adding overhead for multi-
threading does reduce performance. On a multi-processor
system, the overhead is distributed across all processors, but
results in a net gain. For parallelizations pprograms, a
4-way processor might achieve 3X performance improvement.
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
More information about the Gcc
mailing list