Consultation on Detailed Configuration of TiDB Readpool

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

Original topic: TIDB readpool详细配置咨询

| username: residentevil

【TiDB Usage Environment】Production Environment
【TiDB Version】v6.1.7
【Reproduction Path】If readpool.unified configuration is used in tikvserver, then readpool.storage and readpool.coprocessor configurations need to be considered.
【Encountered Problem: Problem Phenomenon and Impact】

| username: 大飞哥online | Original post link

Unified is the combination of those two, no need to pay separate attention to it.

| username: tidb菜鸟一只 | Original post link

The document here states that if your readpool.storage.use-unified-pool is set to false or if there are other configurations under readpool.storage, the storage thread pool-related configuration items are managed separately through the relevant parameters of readpool.storage. The same applies to readpool.coprocessor.

| username: residentevil | Original post link

OK, have you ever encountered the issue of particularly high CPU usage in the readpool during stress testing?

| username: Soysauce520 | Original post link

This thread is dedicated to reading; it’s abnormal if the stress test isn’t high.

| username: 大飞哥online | Original post link

The stress test is definitely high, and there are still some resources available, so adjustments can be made.

| username: residentevil | Original post link

The resources are basically fully utilized. Mainly, I want to see if there is still room for optimization in the readpool.

| username: 大飞哥online | Original post link

No, we use as much as we get, and if it’s not enough, we queue up.