cloudpods
cloudpods copied to clipboard
调整配置反馈
私有云调整配置反馈:
调整CPU
- ubuntu18.04升级cpu配置要重启才生效,centos则不用
- win2019升级cpu配置后自动关机了,需要手动重新开启,开启后配置是生效的
- win2016升级不会自动关机,但需要重启生效。2008跟2012就正常,配置自动生效
@zexi
@zexi
镜像市场 公共镜像 ubuntu 1804 测试热插 4个 cpu,发现系统操作系统不会 enable 热插的cpu
root@ubuntu18:/opt/cloudroot# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-3
Off-line CPU(s) list: 4-7
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 79
Model name: Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz
Stepping: 1
CPU MHz: 2399.686
BogoMIPS: 4799.37
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K
L3 cache: 16384K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti ssbd ibrs ibpb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt arat
然后在 enable cpus
root@ubuntu18:/opt/cloudroot# chcpu -e 4-7
CPU 4 enabled
CPU 5 enabled
CPU 6 enabled
CPU 7 enabled
root@ubuntu18:/opt/cloudroot# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 1
Core(s) per socket: 8
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 79
Model name: Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz
Stepping: 1
CPU MHz: 2399.686
BogoMIPS: 4799.37
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K
L3 cache: 16384K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti ssbd ibrs ibpb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt arat
root@ubuntu18:/opt/cloudroot#
windows 2019 panic on cpu hotplug:
https://neosmart.net/wiki/irql-not-less-or-equal/#Symptom_1_8220IRQL_NOT_LESS_OR_EQUAL8221_blue_error_screen
根据这篇文章的回答大概率要升级windows来解决