Although we have changed the year, the truth is that many computers will not change components or be more powerful. On old or old computers, traditional hard drives usually make quite a bit of noise when they work, that is, they create noise throughout the use of the computer. This can be very annoying and in some cases can be fixed with an Ubuntu terminal.
Both Ubuntu and other GNU / Linux distributions have a program that allows you to control the speed of the disks rotating inside the hard disk and with this we can reduce the noise created by friction. This method is simple and only works if we have a traditional hard drive, this is the HDD, if we have a disk with SSD technology, the trick does not work.
Hdparm will reduce the speed of the disks
To make it work hdparm first we have to open a terminal and write the following:
sudo hdparm -I /dev/sda |grep acoustic
After executing this command, the terminal will tell us the speed at which the disks rotate and the recommended speed. the recommended speed it is what will need to be noted as we will use it later to change it permanently. Now, we are going to change the value of this speed permanently, for this we write in the terminal
sudo hdparm -M ( VALOR RECOMENDADO) /dev/sda
Sometimes these changes are not permanent but when we turn off the computer, the configuration is lost, in this case we have to write the last command in the rc.local file of our Ubuntu, so the new configuration will be loaded with each start of system.
Although it seems a bit futuristic, the truth is that hdparm is an application that significantly improves the use of traditional hard drives. In addition hdparm allows us to do other things besides reducing the speed of disks. If you want to know more, you will find information on the man page. In any case do not forget that this only applies to HDDs, in no case does it work with SSDs.