Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 单台服务器混合部署集群
|
username: EDG-给我冲
Dear community members,
I currently have a server with a 2-way CPU, totaling 40 cores and 80 threads, 256G of memory, and 4 500G SSDs. I want to deploy a TiDB cluster on this machine with the following structure:
- tidb-server: 2
- pd: 3
- tikv: 3
If I want each KV to use 20G of memory and 8C of CPU, and each tidb-server to use 16G of memory, how should I use numactl to achieve this? The official documentation is quite concise, so I hope you can provide some guidance. Thank you, everyone.