Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Prelinking is GOOD!!!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
zeky
Guru
Guru


Joined: 24 Feb 2003
Posts: 470
Location: Vukojebina, Europe

PostPosted: Mon May 10, 2004 7:30 pm    Post subject: Prelinking is GOOD!!!! Reply with quote

...so USE it! 8)

Thank you :)
_________________
Beat your dick like it owes you money
Back to top
View user's profile Send private message
placeholder
Advocate
Advocate


Joined: 07 Feb 2004
Posts: 2500

PostPosted: Mon May 10, 2004 7:35 pm    Post subject: Reply with quote

I already use it. :p
Back to top
View user's profile Send private message
tehjap
n00b
n00b


Joined: 11 Jun 2003
Posts: 70
Location: MS

PostPosted: Mon May 10, 2004 7:37 pm    Post subject: Reply with quote

prelink is amazing. the difference isn't just a subtle one, it's waaay faster!
Back to top
View user's profile Send private message
ed0n
l33t
l33t


Joined: 23 Apr 2003
Posts: 638
Location: Prishtine/Kosove

PostPosted: Mon May 10, 2004 7:39 pm    Post subject: Reply with quote

prelink is not good.

Its _great_ ;).
Back to top
View user's profile Send private message
theCheat
n00b
n00b


Joined: 23 Oct 2003
Posts: 43
Location: Atlanta

PostPosted: Mon May 10, 2004 8:14 pm    Post subject: Reply with quote

What packages do you see the greatest speed increases with?
_________________
Join the unanswered post brigade!!
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Mon May 10, 2004 9:24 pm    Post subject: Reply with quote

Seriously, prelinkingmake O.o Writer load in just over 2 seconds, whereas it took like 10 seconds to load when I used FC1 on the same box a few months ago...

and X (Prelinking + X.org + 2.6.5-gentoo kernel) seems to load up way fast. (like it says "Loading entrranced..." and then the screen flickers for a split second, then the NVIDIA logo comes up (btw, is there a way to disable ti while still using their openGL drivers?), then the entrance screen comes upand I get to login to Enlightenment, which takes not even 5 seconds to fully load. Amazing stuff!
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
roo_
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2004
Posts: 91

PostPosted: Mon May 10, 2004 9:54 pm    Post subject: Reply with quote

codergeek42 wrote:
.. the NVIDIA logo comes up (btw, is there a way to disable ti while still using their openGL drivers?


https://forums.gentoo.org/viewtopic.php?t=49854
https://forums.gentoo.org/viewtopic.php?t=78911

Look out for the "NoLogo" options in the XF86Config listings in these threads :)
Back to top
View user's profile Send private message
MooktaKiNG
Guru
Guru


Joined: 11 Nov 2002
Posts: 326
Location: London, UK

PostPosted: Mon May 10, 2004 10:29 pm    Post subject: Reply with quote

prelinking has adramatic effect on KDE/QT apps. It is fantastic.
It takes a bit long for the first KDE app to start, then on the next app will come on nearly instantaniously. Which is fantastic becuase i start klipper in openbox, and that loads kde stuff and when i start kate or kwrite it starts instantly :D:D:D:D
_________________
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Back to top
View user's profile Send private message
zeroK
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 159
Location: Austria.Klagenfurt

PostPosted: Mon May 10, 2004 10:44 pm    Post subject: Reply with quote

Stupid question but when I update a library which previously has been prelinked into an app, will this app cease to work or will it just fallback into "shared mode"?
Back to top
View user's profile Send private message
zeky
Guru
Guru


Joined: 24 Feb 2003
Posts: 470
Location: Vukojebina, Europe

PostPosted: Mon May 10, 2004 10:49 pm    Post subject: Reply with quote

zeroK wrote:
Stupid question but when I update a library which previously has been prelinked into an app, will this app cease to work or will it just fallback into "shared mode"?


Just prelink the binaryes again and you'll be fine :wink:

From the doc...

Code:
 If an application's dependent libraries change after you have prelinked it, you need to re-prelink the application, otherwise you loose the speed advantage. This is to say, everytime you update a package via portage that updates libraries, they need to be re-prelinked.

_________________
Beat your dick like it owes you money
Back to top
View user's profile Send private message
HydroSan
l33t
l33t


Joined: 04 Mar 2004
Posts: 764
Location: The Kremlin (aka Canada)

PostPosted: Mon May 10, 2004 11:14 pm    Post subject: Reply with quote

I notice Mozilla, XINE and OpenOffice both open and seemingly operate a lot faster. NTPL 4 lyfe.
_________________
I was a Gangster for Capitalism, by Major General Smedley Butler.

Server status: Currently down, being replaced with fresh install - 20% completed.
Back to top
View user's profile Send private message
MooktaKiNG
Guru
Guru


Joined: 11 Nov 2002
Posts: 326
Location: London, UK

PostPosted: Mon May 10, 2004 11:34 pm    Post subject: Reply with quote

One thing though, does OOo binary work with prelink? or is it just the source?
_________________
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Tue May 11, 2004 2:07 am    Post subject: Reply with quote

Prelinking has not impressed me. Then again, I run GNOME (nearly all C, not C++), and I have a slow hard disk (4200RPM notebook disk) which allows the CPU to dynamically link to a library while loading the next into memory.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 834
Location: Somerville, MA

PostPosted: Tue May 11, 2004 2:51 am    Post subject: Reply with quote

I can never get prelinking to work. It always spits out tons of errors, and I have to change it back. :\
Back to top
View user's profile Send private message
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Tue May 11, 2004 3:16 am    Post subject: Reply with quote

Hypnos wrote:
Prelinking has not impressed me. Then again, I run GNOME (nearly all C, not C++), and I have a slow hard disk (4200RPM notebook disk) which allows the CPU to dynamically link to a library while loading the next into memory.

That explains why prelinking has not provided a huge difference on my notebook as well. :roll:

There is a little improvement in startup speed for me, but not huge.

So -- how does one reverse the prelinking process?
_________________
I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work.
Back to top
View user's profile Send private message
MooktaKiNG
Guru
Guru


Joined: 11 Nov 2002
Posts: 326
Location: London, UK

PostPosted: Tue May 11, 2004 3:17 am    Post subject: Reply with quote

Ian wrote:
I can never get prelinking to work. It always spits out tons of errors, and I have to change it back. :\


That doesn't mean its not working.
Not everything gets prelinked, who knows why, lost deps or whatever.
But everything will still work.
_________________
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Back to top
View user's profile Send private message
MooktaKiNG
Guru
Guru


Joined: 11 Nov 2002
Posts: 326
Location: London, UK

PostPosted: Tue May 11, 2004 3:20 am    Post subject: Reply with quote

I haven't had any problems with prelinking so far.

I don't see any reason to 'reverse' prelinking. I don't think many people would notice it if it were enable by default :D:D

I like prelinking, it speeds some apps up a lot.
But not everything. Thats no reason to stop using it though, becuase i have seen had anything being broken becuase of it, or i have ever heard of anyone had anything broken becuase of it.

but anyway, its upto the individuals :)
_________________
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Tue May 11, 2004 3:22 am    Post subject: Reply with quote

wilburpan wrote:
So -- how does one reverse the prelinking process?

prelink -uam
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Tue May 11, 2004 5:11 am    Post subject: Reply with quote

NickWasDeadOnAcid wrote:
codergeek42 wrote:
.. the NVIDIA logo comes up (btw, is there a way to disable ti while still using their openGL drivers?


https://forums.gentoo.org/viewtopic.php?t=49854
https://forums.gentoo.org/viewtopic.php?t=78911

Look out for the "NoLogo" options in the XF86Config listings in these threads :)
Perfect, thanx!

MooktaKiNG wrote:
One thing though, does OOo binary work with prelink? or is it just the source?
as prelinking deals with the binaries, you should not have to compile it from source (though I did) for it to be abel to prelink.
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
senectus
Guru
Guru


Joined: 17 Jul 2003
Posts: 534

PostPosted: Tue May 11, 2004 5:22 am    Post subject: Reply with quote

I hear said that it breaks WineX... :-(

I use WineX too much for me to break it..
_________________
2800+XP A7N8X FX6600GT
www.modmeup.net |
Belief is 9/10 of YOUR reality.
Wise man say: A skilled troll is a master baiter.
Back to top
View user's profile Send private message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 834
Location: Somerville, MA

PostPosted: Tue May 11, 2004 7:56 pm    Post subject: Reply with quote

Just out of curiosity, is it possible to set the ebuilds to prelink their compiled programs at the end? I know it's hard to merge into every ebuild, but maybe just add it in as ebuilds are updated? Hell, you could even control it with a USE flag (USE="prelink"). It's a neat idea, not sure how easy it is to do though.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum