New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange behavior of TiKV: performance not increase when adding more load test client while TiKV server is idle #3566
Comments
There maybe a bottleneck in some threads, you can use |
Below config has benn made: _grpc-concurrency = 64 grpc-thread and normal-concurrency thread cpu usage is about 40-60%, and no end-point thread is displayed in top outputs. |
What kind of payload is it? Pure write? Pure read? Or mixed? |
Pure batchGet operation, details as below: Env: TiKV cluster of 6-node(64Core, 256G Mem, NVME disk 4T) with 3-billion data(key size : 8-bytes, value size < 50Byte), using TiKVRawClient doing BatchGet(300 keys one batch). |
|
For readpool config in which section, readpool.storage or readpool.coprocessor? [readpool.storage] [readpool.coprocessor] |
And which is the key point depends on your former bottleneck. So what is the highest usage thread before? |
Seems that you are requesting from KV API. Would you like to share us your output of I guess the performance is limited by "xxx-concurrency" configuration in readpool.storage section. Your output will help us confirm the cause. |
Env: TiKV cluster of 6-node(64Core, 256G Mem, NVME disk 4T) with 3-billion data(key size : 8-bytes, value size < 50Byte), using TiKVRawClient doing BatchGet(300 keys one batch).
Strange behavior found when adding more clients: TiKV server throughputs are not increasing by adding more load test clients(more TiKVRawClient), while TiKV server is less than 50% CPU usage, many threads idle.
Is there any traffic control/throttle in TiKV server? Or some parameter should be tuned?
Thanks.
The text was updated successfully, but these errors were encountered: