火球法师
精华
|
战斗力 鹅
|
回帖 0
注册时间 2018-12-24
|
楼主 |
发表于 2023-2-13 20:54
|
显示全部楼层
这个是red hat的官网,里面对swapiness的解释和取值范围和你说的可能还是有一些区别https://access.redhat.com/solutions/103833
Swappiness is a property for the Linux kernel that changes the balance between swapping out runtime memory, as opposed to dropping pages from the system page cache. Swappiness can be set to values between 0 and 100, inclusive. A low value means the kernel will try to avoid swapping as much as possible where a higher value instead will make the kernel aggressively try to use swap space.
这里还是说明了阈值范围为0~100,且其描述的是swaping的积极程度;我倾向于相信系统提供商的原始文档。 |
|