10 Star 4 Fork 34

src-openEuler/gazelle

 / 详情

服务端配置cpu核数为奇数,启动benchmark服务失败

已完成
缺陷
创建于  
2022-03-11 21:26

【标题描述】服务端配置cpu核数为奇数,启动benchmark服务失败
【环境信息】
硬件信息:
虚拟机
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-31
软件信息:
cat /etc/openEuler-latest
openeulerversion=openEuler-22.03-LTS
compiletime=2022-03-05-12-01-45
gccversion=10.3.1-9.oe1
kernelversion=5.10.0-60.2.0.35.oe1
openjdkversion=1.8.0.312.b07-11.oe1
gazelle-1.0.1-5.x86_64
libnet_benchmark-1.0.0-h21.x86_64

【问题复现步骤】

  1. 设置cpulist为0-2,查看/sys/devices/system/node/node0/cpulist;
  2. tran、lstack配置都绑定相同CPU0、1,启动benchmark服务2线程
    【预期结果】
    benchmark服务正常启动
    【实际结果】
    benchmark服务启动失败
    【附件信息】
    输入图片说明
    比如系统message日志/组件日志、dump信息、图片等

评论 (2)

llcz000 创建了缺陷

Hi llcz000, 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: sig-high-performance-network, and any of the maintainers: @luzhihao , @L.X. , @Hubble_Zhu , @LemmyHuang , @sky , @speech_white , @李扬扬 , @openeuler-ci-bot

Air9 里程碑设置为openEuler-22.03-LTS-round-3
ltx 负责人设置为吴昌盛
ltx 优先级设置为主要

解析numa对应的cpu时,认为cpu是偶数的,检查为非偶数初始化失败。没有考虑到可能有cpu核下线等场景。
修改:把此检查条件删除

验证如下
输入图片说明
输入图片说明

吴昌盛 任务状态待办的 修改为已完成
DisNight 添加了
 
sig/sig-high-perform
标签

登录 后才可以发表评论

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

搜索帮助

Cb406eda 1850385 E526c682 1850385