[Gllug] Sluggishness and confusion

Nix nix at esperi.org.uk
Sun Feb 13 15:14:18 UTC 2005


On Thu, 10 Feb 2005, Pete Ryland spake:
> On Mon, Feb 07, 2005 at 10:38:22PM +0000, Nix wrote:
>> On Mon, 7 Feb 2005, Nick Richards prattled cheerily:
>> > Cool, thanks for the explanation/difference thing, it was instructive!
>> 
>> The prelink paper at <http://people.redhat.com/jakub/prelink.pdf> is
>> fascinating for the sheer number of hoops it has to jump through to do
>> this job. (Not as fascinating as the valgrind paper, though. *That* is
>> mind-boggling.)
> 
> This approach is not effective for KDE any more.  Apparently, "this is no
> longer the case because newer runtime linkers perform much better in that
> respect." [http://objprelink.sourceforge.net/]

This project was the inspiration for prelink. It's dead now. It did
*not* do the same thing as prelink, despite the similarity of
names. objprelink was a purely link-time hack: prelink is a combination
of a binary edit to eliminate most relocations and a modified dynamic
linker (the one in glibc-2.3.x) that doesn't bother trying to do
non-conflict relocations unless the prelink info is outdated.

The `newer runtime linkers' are, er, the one in glibc-2.3.x; but in
order to make it `perform much better' you need to run prelink.

(Oh, and `export KDE_IS_PRELINKED=1' to stop KDE from messing around
so much with kdeinit anymore.)

-- 
Synapsids unite! You have nothing to lose but your eggshells!
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list