Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Open Source
>
Other
>
Operation System
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
456
Star
1.7K
Fork
1.9K
GVP
openEuler
/
kernel
Closed
Code
Issues
1271
Pull Requests
986
Wiki
Insights
Pipelines
Service
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
【OLK-5.10】Node Reclaim支持异步回收模式
Done
#ID4GC1
内核需求
mawupeng
Opened this issue
2025-10-31 16:47
【特性描述】 本特性主要是对node_reclaim回收流程进行扩展,在原本的直接回收前,新增了唤醒kswapd逻辑,在空闲内存不足时,同步唤醒kswapd,进行后台的内存异步回收,将空闲内存回收到 high 水线,从而避免频繁在缺页处理中进行内存回收,影响内存分配效率,提升了node_reclaim特性的效率。 使用方法 在使用包含本功能的内核上,通过如下命令使用该功能: echo 8 > /proc/sys/vm/zone_reclaim_mode 【特性竞争力】 提升 node reclaim 回收效率,增加特性可用性。 【硬件架构】 NA 【特性约束】 当前特性仅交付HPC场景。 由于提前执行内存回收操作,可能导致分配性能有所下降(原本可直接从其他NUMA节点分配,无需回收步骤)。 在单NUMA节点内存不足时,回收进程的唤醒可能引入额外的CPU资源开销。 针对需要大文件缓存的场景,会导致相关业务无法使用全局节点内存,需要关闭该特性。 node_reclaim_distance 参数与内存回收与调度相关,修改可能对调度产生影响。 唤醒kswapd时,会导致匿名页被swap out。 【涉及仓库】 openeuler 【交付个人/团队】 Ma Wupeng <mawupeng1@huawei.com>
【特性描述】 本特性主要是对node_reclaim回收流程进行扩展,在原本的直接回收前,新增了唤醒kswapd逻辑,在空闲内存不足时,同步唤醒kswapd,进行后台的内存异步回收,将空闲内存回收到 high 水线,从而避免频繁在缺页处理中进行内存回收,影响内存分配效率,提升了node_reclaim特性的效率。 使用方法 在使用包含本功能的内核上,通过如下命令使用该功能: echo 8 > /proc/sys/vm/zone_reclaim_mode 【特性竞争力】 提升 node reclaim 回收效率,增加特性可用性。 【硬件架构】 NA 【特性约束】 当前特性仅交付HPC场景。 由于提前执行内存回收操作,可能导致分配性能有所下降(原本可直接从其他NUMA节点分配,无需回收步骤)。 在单NUMA节点内存不足时,回收进程的唤醒可能引入额外的CPU资源开销。 针对需要大文件缓存的场景,会导致相关业务无法使用全局节点内存,需要关闭该特性。 node_reclaim_distance 参数与内存回收与调度相关,修改可能对调度产生影响。 唤醒kswapd时,会导致匿名页被swap out。 【涉及仓库】 openeuler 【交付个人/团队】 Ma Wupeng <mawupeng1@huawei.com>
Comments (
2
)
Sign in
to comment
Status
Done
新建
已接纳
In Development
拟拒绝
Canceled
Declined
Done
Assignees
Not set
Labels
sig/Kernel
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(2)
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register