The parameter performance.max-procs controls the number of CPU cores used by tidb-server

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

Original topic: performance.max-procs 这个参数控制tidb-server使用CPU核数

| username: yulei7633

This parameter is 0 by default when viewed. What does 0 mean?
mysql> show config where name like ‘%max_proc%’;
±-----±-------------------±----------------------±------+
| Type | Instance | Name | Value |
±-----±-------------------±----------------------±------+
| tidb | 192.168.201.1:4000 | performance.max-procs | 0 |
±-----±-------------------±----------------------±------+
To add, the test machine has only one tidb-server deployed, and no multiple tidb-servers are running on a single machine. Is the default value 0 when deploying one on a single machine?

| username: 啦啦啦啦啦 | Original post link

0 means using all CPUs on the machine

| username: yulei7633 | Original post link

Thank you, thank you.

| username: system | Original post link

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