Thursday, February 16, 2012

Ubuntu Performance Tweaks

To make your UBUNTU faster, here are some things which you could try:

1. User PRELOAD: Preload applications in memory - the next time you run the same app, it'll open faster:


# sudo apt-get install preload


2. Use ZRAM


# sudo add-apt-repository ppa:shnatsel/zram

# sudo apt-get update

# sudo apt-get install zramswap-enabler


3. Increase Swappiness

# sudo vim /etc/sysctl.conf

Edit:

"vm.swappiness=10"


4. Remove some unneccessary TTY’s

# sudo vim /etc/default/console-setup


Edit:

ACTIVE_CONSOLES="/dev/tty[1-3]"


5. Get rid of kinit if you don’t use hibernate and sleep functions

# sudo vim /etc/initramfs-tools/conf.d/resume

Edit:
Comment (Put # in front of) RESUME=XXX...

6. Use "apt-fast"

Apt-fast is a simple command line utility that can make installation and upgrading of softwares in Ubuntu/Debian much faster.

Apt-fast make use of Axel app which accelerates HTTP/FTP downloads by using multiple sources for one file. Author claims that, apt-fast could make your installations and upgrades up to 26x faster! Do the following in Terminal to install it.


# sudo add-apt-repository ppa:tldm217/tahutek.net

# sudo apt-get update

# sudo apt-get install apt-fast


Close and re-open terminal once again and try to use 'apt-fast' instead of 'apt-get'. You will

see the difference.

No comments :

Post a Comment