当仍有大量需要重新声明的页缓存时,过早地发生了内存交换操作
Issue
- 在带有 cgroups v1 的系统中,
/proc/sys/vm/swappiness
中指定的系统范围内的 swappiness 值对于系统的内存交换特性没有作用(或仅有极小的作用)。此问题可能会导致意外的、不一致的内存交换行为。
Environment
- Red Hat Enterprise Linux 8
- 启用了 cgroups v1 的 Red Hat Enterprise Linux 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.