NUMA;numactl;的一些总结 文章目录参考libnuma系统调用启动参数CONFIG_NUMAnuma_balancingconfig NUMA_BALANCINGconfig NUMA_BALANCING_DEFAULT_ENABLED对应的内核变量是:numabalancing_override接口cpu_to_node如何设置kvm虚拟机的numa配置查看numa的一些统计数据vmware如何启动命令时,设置进程的numaprocvmstatsys如何配置systemd控制的服务的numa配置跨numa的比例如果很大可能导致CPU的使用率上升Mems_allowed/sys/devices/system/node/node0参考Kernel自带的文档https://frankdenneman.nl/2016/07/08/numa-deep-dive-part-2-system-architecture/https://frankdenneman.nl/2016/07/07/numa-deep-dive-part-1-uma-numa/https://linux.die.net/man/8/numactlhttps://man7.org/linux/man-pages/man7/numa.7.htmlhttps://github.com/numactl/numactlvmware相关的numa资源管理:https://docs.vmware.com/en/VMware-vSphere/7.0/vsphere-esxi-vcenter-server-703-resource-management-guide.pdflibnumaLibrary supportLink with -lnuma to get the system call definitions. libnuma and the required numaif.h header are available in the numactl package.系统调用获取cpu/node__clib_export u32