Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the lru_file_repage parameter under IBM AIX?

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

IBM AIX under the lru_file_repage parameter is what, many novices are not very clear about this, in order to help you solve this problem, the following small series will explain in detail for everyone, there are people who need this can learn, I hope you can harvest.

Tuning AIX kernel parameters is critical to database and application performance. Generally speaking, during deployment, we must make appropriate adjustments to kernel parameters, and after going live, we also need to make fine adjustments to some kernel parameters. Recently, I received a case and found that there are a lot of "NIM thread blocked" events in the errpt. Foreigners complain that the front-end application is very slow. I collected information through nmon and found that there are a lot of pages in/out.

After analysis, I found that there is a very important parameter that we need to pay attention to, that is, lru_file_repage. Simply put, if this parameter is set to 0,AIX will keep the calculation memory as much as possible in RAM. In AIX 6.1, this parameter defaults to 0. In DB2 databases with STMM enabled, the database memory rules also try not to swap out computing memory.

IBM's official explanation for this parameter is as follows:

lru_file_repage - when the number of permanent memory pages (numperm) falls between minperm and maxperm (or the number of client memory pages falls between minperm and maxclient), this setting indicates whether repaging rates are considered when deciding to evict permanent memory pages or computational memory pages. Setting this to 0 tells AIX to ignore repaging rates and favor evicting permament memory pages, keeping more computational memory in RAM. The AIX 5L default is 1/true (consider the repaging rate), The AIX 6.1 default is 0/false (now a restricted setting).

After adjusting this parameter, we fine-tuned some other parameters of the database, and the database performance was greatly improved, and there was no more "NIM thread blocked".

Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report