gcc performance - getting better all of the time
Bill_Buros 270000QDEP Visits (8056)
By: Bill Buros.
There's quite a bit going on in the world of Linux on Power, where several of us have some focus on improvements for performance. Lately, a series of articles have been published on DeveloperWorks which nicely highlight the performance gains that gcc (packaged in the Advance Toolchain) provides over the gcc packaged with the Linux operating system.
Two articles are available which dive into performance gains across a number of workloads embedded in the SPECcpu2006 suite. The approach is simple. Use gcc as bundled with the version and release of the operating system, measure the performance. Then install the Advance Toolchain (a couple of rpms), change the path to gcc, re-build, re-run, and compare the performance.
Naturally, your mileage will vary. If you have a workload example of something you think should be running faster, let us know, we'll try to help!
And more gcc improvements are coming. It just keeps getting better.
(Sept 19th 2011 - updated the url link to the Advance Toolchain 4.0 article)