One of the challenges of any good lover of their operating system is to have it optimized and beautiful as much as possible. To such an extent it reaches the obsession that many have managed to make their own operating system as in the case of Gentoo or Archlinux the philosophy also focuses on the maximum way to optimize and control the Operating System.
en Ubuntu the thing is no less but unlike the previous ones, in Ubuntu you don’t need to do a computer career to have acceptable optimization.
Table of Contents
But is there anything left to optimize?
Over the past few days we have seen how to optimize our desktop. And today I wanted to post a series of tricks, as old as the same Ubuntu which are based on accelerating and optimizing the system canonical.
Swappiness
the file Swappiness is in charge of managing ours memory swap. The problem with this file is that on some computers it is quickly used to paste that file swap is on a normal hard drive and slower than Ram memory. Many times without using all the ram memory the swap memory is activated.
By default, from branch 2.6 onwards, the linux kernel has this value at 60%. This means that a lot of use will be made of swap memory. It is useful if we have a server with a large workload and little RAM, Or if we compile frequently. However, in a desktop system, with several small applications running or having a large amount of ram memory as in modern computers, we can lower this value to 10 so that the kernel uses RAM more often (faster) and resort less to swap memory. To do this, we open a terminal and do the following:
We consulted the initial value:
its cat / proc / sys / vm / swappiness
After entering the password, it shows us a value of 60 (if it already shows us 10, there is nothing to do. Move on to another point.)
We tested how the system responds when lowering the value:
its sysctl -w vm.swappiness = 10
We then run a couple of applications. If the result is satisfactory, we will modify a configuration file so that the change is permanent:
sudo nano /etc/sysctl.conf
In the last line we add:
vm.swappiness = 10
We save the changes by pressing the keys CONTROL + o and we went out pressing CONTROL + x.
Firefox
While many do use other browsers, many still use them Mozilla Firefox as a daily use browser. Changes can be made to Firefox to optimize our browsing and increase the number of connections and to take advantage of other parameters.
1. We open Firefox clicking on its icon. In a window we write the address: «about: config»And press enter.
2. We change these values. To do this, double-click on the line you want to modify and in the dialog box that appears, type the new value:
network.dns.disableIPv6? We change the value to true (just a double click)
network.http.max-connections? We change the value to 128
network.http.max-connections-per-server? We change the value to 48
network.http.max-persistent-connections-per-proxy? We change the value to 24
network.http.max-persistent-connections-per-server? We change the value to 12
3. If you have a broadband connection, you can also set the following values:
network.http.pipelining? We change the value to true (just a double click)
network.http.proxy.pipelining? We change the value to true (just a double click)
network.http.pipelining.maxrequests? We change the value to 30
LibreOffice
The trick of LibreOffice is based on a trick to optimize OpenOffice and that LibreOffice has inherited. To make it enter the menu tools, move over options and we marked working memory. On the right a Cache memory of the image, We change the values of use of LibreOffice from 6 to 128 and from Memory by object from 0.5 to 20. We accept changes. When running LibreOffice repeatedly, we will notice the difference.
These three sections are tricks that as we said, are very old but are still valid in current versions of Ubuntu and I thought you should have them in Ubunlog, as I imagine many of you already know these tricks. If you don’t know them, try them, they’re worth it. Hello.
More Information – How to Optimize Ram in Linux, Ubuntu is,
font – Ubuntu is
image – Florisla