9 Killer Tips To Speed Up Ubuntu 16.04 and 14.04

Tips to make Ubuntu FasterBrief: Some practical tips to speed up Ubuntu Linux. Tips here are valid for most versions of Ubuntu and can also be applied in Linux Mint and other Ubuntu based distributions.

You might have experienced that after using Ubuntu for some times, the system starts running slow. In this article we shall see several tweaks and tips to make Ubuntu run faster.

Before we see how to improve overall system performance in Ubuntu, first lets ponder on why the system gets slower overtime. There could be several reasons for it. You may have a humble computer with basic configuration. You might have installed several applications which are eating up resources at boot time. Endless reasons in fact.

Here I have listed several small tweaks that will help you speed up Ubuntu a little. There are some best practices as well which you can employ to get a smoother and improved system performance. You can choose to follow all or some of it. All of them adds up a little to give you a smoother, quicker and faster Ubuntu.

Tips to make Ubuntu run faster:

I have used these tweaks with an older version of Ubuntu but I believe that the same can be used in other Ubuntu versions as well as other Linux distributions which are based on Ubuntu such as Linux Mint, Elementary OS Luna etc.

1. Reduce the default grub load time:

The grub gives you 10 seconds to change between dual boot OS or to go in recovery etc. To me, its too much. It also means you will have to sit beside your computer and press the enter key to boot in to Ubuntu as soon as possible. A little time taking, ain’t it? First trick would be to change this boot time. If you are more comfortable with a GUI tool, read this article to change grub time and boot order with Grub Customizer.

For the rest of us, you can simply use the following command to open grub configuration:

sudo gedit /etc/default/grub &

And change GRUB_TIMEOUT=10 to GRUB_TIMEOUT=2. This will change the boot time to 2 seconds. Prefer not to put 0 here as you will lost the privilege to change between OS and recovery options. Once you have changed the grub configuration, use the following command to make the change count:

sudo update-grub

2. Manage start up applications:

Overtime you tend to start installing applications. If you are a regular It’s FOSS reader, you might have installed many apps from App of the week series. Some of these apps are started at each start up and of course resources will be busy in running these applications. Result: a slow computer for a significant time duration at each boot. Go in Unity Dash and look for Startup Applications:

start up application Ubuntu 13.10In here, look at what applications are loaded at start up. Now think if you there are any applications which you don’t require to be started up every time you boot in to Ubuntu. Feel free to remove them:

change start up applications Ubuntu 13.10But what if you don’t want to remove the applications from start up? For example if you installed one of the best indicator applets for Ubuntu 13.10, you will want them to be started automatically at each boot. What you can do here is to delay some the start of some of the programs. This way you will free up the resource at boot time and your applications will be started automatically, after sometime. In the previous picture click on Edit and change the run command with a sleep option. For example if you want to delay the running of Dropbox indicator for lets say 20 seconds, you just need to add a command like this in the existing command:

sleep 10;

So, the command ‘dropbox start -i‘ changes to ‘sleep 20; drobox start -i‘. Which means that now Drobox will start with a 20 seconds delay. You can change the start time of other start up applications in similar fashion.

Edit start up applications to make Ubuntu 13.10 run faster

3. Install preload to speed up application load time:

Preload is a daemon that runs in background and analyzes user behavior and frequently run applications. Open a terminal and use the following command to install preload:

sudo apt-get install preload

After installing it, restart your computer and forget about it. It will be working in background. Read more about preload.

4. Choose the best mirror for software updates:

It’s good to verify that you are using the best mirror to update the software. Ubuntu software repository are mirrored across the globe and it is quite advisable to use the one which is nearest to you. This will result in a quicker system update as it reduces the time to get the packages from the server.

In Software & Updates->Ubuntu Software tab->Download From choose Other and there after click on Select Best Server:

Change mirrors to speed up Ubuntu 13.10It will run a test and tell you which is the best mirror for you. Normally, the best mirror is already set but as I said, no harm in verifying it. Also, this may result in some delay in getting the updates if the nearest mirror where the repository is cached is not updated frequently. This is useful for people with relatively slower internet connection. You can also these tips to speed up wifi speed in Ubuntu.

5. Use apt-fast instead of apt-get for a speedy update:

apt-fast is a shellscript wrapper for “apt-get” that improves updated and package download speed by downloading packages from multiple connection simultaneously. If you frequently use terminal and apt-get to install and update the packages, you may want to give apt-fast a try. Install apt-fast via official PPA using the following commands:

sudo add-apt-repository ppa:apt-fast/stable
sudo apt-get update
sudo apt-get install apt-fast

6. Remove language related ign from apt-get update:

Have you ever noticed the output of sudo apt-get update? There are three kind of lines in it, hit, ign and get. You can read their meaning here. If you look at IGN lines, you will find that most of them are related to language translation. If you use all the applications, packages in English, there is absolutely no need of a translation of package database from English to English.

If you suppress this language related updates from apt-get, it will slightly increase the apt-get update speed. To do that, open the following file:

sudo gedit /etc/apt/apt.conf.d/00aptitude

And add the following line at the end of this file:

Acquire::Languages "none";

speed up apt get update in Ubuntu7. Reduce overheating:

Overheating is a common problem in computers these days. An overheated computer runs quite slow. It takes ages to open a program when your CPU fan is running like Usain Bolt. There are two tools which you can use to reduce overheating and thus get a better system performance in Ubuntu 13.10, TLP and CPUFREQ.

To install and use TLP, use the following commands in a terminal:

sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw
sudo tlp start

You don’t need to do anything after installing TLP. It works in background. To install CPUFREQ indicator use the following command:

sudo apt-get install indicator-cpufreq

Restart your computer and use the Powersave mode in it:

CPUFREQ Indicator Applet

Suggested read
Most Effective Ways To Reduce Laptop Overheating In Linux

8. Tweak LibreOffice to make it faster:

If you are a frequent user of office product, then you may want to tweak the default LibreOffice a bit to make it faster. You will be tweaking memory option here. Open LibreOffice and go to Tools->Options. In there, choose Memory from left side bar and enable Systray Quickstarter along with increasing memory allocation.

Improve Libre Office performanceYou can read more about how to speed up LibreOffice in detail.

9. Use lighter alternatives of different applications:

This is more of a suggestion and liking. Some of the default or popular applications are resource heavy and may not be suitable for a low end computer. What you can do is to use some alternates to these applications. For example, use AppGrid instead of Ubuntu Software Center. Use Gdebi to install packages. Use AbiWord instead of LibreOffice Writer etc.

Suggested read
9 Lightweight Linux Applications to Speed Up Your System

That’s conclude the collection of tips to make Ubuntu 14.04 faster. I am sure these tips would provide overall a better system performance. Do you have some tricks up your sleeves as well to speed up Ubuntu 14.04? Did these tips helped you as well? Do share your views. Questions, suggestions are always welcomed. Feel free to drop to the comment section.

Comments

  1. Just a note about LibreOffice – by far the biggest drag on its performance is the Java Runtime Environment JRE – in the base launcher or Writer: Tools > Options > Advanced, “Use a Java runtime environment” at the upper left – UNCHECK it. The difference is notable when restarted. The only functionality is for LO templates, which most users don’t use. I keep hoping LO will get rid of Java one day.

  2. Brief: Some practical tips to speed up Ubuntu Linux. Tips here are valid for most versions of Ubuntu and can also be applied in Linux Mint and other Ubuntu based distributions.

    Another excellent Speed-up-your-Ubuntu/Mint site is “Easy Linux tips project Speed up your Mint!”, https://sites.google.com/site/easylinuxtipsproject/3
    The MATE and Cinnamon suggestions for Mint at this Speed up your Mint! site are just as valid for Ubuntu, now that Ubuntu is moving away from its default Unity desktop environment to GNOME

  3. Ok, *deep breath*

    You write an article claiming to speed up an installation of ubuntu.

    But… you wrote an article about:
    a) how to decrease or *delay* the impact of rebooting

    How often do you reboot your computer? Ten times a day? My laptop has a current uptime of 5 days, my workstation 19 days and my server 42 days.

    b) Alleviating thermal throttling by manual throttling

    Look… you can’t see anything wrong with that part? If your laptop/workstation is thermal throttling, then either there’s something wrong with the cooling of the machine – or – something is keeping it at 100% CPU/GPU for extended periods of time. You should be looking for an actual problem (like crypto-malware) not throttling the CPU to work around a throttled CPU.

    I’m sorry, but this is not the first time I read an “itsfoss” article that isn’t worth the electric ink it’s written in. And here end my efforts of keeping a balance between this “subscription” and my sanity.

    You just lost a reader due to complete lack of quality control, drivel and click-bait journalism.

    Best,
    Thor.

    • I agree this article was incorrectly named. I also think the throttling should be a separate article with proper explanation.

      But I disagree that using it is wrong. There are 100s of things that could cause excessive CPU usage, and finding the cause can take hours. Not everyone has time to spend endlessly fixing their set up. Linux distros will never take ground from Windows on a serious level until there are options for those who want a more set and forget OS (because an OS should not be the project in itself, unless you build them).

Leave a Reply

Your email address will not be published. Required fields are marked *

[i]
[i]