![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Ultimate Coffee Grinder
![]() Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,070
Ubuntu 8.10 Intrepid Ibex
|
HOWTO: Enable prelink
Prelink is in universe. I use it on my Ubuntu system without issues, but do google about Prelink and do your research before trying it out.
How to enable prelink: 1. Activate Ubuntu universe sources. The procedure is well-documented by Ubuntu. 2. use apt-get or synaptic to install prelink. 3. Open /etc/default/prelink with your favorite editor, as sudo/root. 4. Change PRELINKING=unknown from unknown to yes. 5. Adjust the other options if you know what the heck you're doing. Defaults work well. 6. To start the first prelink (the longest one!), run sudo /etc/cron.daily/prelink In the future, prelink performs a quick prelink (a less-than-1-minute procedure on most systems) daily, usually at midnight. Every 14 days, or whatever you changed it to be, a full prelink will run. If you just did a major apt-get upgrade that changed systemwide libraries (i.e. libc6, glibc, major gnome/X libs, etc etc etc) and experience cryptic errors about libs, rerun step 6. To undo prelink, change step 4 from yes to no, then rerun step 6. WARNING: An amd64 users in another thread (http://ubuntuforums.org/showpost.php...3&postcount=16) reports having experienced trouble with AMD64 prelinking. I have NOT tried prelinking on anything other than an i386! Last edited by jdong; April 15th, 2005 at 08:49 PM.. |
|
|
|
|
|
#2 |
|
Quad Shot of Ubuntu
![]() Join Date: Oct 2004
Location: Phoenix
Beans: 437
|
Re: HOWTO: Enable prelink
Man, I was looking for this link the longest. Good stuff.
|
|
|
|
|
|
#3 |
|
Way Too Much Ubuntu
![]() Join Date: Jan 2005
Beans: 210
|
Re: HOWTO: Enable prelink
Cool, that seems to work, a few executables and libraries seem to have been updated. But how much of a performance boost is this, and how can it be measured ?
|
|
|
|
|
|
#4 |
|
Ubuntu Rocks
![]() |
Re: HOWTO: Enable prelink
Great how-to.
Thanks |
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() |
Re: HOWTO: Enable prelink
Cool, I learn something new everyday. Thanks for the Howto.
__________________
There's no place like /Gnome. Apt-Get Remove Windows. |
|
|
|
|
|
#6 | |
|
Skinny Extra Sweet Ubuntu
![]() Join Date: Feb 2005
My beans are hidden!
|
Re: HOWTO: Enable prelink
Quote:
Can I use my PC on this period? |
|
|
|
|
|
|
#7 | |
|
Chocolate-Covered Ubuntu Beans
![]() |
Quote:
- You can easily still use your computer.
__________________
Everybody can be great because everybody can serve. You only need a heart of grace. A soul generated by love. - Martin Luther King, Jr. Help A Child Today
|
|
|
|
|
|
|
#8 | |
|
Skinny Extra Sweet Ubuntu
![]() Join Date: Feb 2005
My beans are hidden!
|
Re: HOWTO: Enable prelink
Quote:
|
|
|
|
|
|
|
#9 | |
|
Chocolate-Covered Ubuntu Beans
![]() |
Quote:
# sudo nice -15 prelink -Rmvaf
__________________
Everybody can be great because everybody can serve. You only need a heart of grace. A soul generated by love. - Martin Luther King, Jr. Help A Child Today
|
|
|
|
|
|
|
#10 |
|
Ultimate Coffee Grinder
![]() Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,070
Ubuntu 8.10 Intrepid Ibex
|
Re: HOWTO: Enable prelink
the cron scripted prelink is more Debian oriented. At heart, it certainly calls the command you mentioned. However, it redirects output to a logfile in /var/log, allows incremental prelinking, and performs more "civilized" goodies.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|