|
|
Heads up: build parallelismDate: Wed, 27 Feb 2008 15:37:44 -0800 From: Alexander Kolbasov <akolb at eng dot sun dot com> To: on-all at eng dot sun dot com, onnv-gate at onnv dot eng dot sun dot com Subject: Heads up: build parallelism Greetings gatelings, The putback for 6592974 Kernel can compile in parallel with libraries 6592975 Sparc platforms can be compiled in parallel 6592976 Intel platforms can be compiled in parallel 6592977 sun4u sub-platforms can be compiled in parallel 6621861 src/tools can be built in parallel 6591900 Various sun4u platforms try to install sys symlink in usr/share/src/uts in parallel increases the parallelism of ON builds and improves build times, especially on SPARC systems. For example, on T2000 machine with 8GB of memory the total build time (DEBUG + non-DEBUG + lint) went down from 5 1/2 hours to 3 1/2 hours. On 8-socket dual-core UltraSPARC IV system the build time went down from 2 1/2 hours to 1 1/2 hours. On a beefy x86 build time went down by 10-15%. All the build machines were otherwise idle. Your actual build improvement may vary greatly based on your specific configuration and system load. These changes may result in extra load on the build machines and more demand on the swap space. You may need to adjust the parallelism specified in ~/.make.machines file if you run into problems. Also, the local builds of subdirectories under usr/src/uts is no longer supported. You need to at least run a make in usr/src/uts directory to guarantee that all dependencies are taken care of. With the above changes the GCC shadow compilation is having more impact on the build time. If you need really fast turn-around time for the build you may disable GCC shadow compilation by setting CW_NO_SHADOW in the environment file. Please remember to do the full build with GCC shadow compilation as part of your pre-integration testing. Thanks, - Sasha |