Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 升级版本之后启动tiflash提示需要avx2指令
Currently, our production machine has undergone a database update to version 7.1. After the update, starting TiFlash prompts that the CPU needs to support AVX2 instructions. I checked the forum and set TiFlash with --disable-cpu-check, but this command did not take effect. I would like to ask if there are any other solutions.
In the production environment, it is temporarily not possible to roll back the version.
Physical machine or virtual machine?
Deployed on a virtual machine, the physical machine supports this instruction, but other services are deployed on this virtual machine, so the virtual machine cannot be reset.
Refer to this and make a configuration change.
I have checked this post and made the same modifications, but it did not take effect.
Or you can scale in TiFlash from this virtual machine, and then scale out TiFlash to a supported virtual machine.
Okay, let’s give it a try.
The software cannot solve the problem; it needs to be run on a supported CPU.
This should have been tested in the testing environment before being upgraded to production. How could it be done directly in production?
Two clusters, one of which was upgraded first without any issues, while the other one is not supported.
Is it possible to solve this problem by modifying the configuration?
Vector computation requires CPU support for AVX2.
That means the two environments are inconsistent, and it wasn’t discovered in advance.
Try restarting the physical machine and enabling advanced virtualization support.
It’s about virtual machines, right?
Welcome back~
Coordinate with the owners of the other services to find a suitable time to handle it. If the physical machine supports virtual machines, it should be able to support this as well.
It seems that we can only replace the supported server after going offline.
What is the configuration of the host? Can’t you check it under the virtual machine operating system?
By default, if the host supports it, the virtual machine will not be turned off.