A list of tricks to accelerate and improve speed in Ubuntu Linux systems.
As users of any operating system, we always look for fast machines that allow us to carry out all the tasks with the best times and without blockages.
It is no secret to anyone that as we install new applications, configure new services and add more tasks to the system, it will slow down, and we will notice slowness during daily work such as opening programs, using applications, process roles, and many more.
Reduce Loading Time Of Boot Manager
The GRUB, or Linux bootloader, by default, takes 10 seconds deploying us the options as users such as selecting the operating system (in case of using dual boot), accessing recovery options or many more.
Although for many this is normal and is a process that goes unnoticed, we may be wasting time and resources waiting to make a starter selection.
This time of 10 seconds can be reduced to a little less, as considered, such as 5 or 3 seconds.
To modify this number, we must access the following file using the preferred editor:
sudo nano /etc/default/grub
There we must go to the line GRUB_TIMEOUT = 10 and change the value 10 for the new one, for example, GRUB_TIMEOUT = 5.
Once this change has been processed, we will execute the following command to update the changes in the GRUB:
Manage Startup Apps on Ubuntu
To verify what applications are executed when the system is booted, go to the Dash and enter the word Startup.
Click on the Startup Applications option, and we will see the next window where we will find these applications or programs.
If any of the applications displayed is not necessary, we can select it and click on the Remove button so that it is not executed at the beginning.
But if we don't want to delete the program at the beginning of Ubuntu, we can delay the start of this and thus not fully use the resources at the beginning.
In this case, we select the application, click on the Edit button and in the Command field establish a suspension option. For this, we will use the syntax. Click on Save to apply the changes.
Preload Apps To Improve Ubuntu Startup Times
Preload is a daemon that runs in the background and analyzes user behavior and runs applications frequently. For installation, we will execute the following, then proceed to restart the computer and preload will work in the background.
sudo apt install preload
Select Best Update Download Server
Having an optimal and functional download mirror guarantees that the system will be in optimal conditions of an update but the most important thing is that it will reduce the time to obtain the packages from the server.
For this, we go to “System Settings.”
There we select the option “Software & Updates,” and we will see the following window:
We display the options in the “Download from” field and choose Other. In the window displayed click on the button “Select Best Server” :
Change APT-GET for APT-FAST
The apt-fast command is a shell script container for “apt-get” which is responsible for improving the speed of packet downloads and updated when downloading packets from multiple connections simultaneously.
For the installation of apt-fast we must execute the following commands in their order:
sudo add-apt-repository ppa:apt-fast/stable sudo apt-get update sudo apt-get install apt-fast
Reduce Overheating in Ubuntu
Overheating is a common problem in computers these days.
An overheated computer works quite slow since it creates a conflict in its services.
In Ubuntu, we can make use of the TLP tool which helps us to maintain the superheat levels in their optimal state.
For its installation we will execute the following commands in their order:
sudo add-apt-repository ppa:linrunner/tlp sudo apt-get update sudo apt-get install tlp tlp-rdw
To start the application, we will run the following:
sudo tlp start
With these tips, we will have a much faster and dynamic operating system that will allow us to take full advantage of its functions and features.