Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tidb6.5无法安装tiflash
[Test Environment] Testing environment
[TiDB Version] 6.5.0
[Reproduction Path]
[Encountered Problem: Problem Phenomenon and Impact]
The test environment server does not support the AVX2 instruction set, so TiFlash cannot be installed. Is there any other solution?
Lower versions can install TiFlash, but the current version of TiFlash cannot be used without this instruction set. Can it be adapted?
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]
When deploying TiFlash on a Linux AMD64 hardware platform, the CPU must support the AVX2 instruction set. By using the AVX2 instruction set, TiFlash’s vectorized engine can provide better performance.
When upgrading TiFlash from versions prior to v6.3.0 to v6.3.0 and later, special attention is required: When deploying TiFlash on a Linux AMD64 architecture hardware platform, the CPU must support the AVX2 instruction set. When deploying TiFlash on a Linux ARM64 architecture hardware platform, the CPU must support the ARMv8 architecture. For details, please refer to the description in the 6.3.0 version Release Notes.
The AVX2 instruction set was released around 2011, and mainstream cloud providers’ environments already support it by default. It is recommended to configure the CPU architecture of virtual machines to Haswell.
Thank you, bro. The test environment uses a virtual machine.
Solution: Add the following configuration to the virtual machine configuration file
, host-passthrough will fully expose the physical machine’s CPU features to the virtual machine, and that will do.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.