【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)
【环境信息】
硬件信息:
openEuler虚拟机
软件信息:
1) OS版本及分支:openEuler 20.03 (LTS-SP1)
2) 内核信息:4.19.90-2012.4.0.0053.oe1.aarch64
3) 发现问题的组件版本信息GNU Make 4.3 / rpmdevtools-8.10-8.oe1.noarch
【问题复现步骤】
具体操作步骤
unzip openeuler-kernel-kernel-4.19.zip
cd kernel
make menuconfig
make -j16 rpm-pkg
出现概率(是否必现,概率性错误):必现
【预期结果】
描述预期结果,可以通过对比新老版本获取
make -j16 rpm-pkg
通过top命令,看到有16个cc进程,16个cpu都在使用
【实际结果】
描述出问题的结果
通过top命令,看到有16个cc进程,但是只有cpu0在使用
【附件信息】
比如系统message日志/组件日志、dump信息、图片等
Hey lisiheng, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
经过验证
make binrpm-pkg
和 make -j16 rpm-pkg
均存在此问题。
其中 rpm-pkg
会生成 kernel.spec
文件, 然后使用 rpmbuild 构建。
初步怀疑是某些环境变量造成。
目前发现是如下包导致的问题:
rpm -qf /etc/profile.d/performance.sh
openEuler-performance-20.03LTS_SP1-38.oe1.aarch64
#export GOMP_CPU_AFFINITY=0-$[CPUNO - 1]
把 GOMP_CPU_AFFINITY 这行注释掉。
重启即可解决。
不重启,直接 source /etc/profile.d/performance.sh 即可。
1--最新版本openEuler 已经修复此问题。
2--旧版本openEuler 版本建议使用上述操作规避修复。
谢谢。
非常感谢参与 openEuler,社区有你更精彩。
issue 暂行关闭,如有疑问,请咨询 @成坚 (CHENG Jian)
登录 后才可以发表评论