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 solutions I have used before. The methods are from the network. Solution 1. Install laptop_modesudoapt-getinstalllaptop-mode-tools2. Start
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 changedENABLE_LAPTOP_MODE = true.
6. Configure laptop-mode.conf
sudo gedit /etc/laptop-mode/laptop-mode.conf
Drawing = 1 # When the notebook uses AC power also enable laptop-modeCONTROL_HD_IDLE_TIMEOUT = 0 # Close HD_IDLE_TIMEOUT (hard disk into standby) CONTROL_READAHEAD = 1 # enable readaheadLM_READAHEAD = 4096NOLM_READAHEAD = 128 # readahead buffer, for mp3 3-5 M, if you want to watch a movie, refer to 1 # here it seems that the function of closing the notebook lid is set to MINIMUM_BATTERY_CHARGE_PERCENT = 11 # disable laptop_mode when battery reaches 11% # disable laptop_modeCONTROL_HD_POWERMGMT = 1 power Management Mode BATT_HD_POWERMGMT = 192LM_AC_HD_POWERMGMT = 192NOLM_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
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-06/118955.htm