The most confusing problem in Aix is the problem of remaining memory.

Source: Internet
Author: User

The most confusing problem in Aix is the problem of remaining memory. It seems that all the first-time users of Aix tend to be wealthy, and they do not like the remaining physical memory in the AIX system, which is always that small. To be honest, neither do I
Yes, but when I understand the truth, I feel that there is little physical memory left: physical memory is very valuable, and the efficiency is far higher than that of the disk system (about 1000 times faster ), why idle physical memory?
(Remaining? Therefore, AIX changes the unused physical memory to the file system cache to improve disk access efficiency. The system only leaves a few for sudden memory requests. For example, when the memory request exceeds the current
When there is a small amount of available physical memory, the system will automatically find all the current physical memory, that is, the SR in vmstat. If this memory page can be released, it will be released for memory allocation.
(FR ). Therefore, as long as the system can release enough memory pages in time, it can ensure that the AIX virtual memory system can run well.


If your system often has programs that instantly request huge memory (several hundred MB), it may be caused by a small fre value. You can change the system parameters appropriately to increase the fre value. But again, this
It is rare to occasionally apply for a huge amount of memory, usually when the program is started, if your program is also running, so we should first study how to communicate with programmers to process
Bad habits! No commercial software will do this. The following command can increase the remaining memory of the system (displayed). It means that when the system fre memory is less than 5000 pages (5000 *
4 k = 20 mb), the system starts to release the physical memory through the memory pageout until the fre reaches 10000 pages (10000*4 k =
40 MB), stop releasing the memory. Note that if you see more memory available in this way, the memory utilization efficiency is lower and the system performance may be reduced.
#/Usr/samples/kernel/vmtune-F 10000-F 5000

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.