[PATCH v2 0/6] Improve make and make check parallelism

DJ Delorie dj@redhat.com
Tue Jun 16 21:15:30 GMT 2026


Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> writes:
> That interesting, do you mean to sort by the number of files within
> the subfolder, or use the file size as a proxy? 

I sort by compile time.  File size is a proxy for that.  The start of
this was libiberty, which had three huge files and dozens of tiny ones.
The build invariably scheduled the tiny ones first, in parallel, and
ended up waiting for one huge one to finish.  Starting the huge ones
first typically meant the build time was reduced to the longest single
compile time, and it did the short compiles while it was waiting for
that one.



More information about the Libc-alpha mailing list