Tips on how to speed up your ubuntu system

Ubuntu is already fast, especially if you’re switching from Windows to Linux. You may have heard, though, that there are faster distributions available. Why is Ubuntu taking longer to respond than other operating systems? Is there anything you could do to help it? Yes, it is correct. If your Ubuntu system is getting “slow,” there are a few things you can do to speed it up.

Manage Startup Applications

The first thing you can do is reduce the number of applications that launch automatically when you turn on your computer. This step will shorten the time it takes for your computer to boot since it frees up RAM that may be used by other applications when it has finished booting.

To prevent specific applications from launching at boot, look in two areas. Start by typing Startup into the Dash. This will open the Startup Applications utility, which allows you to add, remove, enable, and disable entries. You can disable the programs you don’t want to start at boot if they’re on this list.

Reduce the default grub load time

Grub offers you 10 seconds to switch between dual boot OSs, go into recovery, and so on. It’s overkill in my opinion. It also means you’ll have to sit next to your computer and press the enter key as quickly as possible to boot into Ubuntu. Isn’t it a little time-consuming? The first method is to modify the boot time.

sudo gedit /etc/default/grub

GRUB TIMEOUT=10 should be changed to GRUB TIMEOUT=2. The boot time will be reduced to 2 seconds as a result of this. It is not advisable to put 0 to it, you will lose the ability to switch between operating systems and recovery choices. In my case, I use Ubuntu as my only Operating system. I don’t usually go to recovery mode or other options in grub so I put mine 0 and hidden. After you’ve altered the grub configuration, you’ll need to update grub to let the changes take effect:

sudo update-grub

Change Swappiness

Another helpful suggestion is to lower your system’s swappiness. Swappiness is a scale that ranges from 0 to 100. This range controls how likely your Ubuntu system is to shift things from RAM to your hard drive’s SWAP partition. A value of 0 indicates that something is extremely unlikely, while a score of 100 indicates that something is extremely likely.

sudo nano /etc/sysctl.conf

In the text editor screen, look for the option vm.swappiness. Change the value to 1, as shown below.

vm.swappiness = 10

Use Preload to Enhance Applications Sourcing

Preload, as a daemon, runs in the background and tracks the usage statistics of some of the most frequently used applications. Preload auto-loads the files depending on the results, thereby sourcing them for use.

This daemon learns and saves the user’s binaries and libraries so that applications can load more quickly. Let’s say you frequently use Firefox and LibreOffice. In this instance, Preload will automatically load the start-up files into its memory upon startup, allowing you, the end-user, to benefit from speedier processing.

To install Preload on Ubuntu, you can use the basic install command as follows:

sudo apt install preload

If you have used any of the methods above to speed up your Ubuntu machine, you will surely notice an improvement in your computer’s performance.

Reference
https://itsfoss.com/speed-up-ubuntu-1310/
https://easylinuxtipsproject.blogspot.com/p/speed-ubuntu.html

Leave a Comment

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