linux系统更改策略,linux – 将默认numa策略设置为“交错”系统范围

如果使用RHEL / CentOS / Fedora,我建议使用

numad守护进程. (

Red Hat paywall link).

虽然我没有太多使用numactl –interleave指令,但似乎你已经确定你的工作量需要它.你能解释为什么会这样,以提供更好的背景吗?

编辑:

似乎大多数推荐显式numactl定义的应用程序要么生成libnuma library call,要么在wrapper script中包含numactl.

对于numad方面,有一个配置选项可以在命令行或/etc/numad.conf中指定…

-K <0|1>

This option controls whether numad keeps interleaved memory spread across NUMA nodes,or

attempts to merge interleaved memory to local NUMA nodes. The default is to merge interleaved

memory. This is the appropriate setting to localize processes in a subset of the system’s

NUMA nodes. If you are running a large,single-instance application that allocates inter-

leaved memory because the workload will have continuous unpredictable memory access patterns

(e.g. a large in-memory database),you might get better results by specifying -K 1 to instruct

numad to keep interleaved memory distributed.

有人说,尝试使用numad -K 1 -u X之类的东西,其中X是100 x核心数,可能对此有所帮助.试试吧.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值