[Buildroot] [PATCH next v4 0/6] Per-package host/target directory support

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Nov 15 14:37:10 UTC 2018


On Wed, 14 Nov 2018 11:55:51 +0100, Thomas Petazzoni wrote:

> Here is a fourth iteration of the per-package SDK and target directory
> implementation.

FYI, I did a test build of some given configuration (randomly chosen),
in the following situations, which provided the following results

 - Per-package folder support disabled

real    5m11.261s
user    8m58.011s
sys     1m54.650s

 - Per-package folder support enabled, sequential build

real    5m15.744s
user    9m4.848s
sys     1m55.885s

 - Per-package folder support enabled, parallel build

real    4m17.059s
user    9m55.024s
sys     2m2.344s

So, there is a small performance hit in doing all the rsyncs needed for
per-package folders: 4.5 seconds on a build of ~5 minutes.

However, this performance hit is largely compensated by the parallelism
of the build. It is worth mentioning that this specific configuration
only lead to a small amount of parallelism, as can be seen in the
attached PDF files.

Best regards,

Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-parallel.pdf
Type: application/pdf
Size: 17122 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181115/57d59566/attachment-0004.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parallel.pdf
Type: application/pdf
Size: 16636 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181115/57d59566/attachment-0005.pdf>

More information about the buildroot mailing list