TiDB 6.5 Unable to Install TiFlash

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tidb6.5无法安装tiflash

| username: fluent

[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]

| username: Minorli-PingCAP | Original post link

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.

| username: 我是咖啡哥 | Original post link

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.

| username: solotzg-PingCAP | Original post link

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.

| username: fluent | Original post link

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.

| username: 裤衩儿飞上天 | Original post link

:+1: :+1: :+1:

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.