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.
sharepool: 修复sp_alloc指定numa节点受memory_policy影响导致不准的问题
Done
#I54IL8
Task
郭梦琪
Opened this issue
2022-04-25 11:13
sharepool: Fix sharepool node id invalid when using sp_alloc. 发现问题:用sp_alloc申请内存时,传入了想要的numa节点,但观测物理内存使用变化,却不在指定的numa节点上。 原因定位:memory_policy会在流程中将numa节点扭转为其他preferred节点。 问题解决:详见补丁。 测试步骤: 1. 设置qemu为多numa node环境,numa node0/1/2/3 2. 调用sp_alloc申请内存,在传入的flag参数中,依次设置numa node id为0/1/2/3,并都申请20M 3. 进程先不退出,比较申请前后的cat /sys/devices/system/node/node*/meminfo 问题现象: 预期:node0/1/2/3都有约20M的内存增加。 实际:在某一不固定的node上有约80M内存增加。
sharepool: Fix sharepool node id invalid when using sp_alloc. 发现问题:用sp_alloc申请内存时,传入了想要的numa节点,但观测物理内存使用变化,却不在指定的numa节点上。 原因定位:memory_policy会在流程中将numa节点扭转为其他preferred节点。 问题解决:详见补丁。 测试步骤: 1. 设置qemu为多numa node环境,numa node0/1/2/3 2. 调用sp_alloc申请内存,在传入的flag参数中,依次设置numa node id为0/1/2/3,并都申请20M 3. 进程先不退出,比较申请前后的cat /sys/devices/system/node/node*/meminfo 问题现象: 预期:node0/1/2/3都有约20M的内存增加。 实际:在某一不固定的node上有约80M内存增加。
Comments (
2
)
Sign in
to comment
Status
Done
Backlog
Doing
Done
Declined
Assignees
Not set
Labels
sig/Kernel
Not set
Projects
Unprojected
Unprojected
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