View previous topic :: View next topic |
Author |
Message |
Sith_Happens Veteran
Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Tue Dec 21, 2004 5:33 pm Post subject: Prelinking KDE not working |
|
|
I'm trying to use prelink to speed up KDE's loading time. I ran prelink and it worked fine, then I edited /etc/env.d/99kde-env so that the variable KDE_IS_PRELINKED="true" (I also tried to set this variable equal to 1, which if I remeber my programming is equivilent, but I thought I'd give it a try). Then I rebooted and started kde, but it didn't run faster, it actually seemed to run slower (performance hit could just be my imagination). The Gentoo prelink how-to said that once you inform KDE that it is prelinked, it will no longer load kdeinit, so I checked the running processes and sure enough kdeinit was running, whic leads me to belive that KDE doesn't know it's prelinked. If anyone could offer help I'd appreciate it, cause I'm trying to squeeze every ounce of performance out of my machine. |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Tue Dec 21, 2004 11:55 pm Post subject: |
|
|
Do you have the 'pic' USE flag set?
Was it set when you compiled KDE?
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
fatboyjim Apprentice
Joined: 12 Jul 2004 Posts: 227 Location: UK
|
Posted: Wed Dec 22, 2004 12:00 am Post subject: |
|
|
hmmm, I don't have this set, I see it's necessary for prelinking...
Should I set it and do emerge -e world and then prelink again?
Cheers
Jim _________________ -----------------------
fatboyjim
Gentoo/AMD64 Arch Tester (Inactive) |
|
Back to top |
|
|
snafoo n00b
Joined: 22 Jan 2003 Posts: 39
|
Posted: Wed Dec 22, 2004 4:32 am Post subject: |
|
|
well i'm pretty sure ive got prelinking working over here. pic is in my use flags and i set kdeenv up as required. im using my own kde cvs ebuilds (updated today) and this is the first time ive noticed improvement, and ive been trying to prelink for a while. now on a cold boot it goes from command line to desktop in under 6 seconds.
good luck! |
|
Back to top |
|
|
codemaker Guru
Joined: 03 Jun 2004 Posts: 398 Location: Lisboa, Portugal
|
Posted: Wed Dec 22, 2004 10:23 am Post subject: |
|
|
fatboyjim wrote: | hmmm, I don't have this set, I see it's necessary for prelinking...
Should I set it and do emerge -e world and then prelink again?
Cheers
Jim |
Wouldn't emerge --newuse <insert kde packages here> be suficient? |
|
Back to top |
|
|
fatboyjim Apprentice
Joined: 12 Jul 2004 Posts: 227 Location: UK
|
Posted: Wed Dec 22, 2004 12:14 pm Post subject: |
|
|
Well, I guess so, but what about the other packages that were compiled without the pic USE flag? Will they prelink?
Jim _________________ -----------------------
fatboyjim
Gentoo/AMD64 Arch Tester (Inactive) |
|
Back to top |
|
|
codemaker Guru
Joined: 03 Jun 2004 Posts: 398 Location: Lisboa, Portugal
|
Posted: Wed Dec 22, 2004 1:16 pm Post subject: |
|
|
fatboyjim wrote: | Well, I guess so, but what about the other packages that were compiled without the pic USE flag? Will they prelink?
Jim |
I guess not. you probably need to reemerge with the new use flags all the packages you want to prelink. |
|
Back to top |
|
|
|