Hi everyone, I was curious if anyone here has tried the prelink utility (see http://www.rpmfind.net/linux/RPM/rawhide/1.0/i386//RedHat/RPMS//prelink-0.1.... Bero of RedHat Europe mentioned this over on KDE Dot News today. Thanks, Tim -- ----------------------------------------------------------------- Timothy R. Butler Universal Networks tbutler@uninetsolutions.com ICQ #12495932 AIM: Uninettm Free/Open Source Web Tools: http://www.uninetsolutions.com Christian Portal and Search Tool: http://www.faithtree.com ============== "Christian Web Services Since 1996" ==============
I was curious if anyone here has tried the prelink utility (see http://www.rpmfind.net/linux/RPM/rawhide/1.0/i386//RedHat/RPMS//prelink-0.1 .3-2.i386.html)? Bero of RedHat Europe mentioned this over on KDE Dot News today.
I was planning on doing it last night, but faced with a gcc upgrade, a binutils upgrade and several hours recompile time I figured it probably wasn't worth it. I note that several of the key developers and testers for this code are using SuSE-7.2 and claim it works fine, so, maybe... :)
Hi Derek,
I was planning on doing it last night, but faced with a gcc upgrade, a binutils upgrade and several hours recompile time I figured it probably wasn't worth it.
I note that several of the key developers and testers for this code are using SuSE-7.2 and claim it works fine, so, maybe... :)
Hmm... I'm still trying to grasp exactly what this involves. You mention recompile time... do you know if that would be done automatically by prelinker? It sounds rather enticing, I would love to have my programs start faster, especially things like Konqi that would benefit substantially from prelinking. Thanks, Tim -- ----------------------------------------------------------------- Timothy R. Butler Universal Networks tbutler@uninetsolutions.com ICQ #12495932 AIM: Uninettm Free/Open Source Web Tools: http://www.uninetsolutions.com Christian Portal and Search Tool: http://www.faithtree.com ============== "Christian Web Services Since 1996" ==============
Hmm... I'm still trying to grasp exactly what this involves. You mention recompile time... do you know if that would be done automatically by prelinker?
There's a good little HOWTO here: http://www.research.att.com/~leonb/objprelink/ As it describes, you compile up your .o files for the whole of KDE, then run the little program on them. It massages the binaries replacing calls to external library routines with local stubs, then points the local stub to the external library routine. Instead of doing one external library link per *function call*, it does one external library link per *function*.
It sounds rather enticing, I would love to have my programs start faster, especially things like Konqi that would benefit substantially from prelinking.
The author claims Konqueror starts 50% faster and believes that the bottleneck is now his disks. If you have a lot of memory which will allow Konqueror and it's libraries to sit in the Linux cache it'll start *very* quickly. It's developments like this, being done in public, which give me that warm feeling only open source can give... :) Seeing as SuSE is known to be a platform this works on, I hope the KDE guys there will provide at least experimental RPMs which will allow people to benefit from this even if KDE themselves decide it has to wait for 2.2.1.
participants (2)
-
Derek Fountain
-
Timothy R.Butler