-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
The p99 of the hgetall command is ten times or even higher than that of hget #2691
Comments
测试设备 104核 256G 内存
|
cbt:在单机上启动多个 pika 时出现这个问题,但是 CPU MEM DISK 都没有达到极限 |
cbt: This problem occurs when starting multiple pikas on a single machine, but the CPU MEM DISK does not reach the limit. |
cbt: |
cbt: When starting a Pika instance on one machine, the request P99 is in 6ms; deploying two instances, the request P99 soars to 60ms |
我这边测试的场景是: |
The scenario I am testing here is: |
今天下午用最新的版本重新编译测试了下,还是可以明显看到2个pika时的P99增加很多:
|
I recompiled and tested this afternoon with the latest version. It can still be clearly seen that the P99 increased a lot when using 2 pikas:
|
wsy:有待 baitao 使用 pika 官方的 benchmark 工具进行压测 |
wsy: Wait for baitao to use pika’s official benchmark tool for stress testing |
用4.0.0版本测试单实例200G内,2个benchmark分别读取2个pika没有复现p99暴涨问题。 但是由于测试工具的限制,当前有些场景没办法去复现对比,能否改进下工具?
|
Using version 4.0.0 to test a single instance of 200G, two benchmarks read two pikas respectively and did not reproduce the p99 surge problem. However, due to the limitations of testing tools, there are currently some scenarios that cannot be reproduced and compared. Can the tools be improved?
|
Is this a regression?
Yes
Description
后续补充截图。
测试设备 104核 256G 内存
单机部署6个pika实例,每个配置3db,进程数4,线程池大小8
纯读:hget p99 < 1ms ,hgetall p99 ~ 10ms
读写时,hset + hmset + hget + hgetall p99甚至大于1s
请问下如何优化hgetall的p99?
Please provide a link to a minimal reproduction of the bug
No response
Screenshots or videos
中间部分是纯hget,p99明显降低,左侧是hget+hgetall,右侧是纯hgetall
Please provide the version you discovered this bug in (check about page for version information)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: