Pinterest Stumbleupon Whatsapp
Ads by Google

You’ve installed Ubuntu on your PC. Perhaps you’re a long-term Linux user, or you’ve just swapped from Windows. Either way, you’ve noticed that things could be faster.

Don’t worry – here are five ways you can tweak Ubuntu to speed things up!

Show Hidden Startup Applications

Software that is configured to run at system startup can slow things down incredibly, whether you’re using Linux, Windows or OS X. Or even Android.

Ubuntu users can fix slow startups by opening the Startup Applications screen, but on first glance you’ll notice that things are a little sparse. To prevent mistakes, the majority of startup applications are hidden, but you can tweak this by opening the Terminal and entering:

sudo sed -i 's/NoDisplay=true/NoDisplay=false/g­' /etc/xdg/autostart/*.desktop

You should then see a refreshed list of startup apps. Take care with apps you reconfigure here, however, as changing some items can result in system stability issues.

muo-linux-ubuntu-speed-startup

Ads by Google

The best thing to do is stay away from system items or anything that was preinstalled, and only adjust those that you have installed and don’t want to slow down your system startup. We previously looked at Startup Applications when Danny gave you four ways to speed up Linux 4 Ways to Speed Up Your Linux PC 4 Ways to Speed Up Your Linux PC Is your Linux setup not as speedy as you'd like? Here's how to speed it up. Read More — worth a read for some additional ideas.

Fix Bugs That Slow You Down

This might seem both vague and obvious, but if you stay up to date with conversations online about the latest releases, you’ll be able to spot problems that other users are having. If these chime with issues you’ve also experienced, you’ll be able to take action.

For instance, the File Browser Panel can slow things down, so it is worth toggling its status to see if disabling will improve performance.

muo-linux-ubuntu-speed-gedit-plugins

Do this by opening gedit, then open Edit > Preferences and switch to the Plugins tab. Here, you should scroll through to find File Browser Panel and uncheck it, clicking Close to finish.

Install Adaptive Readahead (Preload) Daemon

Another great way to speed things up is to teach Ubuntu what you use often, so that the operating system loads apps in advance. You can do this using the Adaptive Readahead Daemon, which will identify the apps you use the most.

muo-linux-ubuntu-speed-readahead

Just open the Software Manager (one of several ways of finding new apps on Linux The Linux User's Toolkit for Discovering New Apps The Linux User's Toolkit for Discovering New Apps Installing Linux is like checking into an all-inclusive resort. Hardware works perfectly, and you get an impressive selection of pre-installed software. But what if you want to try out some new Linux software? Read More ), search for “preload” and install the app.

One obvious beneficiary of preloading will be your browser. If you’re not convinced by how much of a change preloading will make, check how long it takes to open the browser after booting your PC, then install the daemon, and load the browser again. It should open 50-75% quicker.

(Note that this tool may not work in Ubuntu 14.04 LTS.)

Change Swappiness Value

Huh?!

Okay, if you installed Ubuntu with a swap partition, this is intended to help your system manage memory, which is especially useful if your PC doesn’t have much RAM installed How To Upgrade Your Laptop In a Flash: Add a New Hard Drive & Increase RAM How To Upgrade Your Laptop In a Flash: Add a New Hard Drive & Increase RAM Laptops are not as easy to upgrade as desktops. Many components are simply soldered on to the motherboard and others, though technically replaceable, are restricted by technical skill and cost. There are, however, two upgrades... Read More .

The swappiness value determines how much data is written to the virtual memory on the hard disk drive, which can slow your system down. Begin by opening a Terminal and entering:

cat /proc/sys/vm/swappiness

The default swappiness value in Ubuntu is 60.

Next, open the /etc/sysctl.conf file in a text editor:

gedit /etc/sysctl.conf

Scroll to the bottom and add the following parameter (and the associated note as a reminder):

# Decrease swappiness value
vm.swappiness=10

With this done, save the file. Unusually for Linux, you’ll also need to restart the computer. Once booted up again, confirm the swappiness value has changed. Less data will now be written to the virtual drive, but keep in mind that this is a tweak that is really only intended for older computers.

Upgrade Your Hardware

As with Windows, adding hardware to your Linux computer will improve performance.

laptop-ram

This might mean swapping your HDD for a newer model (or for a solid state drive) or adding RAM to your system. On a modern system, additional RAM will usually have a great impact than a new CPU, and is usually cheaper than a new HDD, so explore this option first. When it comes to a HDD, it’s worth considering an SSD as a faster replacement 7 Terms You Need to Know When Buying a New SSD 7 Terms You Need to Know When Buying a New SSD While SSD specifications may seem overly daunting at first, the truth is that these terms are quite simple to understand. Read More .

While a new CPU can also have a strong impact Hardcore Hardware Upgrades: How To Install Or Replace Your Own CPU Hardcore Hardware Upgrades: How To Install Or Replace Your Own CPU The processor remains one of the most important components in a modern computer. Upgrading it can provide significant benefits in certain games and applications, particularly if you are switching from a dual-core or quad-core model,... Read More , also consider upgrading your graphics card, ensuring you select a replacement that will run happily under Linux.

Of course, if you’re using a laptop, all of the above (including RAM, increasingly) will remain out of reach, leaving upgrades therefore unavailable.

How Do You Speed Up Ubuntu?

So, that’s our top five tips for speeding up your Ubuntu computer, some of which can be applied to non-Ubuntu-based distros. But what do YOU do to speed up your Ubuntu PC or laptop? Tell us your tips and tweaks in the comments.

  1. Wellington Torrejais da Silva
    May 18, 2016 at 5:20 pm

    Thanks!

  2. Naveen Dhiman
    May 2, 2016 at 10:12 am

    This is not a permanent solutions...You can edit sysctl.conf for permanent changes.

  3. Tim Baker
    October 30, 2015 at 5:15 pm

    sudo /usr/sbin/sysctl -w vm.swappiness=10

    no need to reboot o_O

    • N Nnm
      November 9, 2015 at 7:19 am

      Why is reboot not required? Is this an "on-the-fly" terminal command with immediate effect?

      • jaysurp
        January 25, 2016 at 6:49 pm

        Yes but you would need to retype this command every time you restart your pc

Leave a Reply

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