[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 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.

I'm having a hard time seeing how this will make such a difference.

Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>



Reply to: