On Mon, May 08, 2017 at 12:11:54AM +0100, Ken Moffat wrote:
> On Sun, May 07, 2017 at 05:50:40PM -0500, Bruce Dubbs wrote:
> >
> > I can't think of any that you haven't mentioned. My question is why use a
> > new linker at all?
[...]
> > What am I missing?
> >
> >
> The many posts on development lists which have _claimed_ that it
> speeds up the build of random packages.
>
> Like you, I now think it is somewhat unlikely to make a lot of
> difference - but AFAICS nobody has produced any test results in
> recent times (a bit like the situation with ninja on cmake builds:
> that CAN improve a developer's experience (change one file, only
> the necessary files get rebuilt) but for us it doesn't seem to have
> any benefit.
>
First set of results, for firefox-53.0 with the patch for system
graphite2 and harfbuzz, using -j4 on LFS-svn-20170531.
The builds and DESTDIRs both total 4.9G according to du -sch, but
the gold builds themselves are 4.9G (bfs 4.8G) so marginally bigger
- DESTDIRS all 95 MB.
Timings (I time to 3 digits of a second, but I don't expect the
results to be consistent to that sort of accuracy). For runs 1 and
3 with bfd I was using another term and firefox to edit other
scripts, but I have 8 cores total (hyperthreading) and lots of free
RAM.
ld.bfd ld.gold
run 1 1413.809s 16.2 SBU 1332.698s 15.3 SBU
run 2 1318,971s 15.1 SBU 1339.608s 15.3 SBU
run 3 1390.839s 15.9 SBU 1296.138s 14.8 SBU
I suspect those are too *few* runs to provide meaningful averages
(and I would probably have to leave the machine totally idle in case
using another term really is upsetting things). At this point, all
I can say is that ld.gold appears to be marginally faster - if you
have built it AND have a slower machine, perhaps it does help.
But in general, the benefits appear to be "not proven", even without
taking account of the times that building with gold breaks.
I'll now attempt to build the (minimal) deps for webkitgtk, then
maybe I'll run that 5 times on an idle machine. Heh, at least I'm
not trying to do this on my A10 like I originally planned (that is
somewhat slower).
ĸen
--
I live in a city. I know sparrows from starlings. After that
everything is a duck as far as I'm concerned. -- Monstrous Regiment
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page