Announcing `gold-rebuild' - link your packages with gold now
Michal Nowak
mnowak at redhat.com
Wed Mar 10 13:30:16 UTC 2010
----- "Michal Nowak" <mnowak at redhat.com> wrote:
> ----- "Michal Nowak" <mnowak at redhat.com> wrote:
>
> > ----- "Jakub Jelinek" <jakub at redhat.com> wrote:
> >
> > > On Mon, Mar 08, 2010 at 09:24:29AM -0500, Frank Ch. Eigler wrote:
> > > > Michal Nowak <mnowak at redhat.com> writes:
> > > >
> > > > > Past months I spent investigating `gold' - the new GNU linker
> > > > > and how it now works with stock Fedora packages.
> > > > > [...]
> > > >
> > > > Do your scripts provide some evidence of exciting speedups with
> > > gold?
> > >
> > > Or slowdowns?
> >
> > ...
> > However now I am rebuilding Qt -
> > I believe this one will be far more telling since it's big (250 MB
> > in resulted RPMs), in C++ and my stock F-12 machine needed 2h to
> > finish the task when built with F-12 binutils.
>
> ld: CVS snapshot from date: 20100309
> Package: qt-4.5.3-7.fc12
> Time: 2:05:21
> Size: 258M
> Status: PASS
>
> ld: binutils-2.19.51.0.14-37.fc12 (likely, just a guess)
> Package: qt-4.5.3-7.fc12
> Time: 2:03:13
> Size: 255M
> Status: PASS
>
> Perhaps wrong example...
ld: binutils-2.19.51.0.14-37.fc12
gold: CVS snapshot from date: 20100309
Originaly I scheduled: "prelink openssl openssh ecryptfs-utils xcb-util gtk2
kdebase-workspace python perl ruby vlc glib2 glibc rhythmbox totem qt gcc
kernel firefox xulrunner thunderbird ImageMagick binutils" but some of them
failed to build so it's pointless to show 'how long they have run'. Plus I
forgot on qt in 'ld-run' but we know it runs ~2h already.
<-------time-------> <-------size------->
Package Name | ld gold ld gold
----------------------------+--------------------------------------------------
ecryptfs-utils-83-1 | 1:59.00 1:44.81 472K 480K
xcb-util-0.3.6-1 | 0:45.35 0:55.18 176K 176K
gtk2-2.18.4-1 | 5:48.15 7:58.26 17M 17M
perl-5.10.0-86 | 5:29.73 6:29.14 21M 21M
ruby-1.8.6.383-4 | 8:17.27 8:50.03 11M 11M
firefox-3.5.4-1 | 8:13.27 8:12.25 15M 15M
xulrunner-1.9.1.4-1 | 17:00.39 31:26.24 66M 67M
thunderbird-3.0-3.13.rc2 | 19:31.32 37:25.40 87M 88M
ImageMagick-6.5.4.7-3 | 6:53.47 7:06.74 9.5M 9.6M
----------------------------+--------------------------------------------------
Time in [ minute:second.fraction ] format. Size is human readable.
Apart from xulrunner and thunderbird where gold looses dozens percent, results
are comparable.
Michal
>
> Michal
> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
More information about the devel
mailing list