当前位置:网站首页>About the unsupported instruction set SSE 4.2 of CPU in virtualization

About the unsupported instruction set SSE 4.2 of CPU in virtualization

2022-06-24 11:16:00 I have nothing to do with you

background :

There are two servers in the LAN proxmox Virtualized , Run some test applications . I just want to install it today clickhouse Run . Preparation before installation :

Test whether the server supports sse 4.2 Instruction set ...... as follows

[[email protected] app]# grep -q sse4_2 /proc/cpuinfo && echo "SSE 4.2 supported" || echo "SSE 4.2 not supported“"
SSE 4.2 not supported“
image.png

Suddenly I panicked , My server cpu yes intel Of How can I not support sse 4.2 Well ?

solve the problem :

1. land proxmox The host checks whether the host supports sse4.2

[email protected]:/etc/pve/qemu-server# grep -q sse4_2 /proc/cpuinfo && echo "SSE 4.2 supported" || echo "SSE 4.2 not supported“"
SSE 4.2 supported
image.png

2. land proxmox web The console is used to view the time when virtualization is created cpu To configure :

Click the corresponding virtual machine - Hardware - processor - edit

image.png

Looked at the cpu There's a category ?

image.png

There are many options in the drop-down Include AMD and intel The architecture of Yes, of course The default is kvm64. Will the problem arise here ?

3. Omnipotent Baidu ( still google well ... All know )

Baidu search proxmox sse4.2

image.png

There are similar problems in both articles , The proposed solution is to modify cpu Of mode by host-model:

Try to modify it cpu The type is host:

image.png

4. Verify success

Restart the virtual machine and log in to verify :

[[email protected] ~]# grep -q sse4_2 /proc/cpuinfo && echo "SSE 4.2 supported" || echo "SSE 4.2 not supported“"
SSE 4.2 supported
image.png

Postscript :

  1. Some thoughts about instruction set
  2. The various types of virtualization are different
  3. The arrangement of fragmented knowledge and the idea of solving problems
原网站

版权声明
本文为[I have nothing to do with you]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/06/20210604151113288U.html