The relationship between Linux memory usage and swap __linux

Source: Internet
Author: User
Tags memory usage

Memory and Swap Graphics

According to the picture collation trend contrast

number Mem Change Trends change trend of swap
1 Flat Rise
2 Rise Drop
3 Rise Flat
4 Flat Rise
5 Drop Drop
6 Flat Drop
7 Rise Drop
8 Flat Rise

* Trend contrast arrangement

number Mem Change Trends change trend of swap
1 Flat Rise
4 Flat Rise
6 Flat Drop
8 Flat Rise
2 Rise Drop
7 Rise Drop
3 Rise Flat
5 Drop Drop

Conclusion
1. No change in memory use, swap may rise may also drop
2. When memory usage goes up, swap may not change or it may rise
3. When memory usage drops, swap also drops.

Note: Current memory configuration and usage

The current swapniess is 60, is not said that when the memory used 60%, that is 38GB, start using swap buffer and cache use is really not high, memory is very tight memory 60% is 38GB.

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.