Tips for improving the performance of Ubuntu systems

Source: Internet
Author: User

in the Ubuntu system, the swap partition is not used until your physical memory is exhausted! The Swappiness setting value of the system is very important for how to use the swap partition, not when the swap partition is used when the swappiness=0 is in use, the swappiness=0 indicates the maximum use of physical memory, and then the Swap space,swappiness=100 The active use of the swap partition, and the memory of the data in a timely manner into the swap space

Cat/proc/sys/vm/swappiness  //   View value of Swappiness
sudo sysctl vm.swappiness=20//Temporary change swappiness variable value
sudo gedit/etc/sysctl.conf//Open System configuration file via Gedit
vm.swappiness=  //At the end add this sentence

Tips for improving the performance of Ubuntu systems

Related Article

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.