Ubuntu system cooling solution

Source: Internet
Author: User

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

  1. sudo apt-get install laptop-mode-tools

2. Start laptop_mode

  1. sudo laptop_mode start

3. Test whether to enable

  1. cat /proc/sys/vm/laptop_mode

0 indicates that other features are enabled.

View the detailed status of the laptop_mode report.

  1. sudo laptop_mode status

4. Check the status of your hard disk (sata hard disk)

  1. sudo hdparm -I /dev/sda |grep Advanced

5. Set laptop_mode to enable

  1. sudo gedit /etc/default/acpi-support

Generally, the last line is changed to ENABLE_LAPTOP_MODE = true.

6. Configure laptop-mode.conf

  1. sudo gedit /etc/laptop-mode/laptop-mode.conf
  1. ENABLE_LAPTOP_MODE_ON_AC = 1 # enable laptop-mode when the notebook uses AC power.
  2. CONTROL_HD_IDLE_TIMEOUT = 0 # disable HD_IDLE_TIMEOUT (the hard disk enters the standby mode)
  3. CONTROL_READAHEAD = 1 # enable readahead
  4. LM_READAHEAD=4096
  5. NOLM_READAHEAD = 128 # readahead buffer. For mp3 3-5 M, for movie 8-10 M
  6. Enable_laptop_mode_when_wash_closed = 1 # It seems that the function setting of closing the notebook lid is
  7. MINIMUM_BATTERY_CHARGE_PERCENT = 11 # disable laptop_mode when battery reaches 11%
  8. DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL = 8 # disable laptop_mode for Low Power Usage
  9. CONTROL_HD_POWERMGMT = 1 # Hard Drive Power Management Mode
  10. BATT_HD_POWERMGMT=192
  11. LM_AC_HD_POWERMGMT=192
  12. 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

  1. sudo cat /proc/sys/vm/swappiness

The value is 60.

2. Change the value of swappiness to 10.

  1. sudo gedit /etc/sysctl.conf

Add the following line at the end of this document:

  1. vm.swappiness=10

Save and close.

3. Restart

  1. sudo reboot

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.