[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question regarding prelinking (was: (inc. note from dpkg developers) (was:Bug#XXXXXX: (far too many packages) needs rebuilt for prelinking))



On Friday 17 Jan 2003 10:22 am, Hamish Moffatt wrote:
> On Tue, Jan 14, 2003 at 02:30:57PM -0500, Jack Howarth wrote:
> > prelink is a program which modifies ELF shared libraries and ELF dynam-
> > ically linked binaries, so that the time which dynamic linker needs for
> > their relocation at startup significantly decreases  and  also  due  to
> > fewer  relocations the runtime memory consumption decreases too (espe-
> > cially number of unshareable pages).  Such  prelinking  information  is
> > only  used  if  all its dependant libraries have not changed since pre-
> > linking, otherwise programs are relocated normally.
>
> So Jack, can you give an example of a program where a significant amount
> of time is spent having the dynamic linker work out the correct linkage?
> ie a package that would benefit significantly from prelinking.

Konqueror has something like a 75% reduced startup time when prelinked (figure 
taken from various gentoo users and kde developers).

Tom



Reply to: