Parallel builds of IcedTea/OpenJDK
Kelly O'Hair
Kelly.Ohair at Sun.COM
Mon Apr 14 08:49:09 PDT 2008
It depends on the machine and how much your action your disk can handle.
With hotspot this is a 'make -p N all' from the top.
With the jdk, it's a per library thing, 'make -p N *.o'
so small libraries will not benefit on higher numbers.
-kto
Dennis Gilmore wrote:
> On Monday 14 April 2008, Andrew Haley wrote:
>> Joshua Sumali wrote:
>>> Andrew John Hughes wrote:
>>>> The attach patch allows the ALT_PARALLEL_COMPILE_JOBS and
>>>> HOTSPOT_BUILD_JOBS options to be turned on for an IcedTea build using
>>>> --with-parallel-jobs=x where x is the number of jobs to use. This
>>>> speeds up the build quite a bit on systems with more than one
>>>> processor.
>>>>
>>>> I've tested a full bootstrap with this. Okay to commit?
>>> Out of curiosity, what's a good number to use for x? I have a dual core
>>> machine at home, if that helps.
>> Rule of thumb:
>>
>> If running over NFS, cores *2.
>> If running locally, cores +1.
>>
>> Andrew.
> how well will it work at 32 threads?
>
>
> Dennis
>
More information about the distro-pkg-dev
mailing list