暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Recommended Value for the Kernel Parameter vm.min_free_kbytes

原创 许玉冲 2023-03-07
1006

If memory is added to a BDA server, tuning the kernel parameter, vm.min_free_kbytes, is recommended based on: Oracle Linux : Recommended Value of vm.min_free_kbytes Kernel Tuning Parameter (Doc ID 2501269.1).  Tuning vm.min_free_kbytes can prevent memory fragmentation issues because it allows the OS to reclaim memory faster.

Additionally on the BDA vm.min_free_kbytes may need to be increased on clusters that are either large or have high network traffic. If this is not done, different symptoms including reduced performance, unexpected reboots and network errors can occur.

Based on the Oracle Linux recommendation vm.min_free_kbytes (KB) should be set using the following calculation:

MAX(1GB * number_numa_nodes, 0.5% * total_memory)

The number of NUMA nodes on the BDA is 2. Hence the default setting for vm.min_free_kbytes on the BDA is 2GB.
To tune vm.min_free_kbytes set the value to (0.5% * total_memory).

Note that when calculating the value the recommendation is to round values to the number of kilobytes representing the nearest gigabyte value. So for example if a vm.min_free_kbytes value is calculated to be ~4GB set it to 4GB i.e. 4194304 KB. If a vm.min_free_kbytes value is calculated to be ~8GB set it to 8GB i.e. 8388608 KB.

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论