The virtual machine vCPU of Workspace does not support the SSE 4.2 instruction set.

2023-12-12 16:08:04 Published
  • 0 Followed
  • 0Collected ,1572Browsed

Network Topology

Null

Cloud computing products that include virtual machines, such as CAS, UIS, WorkSpace, etc., all involve this issue.

Problem Description

Some software in the virtual machine will throw an error during runtime, such as "incompatible CPU detected! Missing instruction sets: SSSE3, SSE4.1, SSE4.2". This error means that the CPU is not compatible and cannot detect these CPU instruction sets: SSSE3, SSE4.1, SSE4.2.


Process Analysis

We need to pay attention to the CPU working mode of the virtual machine for this issue. When creating a virtual machine on Workspace, the default working mode of the virtual machine is compatibility mode. In this mode, different models of physical CPUs are virtualized into the same model of vCPUs, which has good migration compatibility and is generally recommended for most scenarios. However, vCPUs only support basic CPU instruction sets. When software needs to detect CPU SSSE3 and SSE4 instruction sets, passthrough mode needs to be used. Passthrough mode directly passes the physical CPU model to the virtual machine for use, but migration compatibility is poor. When the CPU models of the host in the cluster are inconsistent, migration may have problems.

In general, the virtual machine CPU instruction set support in compatibility mode includes: MMX, SSE, SSE2, SSE3, EM64T.

CPU instruction set support in direct mode virtual machines: MMW, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, EM64T, AES, AVX, AVX2, AVX512F, FMA3, TSX.

Solution

Change the CPU working mode of the virtual machine to passthrough mode. Modify the path as follows: find the corresponding virtual machine in the data center, click "Modify", and make the changes on the "CPU" page. Note that the virtual machine needs to be restarted for the changes to take effect.

Please rate this case:   
0 Comments

No Comments

Add Comments: