Ubuntu system cooling solution
If you install Ubuntu, you may have installed the system but do not know or do not pay attention to it. Your computer will be very hot. One of the main reasons for this fever is the hard disk fever. Therefore, the following two methods can be used to reduce the impact of Hard Disk fever. (The following methods are not applicable to SSD hard drives)
The following are two Cooling Schemes I have used before. The method is from the network.
Solution 1
1. Install laptop_mode
sudo apt-get install laptop-mode-tools
2. Start laptop_mode
sudo laptop_mode start
3. Test whether to enable
cat /proc/sys/vm/laptop_mode
0 indicates that other features are enabled.
View the detailed status of the laptop_mode report.
sudo laptop_mode status
4. Check the status of your hard disk (sata hard disk)
sudo hdparm -I /dev/sda |grep Advanced
5. Set laptop_mode to enable
sudo gedit /etc/default/acpi-support
Generally, the last line is changed to ENABLE_LAPTOP_MODE = true.
6. Configure laptop-mode.conf
sudo gedit /etc/laptop-mode/laptop-mode.conf
ENABLE_LAPTOP_MODE_ON_AC = 1 # enable laptop-mode when the notebook uses AC power.
CONTROL_HD_IDLE_TIMEOUT = 0 # disable HD_IDLE_TIMEOUT (the hard disk enters the standby mode)
CONTROL_READAHEAD = 1 # enable readahead
LM_READAHEAD=4096
NOLM_READAHEAD = 128 # readahead buffer. For mp3 3-5 M, for movie 8-10 M
Enable_laptop_mode_when_wash_closed = 1 # It seems that the function setting of closing the notebook lid is
MINIMUM_BATTERY_CHARGE_PERCENT = 11 # disable laptop_mode when battery reaches 11%
DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL = 8 # disable laptop_mode for Low Power Usage
CONTROL_HD_POWERMGMT = 1 # Hard Drive Power Management Mode
BATT_HD_POWERMGMT=192
LM_AC_HD_POWERMGMT=192
NOLM_AC_HD_POWERMGMT=192
Solution 2
This is simple. In ubuntu, the size of the swappiness value is closely related to how to use the swap partition. When swappiness is set to 0, the physical memory is used to the maximum extent, and then the swap space is used. When swappiness is set to 100, the swap partition is actively used, in addition, the data in the memory is promptly moved to the swap space. Two extremes. For ubuntu's default settings, this value is equal to 60. We recommend that you change it to 10.
1. View swappiness in your system
sudo cat /proc/sys/vm/swappiness
The value is 60.
2. Change the value of swappiness to 10.
sudo gedit /etc/sysctl.conf
Add the following line at the end of this document:
vm.swappiness=10
Save and close.
3. Restart
sudo reboot