Page 1 of 7 123 ... LastLast
Results 1 to 10 of 64

Thread: HOWTO: Enable prelink

  1. #1
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    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 16th, 2005 at 01:49 AM.

  2. #2
    Join Date
    Oct 2004
    Location
    Phoenix
    Beans
    437

    Re: HOWTO: Enable prelink

    Man, I was looking for this link the longest. Good stuff.

  3. #3
    Join Date
    Jan 2005
    Beans
    199

    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. #4
    Join Date
    Dec 2004
    Location
    Utah, USA
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: HOWTO: Enable prelink

    Great how-to.
    Thanks

  5. #5
    Join Date
    Oct 2004
    Beans
    3

    Re: HOWTO: Enable prelink

    Cool, I learn something new everyday. Thanks for the Howto.

  6. #6
    Join Date
    Feb 2005
    Beans
    Hidden!

    Re: HOWTO: Enable prelink

    Quote Originally Posted by Rene_S
    Cool, I learn something new everyday. Thanks for the Howto.
    How many hours would prelinking last on a 15gb drive?40gb?
    Can I use my PC on this period?

  7. #7
    Join Date
    Oct 2004
    Location
    33.4N -112.1W
    Beans
    2,502
    Distro
    Ubuntu Budgie
    Quote Originally Posted by bored2k
    How many hours would prelinking last on a 15gb drive?40gb?
    Can I use my PC on this period?
    - It took me under 5 min on a 15GB partition with my AthonXP 3200.
    - You can easily still use your computer.
    /path/to/Truth

  8. #8
    Join Date
    Feb 2005
    Beans
    Hidden!

    Re: HOWTO: Enable prelink

    Quote Originally Posted by Xian
    - It took me under 5 min on a 15GB partition with my AthonXP 3200.
    - You can easily still use your computer.
    thanks, I was a little scared as I basically eat off it and my communication with the world outside my parking lot lies on Noir -thats her name...pretty sexy.

  9. #9
    Join Date
    Oct 2004
    Location
    33.4N -112.1W
    Beans
    2,502
    Distro
    Ubuntu Budgie
    Quote Originally Posted by jdong
    To start the first prelink (the longest one!), run sudo /etc/cron.daily/prelink
    What it the difference between running this and issuing the command?:

    # sudo nice -15 prelink -Rmvaf
    /path/to/Truth

  10. #10
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    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.
    Quote Originally Posted by tuxradar
    Linux's audio architecture is more like the layers of the Earth's crust than the network model, with lower levels occasionally erupting on to the surface, causing confusion and distress, and upper layers moving to displace the underlying technology that was originally hidden

Page 1 of 7 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •