How to Speed Up & Optimize Performance on Linux
We give you different tips to improve the speed and performance of your computer with Linux.
Accelerate System Boot in Linux
Remember that when we boot any Linux distribution, the default time to select an option is 10 seconds, remember that during startup we can access administrative tasks, start with another operating system (If we have dual boot) or other additional actions
This time we can accelerate it by editing the same in the route etc /default/grub with the desired editor:
sudo nano etc/default/grub
In this file, we must go to the line GRUB_TIMEOUT which as we see by default is 10 seconds and establish a shorter time, 3.5 or as long as we want.
Disable Services on Linux
At the time of running the operating system are loaded a series of services that can affect the performance and speed of system startup, these services can be found in the path /etc/init.d:
If any of these services we consider should not be executed with the start of the distro we will run the following lines:
sudo /etc/init.d/service_name stop (stop service) sudo /etc/init.d/service_name start (start service)
Use Lightweight Distros
Although most of the Linux distros are lightweight, another series of distros have been developed that very few know that they are even much lighter and in this way we will be able to take full advantage of the hardware resources of the equipment.
One of them is Vector Linux which can be downloaded for free at the following link.
Speed, performance, and stability are the main features of Vector Linux.
Use Ad Blockers in Linux
When we surf the Internet today the number of ads that are displayed when accessing websites has become a real nuisance.
For modern browsers we have an extension called AdBlock which can be downloaded at the following links:
ADBLOCK GOOGLE CHROME https://chrome.google.com/webstore/detail/adblock/gighmmpiobklfepjocnamgkkbiglidom?hl=es-419 ADBLOCK MOZILLA https://addons.mozilla.org/es/firefox/addon/adblock-plus/
These extensions allow these ads not to be displayed, thus optimizing performance when browsing.
A great option to improve the performance of Linux is to define how the exchange space is to be used. An exchange partition is where the Linux kernel caches the data in virtual memory to swap quickly in RAM when necessary.
For this we must access the following route, etc / sysctl.conf:
sudo nano etc/sysctl.conf
In the expanded file we will add the next line:
We can adjust this value to see how the performance of the distribution improves. The smaller the amount, the lower the exchange space will be, and the more data will be stored in the cache.
With these tips, we will have a much more optimal, reliable and fast system which becomes better productivity and a better experience of the use of each Linux distribution.