Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: TIDB readpool详细配置咨询
【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】
Unified is the combination of those two, no need to pay separate attention to it.
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
.
OK, have you ever encountered the issue of particularly high CPU usage in the readpool during stress testing?
This thread is dedicated to reading; it’s abnormal if the stress test isn’t high.
The stress test is definitely high, and there are still some resources available, so adjustments can be made.
The resources are basically fully utilized. Mainly, I want to see if there is still room for optimization in the readpool.
No, we use as much as we get, and if it’s not enough, we queue up.