[Gllug] Apple

Daniel P. Berrange dan at berrange.com
Fri Jan 16 11:09:38 UTC 2004


On Fri, Jan 16, 2004 at 10:09:24AM +0000, Doug Winter wrote:
> On Fri 16 Jan Tethys wrote:
> > >You save about 40,000 relocations with OOo-1.1, and about half of the
> > >startup time. (Writable page count will fall considerably as well, but
> > >I've not had a look to see how much.)
> > 
> > Just curious... how can you do relocations in advance unelss you know
> > where it's going to be loaded (which presumably, you don't). Without a
> > Windows-like scheme where programs are linked to be loaded at a given
> > location (and hence only need relocation if that location is unavailable),
> > then I don't see how you can reduce load time relocations.
> 
> AIUI prelinking works exactly like that :)  Libraries are assigned a
> preferred address, and only relinked if those addresses are unavailable.

Jakub has written a pretty in depth technical account of just
how the whole prelinking think works. Its interesting reading...

  ftp://people.redhat.com/jakub/prelink/prelink.pdf

Dan.
-- 
|=-               http://www.berrange.com/~dan/gpgkey.txt             -=|
|=-   berrange at redhat.com  -  Daniel Berrange  -  dan at berrange.com    -=|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20040116/d8ed1d83/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list