PowerFlex: SVM vm.overcommit 最佳实践

Summary: 本文提供有关如何检查vm.overcommit_memory和vm.overcommit_ratio设置以及如何修改设置以符合最佳实践的说明。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

要检查和/或修改 SVM vm.overcommit 设置,请执行以下步骤:

1.使用 SSH 以 root

2 身份登录到 SVM。运行 cat /etc/sysctl.conf |grep “vm.overcommit”
例如。
[root@sds-node logs]# cat /etc/sysctl.conf | grep "vm.overcommit"
vm.overcommit_memory = 2
vm.overcommit_ratio = 50

3、运行以下命令
sed -i 's/vm\.overcommit_memory = .*/vm\.overcommit_memory = 2/g' /etc/sysctl.conf
sed -i 's/vm\.overcommit_ratio = .*/vm\.overcommit_ratio = 100/g' /etc/sysctl.conf
sysctl -p

验证
[root@sds-node logs]# cat /etc/sysctl.conf | grep "vm.overcommit"
vm.overcommit_memory = 2
vm.overcommit_ratio = 100

在环境中的所有 SVM 上重复这些步骤,以确保它们设置为建议的最佳实践设置。您无需将 SDS 置于维护模式即可执行此作。 
 
 

Affected Products

PowerFlex rack
Article Properties
Article Number: 000198177
Article Type: How To
Last Modified: 26 Nov 2025
Version:  7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.