prelink: is it worth it?

yersinia yersinia.spiros at gmail.com
Fri Jul 10 21:29:43 UTC 2009


On Fri, Jul 10, 2009 at 10:14 AM, Jakub Jelinek <jakub at redhat.com> wrote:

> On Fri, Jul 10, 2009 at 09:08:49AM +0100, Ron Yorston wrote:
> > Jakub Jelinek <jakub at redhat.com> wrote:
> > >Also, while prelink process has been fairly expensive some years ago, it
> is
> > >much faster these days; if you haven't installed any rpms in the last
> day,
> > >most of the days the cron job will just quit, if you have installed
> some,
> > >for libraries/binaries that don't need reprelinking it will just do a
> quick
> > >stat and nothing else, and even a full prelink takes just a minute or
> two.
> >
> > So what got faster, prelink or hardware?
> >
> > My experience, some years ago, was that a full prelink took 35-40
> minutes.
> > Since I didn't see any visible difference in performance I added "turn
> off
> > prelink" to my list of things to do after installing Fedore.
>
> Both.  prelink's C++ optimizations used to be quite time consuming,
> that has been fixed, also there were changes to avoid reading all libraries
> and binaries, even when those haven't changed since last prelinking and
> don't need prelinking even now.
>

Ok. But prelink it or not a requisite for ASLR or not ? In other word,
besides performance
is disabling prelink a security matter or not ? It is not bad to have some
answer on this.

Regards

>
>        Jakub
>
> --
> fedora-devel-list mailing list
> fedora-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/devel/attachments/20090710/ab340597/attachment.html 


More information about the devel mailing list