401 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

[OLK 5.10] sharepool 维测refactor

已完成
任务
创建于  
2022-07-26 19:37

重构了sharepool的维测统计实现。
Sharepool owns an statistics system which allow user to check the memory
use easily. The statistics codes are quite independent from the major
functions. However, the realization is very similar with the major
functions, which doubles the lock use and cause nesting problems.

Thus we remove the statistics system, and put all the statistics into raw
data structures as built-in statistics. The user api did not change.
This can greatly reduce the complexity of locks, as well as remove hundred
lines of redundant codes.

评论 (2)

郭梦琪 创建了任务

Hi guo-mengqi, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers: @YangYingliang , @成坚 (CHENG Jian) , @jiaoff , @zhengzengkai , @刘勇强 , @wangxiongfeng , @朱科潜 , @WangShaoBo , @lujialin , @wuxu_buque , @Xu Kuohai , @冷嘲啊 , @Lingmingqiang , @yuzenghui , @岳海兵 , @juntian , @OSSIM , @陈结松 , @whoisxxx , @koulihong , @刘恺 , @hanjun-guo , @woqidaideshi , @Chiqijun , @Kefeng , @ThunderTown , @AlexGuo , @kylin-mayukun , @Zheng Zucheng , @柳歆 , @Jackie Liu , @zhujianwei001 , @郑振鹏 , @SuperSix173 , @colyli , @Zhang Yi , @htforge , @Xie XiuQi

openeuler-ci-bot 添加了
 
sig/Kernel
标签
郭梦琪 修改了描述
郭梦琪 任务类型任务 修改为需求
郭梦琪 任务状态待办的 修改为新建
郭梦琪 任务类型需求 修改为任务
郭梦琪 任务状态新建 修改为待办的
郭梦琪 修改了描述
郭梦琪 修改了描述

【回归版本号或者commit】
6234da46491e7d90ddb1ab424f247ceb45daf127

【依赖config】
CONFIG_ASCEND_SHARE_POOL=y

【预设条件和步骤】
1 启动参数打开:enable_ascend_share_pool hugevmalloc=on
2 环境要求至少4个numa node,node0 至少7G内存,node1/2/3各1G即可。
3 需要在Makefile中替换内核地址为自己内核地址。
4 具体运行见README。

【是否需要打patch】
N

【回归用例代码和自验报告】:
运行sharepool全量用例 ./test.sh
输入图片说明

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助

344bd9b3 5694891 D2dac590 5694891