【标题描述】能够简要描述问题:memhog命令部分参数执行失败
【环境信息】
软件信息:numactl-2.0.16-3
【问题复现步骤】
执行以下命令失败:
memhog -r4 1G --interleave 0-3
memhog -r8 1G -H
出现概率:必现
【预期结果】
命令执行成功
【实际结果】
Hi liu_yangmei, 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: Computing, and any of the maintainers: @openeuler-robot , @wangbin , @SuperSix173 , @liqingqing_1229 , @abushwang , @Juyin
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
memhog -r4 1G --interleave 0-3
libnuma: Warning: node argument 3 out of range
<0-3> is invalid
失败原因:环境node不够
可以使用numactl -H看环境有几个node
memhog -r8 1G -H
失败原因:需要指定内存测试policy
在numactl-2.0.14-2版本:
环境上1个node执行memhog -r4 1G --interleave 0-3命令无报错,执行命令memhog -r8 1G -H前也无需指定policy
memhog -r4 1G --interleave 0-3
在2.0.16版本上修复了,按照在1个node上--interleave 0-3预期是需要返回失败的
已确认,以上2个命令的使用方式需适配2.0.16版本
/close
登录 后才可以发表评论