[fedora-arm] Include prelink in fedora arm?

Kevin Fenzi kevin at scrye.com
Tue Sep 6 17:15:45 UTC 2011


On Tue, 6 Sep 2011 19:01:57 +0200
Jan Kratochvil <jan.kratochvil at redhat.com> wrote:

> On Tue, 06 Sep 2011 17:39:55 +0200, Gordan Bobic wrote:
> >  Can you elaborate as to why? My experience and measurements show
> > that prelink does more harm than good more offten than not. I can
> > think of a lot of reasons to not use it, and very few reasons to
> > use it.
> 
> It speeds up the program startup up to 50% (you can Google out various
> benchmarks).  As almost any performance feature it sure comes with
> more complexity of the ELF files handling.  The most easy ELF files
> processing would be with -O0 code - so why do we build the programs
> with -O2?

Citation needed? ;) All the benchmarks I have seen have been in the
10-15% range, and that only for packages that load a large number of
libraries at startup time. (openoffice, konqueror, etc). 

> Nowadays some people do not consider performance as anything to care
> about so in such case it is understandable they do not see a need for
> prelink.
> 
> It is true that if program is written in C it is usually fast enough.
> But specifically ARM may be the only popoular platform where I do not
> find the C programs fast enough, though.

Personally, I would consider prelink a 'ok, we have everything working
now, and we want to look at making it faster' instead of enabling it
before everything is working or building. 

kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/arm/attachments/20110906/8f548cb3/attachment-0001.bin 


More information about the arm mailing list