In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "what are the two important parameters of Linux system performance optimization". The explanation in this article is simple and clear and easy to learn and understand. Please follow the editor's train of thought to study and learn "what are the two important parameters of Linux system performance optimization"?
The code is as follows:
Vfs_cache_pressure:
This file indicates the kernel's tendency to recycle memory for directory and inode cache; the default value of 100 indicates that the kernel will keep directory and inode cache at a reasonable percentage based on pagecache and swapcache; lowering this value below 100 will cause the kernel to tend to retain directory and inode cache; by more than 100, which will cause the kernel to tend to recycle directory and inode cache.
Default: 100
The code is as follows:
Min_free_kbytes:
This file represents the minimum amount of free memory (Kbytes) that forces Linux VM to reserve.
Default: 724 (512m physical memory)
Change the command:
The code is as follows:
Sysctl-w vm.vfs_cache_pressure=200
Sysctl-w vm.min_free_kbytes=1024
Thank you for your reading, the above is the content of "what are the two important parameters of Linux system performance optimization". After the study of this article, I believe you have a deeper understanding of what the two important parameters of Linux system performance optimization are, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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: 232
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.