All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Build time increase in 2018.02
@ 2018-03-10  1:14 Trent Piepho
  2018-03-10 11:32 ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: Trent Piepho @ 2018-03-10  1:14 UTC (permalink / raw)
  To: buildroot

We've seen a big increase in build time with the latest buildroot.  On
a vpshere instance, times have gone up from 45 minutes to 180+ minutes.
 I think there are some issues with poor vm performance that can be
addressed outside of buildroot, but even on a real Linux workstation,
there's been a significant increase in time.

Here's a breakdown of build time by task for a build that takes 26.5
minutes.  ccache is in use and is quite effectively decreasing the
compile time.  I've split out all the instrumentation steps so they can
be accounted separately from the rest of host-install, etc.  In this
list, host-install only includes the time spent executing the install
commands, not instrumentation or pre/post-hooks.

step_pkg_size        831.17
configure            441.77
build                149.56
extract               40.28
host-install          31.96
all other             27.78
check_host_rpath      20.86
check_bin_arch        20.77
target-install        19.84
stage-install         13.25

Finding the package sizes takes more time than everything else put
together.  And indeed, if I remove that step, check_bin_arch, and fake
out check-uniq-files, the build drops from 26.5 minutes to 12 minutes!

If we consider config+buid+extract+*-install to be the actual package
building and the rest overhead, then the build is about %56 overhead
and %44 building.  And most of the building time is (re-)running
autoconf scripts.

On the vsphere instance, the time is much much worse.  I'm still
waiting for numbers.  It takes hours.  I think the lousy vm filesystem
performance magnifies the problem.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-03-13 19:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-10  1:14 [Buildroot] Build time increase in 2018.02 Trent Piepho
2018-03-10 11:32 ` Peter Korsgaard
2018-03-12 18:27   ` Trent Piepho
2018-03-12 18:53     ` Peter Korsgaard
2018-03-12 20:08     ` Yann E. MORIN
2018-03-13 19:09       ` Trent Piepho

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.