[PATCH] parallelize bootstrap
gedare at rtems.org
Wed Aug 14 19:37:25 UTC 2013
OK, I would say use a "-j" if that is not already in use, to be
similar to make's job parallelism option.
On Wed, Aug 14, 2013 at 3:25 PM, Rempel, Cynthia
<cynt6007 at vandals.uidaho.edu> wrote:
>>From: gedare at gwmail.gwu.edu [gedare at gwmail.gwu.edu] on behalf of Gedare Bloom [gedare at rtems.org]
>>Sent: Wednesday, August 14, 2013 11:05 AM
>>To: Rempel, Cynthia
>>Cc: rtems-devel at rtems.org
>>Subject: Re: [PATCH] parallelize bootstrap
>>Would it be better to add an option to specify the maximum number of
>>parallel jobs to run? Also, is it 10 jobs or 20 jobs maximum right
>>now? I think there can be up to 10 controlled by n_confs, and up to 10
>>controlled by n_reconfs?
> It might be better to make it configurable... maybe someone would want it to be just 1? I could add a wait after each for loop to limit it to 10 instead of 10 each...
> Thanks for the review! I'll make the change and resubmit :)
>>On Fri, Aug 2, 2013 at 2:49 AM, Rempel, Cynthia
>><cynt6007 at vandals.uidaho.edu> wrote:
>>> Applying this patch changes the for loops using autoconf into parallel for loops calling autoconf.
>>> It reduced the time to run bootstrap from ~9:30 to ~2:45
>>> It's limited to 10 sub shells working in parallel though...
>>> I only checked that hello.exe and ticker.exe ran on sparc-rtems4.11-gdb...
More information about the devel