如何为 VM 配置 NUMA 节点和套接字?

问题描述

我想在 VM 上配置一个 NUMA 多插槽系统。 创建 VM 时如何配置?

现在当我看到我的 centos VM 时,它只有一个 NUMA,一个套接字。

[root@k8s kubernetes]# lscpu
Architecture:        x86_64
cpu op-mode(s):      32-bit,64-bit
Byte Order:          Little Endian
cpu(s):              2
On-line cpu(s) list: 0,1
Thread(s) per core:  1
Core(s) per socket:  2
Socket(s):           1
NUMA node(s):        1
vendor ID:           GenuineIntel
cpu family:          6
Model:               142
Model name:          Intel(R) Core(TM) i7-8550U cpu @ 1.80GHz
Stepping:            10
cpu MHz:             1992.003
BogoMIPS:            3984.00
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            8192K
NUMA node0 cpu(s):   0,1
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_kNown_freq pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm 3dNowprefetch invpcid_single pti fsgsbase avx2 invpcid rdseed clflushopt md_clear flush_l1d

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)