Speed Up your Linux

  • Prelinking

1. Activate Ubuntu universe sources. This can be done in Synaptic, or by editing the /etc/apt/sources.list file.
2. Use apt-get or synaptic to install prelink.
3. Now run:

sudo gedit /etc/default/prelink

4. Near the top of the file find PRELINKING=unknown and change unknown to yes.
5. Now you should start your first prelink, don’t worry it will be faster the next time, MUCH faster. Only the changes since your last prelink will be processed. To start the first prelink, run:

sudo /etc/cron.daily/prelink
  • Disabling Unwanted Services

Look Here to find unwanted services

  • Avahi

You just have to edit /etc/defaults/avahi and set that =1 to =0. If all goes well, it won’t run next boot.

  • Concurrency

If you’re using a dualcore machine, use concurrency mechanism. Edit /etc/init.d/rc and change CONCURRENCY=None to CONCURRENCY=shell

  • Boot Profiling

(1) At the bootup menu (GRUB), select your default kernel. You may need to press ESC to see this menu.

(2) Press e for edit.

(3) Choose the first line (it should start with “kernel”). Press e again.

(4) Move to the end of the line, then add the word profile. Press enter.

(5) Press b to boot.

(6) Let the system boot to the login screen, and wait for all disk activity to stop. Remember, during this one bootup, you’ve told Ubuntu to keep track of all disk activity going on, in order to build that list. Don’t be surprised if it’s significantly slower than your ordinary bootups — that’s why it’s not activated by default, remember?

(7) Reboot your system, and enjoy the results.

Advertisements

Leave a comment

Filed under Configuration, Linux, Tips, Ubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s