MongoDB和NUMA

问题描述:

使用NUMA的机器的MongoDB写入性能非常慢。我经历了这个https://docs.mongodb.com/manual/administration/production-notes/。我禁用了区域回收,并使用numactl --interleave=all命令启动了mongodb .NUMA警告现在消失了,但我无法获得性能。当我发射numactl -s,它显示MongoDB和NUMA

policy: default 
preferred node: current 
physcpubind: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 
cpubind: 0 1 
nodebind: 0 1 
membind: 0 1 

为什么我不能看到policy = interleave。我错过了什么吗?任何人都可以请帮助我如何提高我的写入性能和/或禁用此NUMA ?.

我对MongoDB非常陌生,正在阅读一些白皮书。 https://webassets.mongodb.com/_com_assets/collateral/MongoDB-Performance-Best-Practices.pdf?_ga=1.50371949.595438063.1479457116 这个说,如果你在NUMA硬件上运行你的MongoDB和客户端,你应该配置一个内存交错策略。