[U-Boot] [PATCH 06/13] buildman: Tidy up the 'cloning' message

Simon Glass sjg at chromium.org
Fri Sep 23 06:14:01 CEST 2016


Hi Tom,

On 19 September 2016 at 13:14, Tom Rini <trini at konsulko.com> wrote:
> On Sun, Sep 18, 2016 at 04:48:31PM -0600, Simon Glass wrote:
>
>> On a machine with a lot of CPUs this prints a lot of useless lines of the
>> form:
>>
>>    Cloning repo for thread <n>
>>
>> Adjust the output so that these all appear on one line, and disappear when
>> the cloning is complete.
>>
>> Note: This cloning is actually unnecessary and very wasteful on disk space
>> (about 3.5GB each time). It would be better to create symlinks.
>
> When do we actually need to clone?  Or why, even?

Each thread can check out a different commit. I think it might be
possible to put the checkout in a separate thread so it can avoid
contention. I'm not quite sure...

Regards,
Simon


More information about the U-Boot mailing list