adjust readpool size by the number of cpu core#5654
Merged
zhangjinpeng87 merged 2 commits intotikv:masterfrom Oct 15, 2019
Merged
adjust readpool size by the number of cpu core#5654zhangjinpeng87 merged 2 commits intotikv:masterfrom
zhangjinpeng87 merged 2 commits intotikv:masterfrom
Conversation
Signed-off-by: zhangjinpeng1987 <zhangjinpeng@pingcap.com>
Member
Author
|
/bench |
Signed-off-by: zhangjinpeng1987 <zhangjinpeng@pingcap.com>
Member
Author
|
/bench |
breezewish
approved these changes
Oct 15, 2019
Member
breezewish
left a comment
There was a problem hiding this comment.
Documentations need to be updated accordingly.
Member
|
/run-integration-cop-push-down-test tidb-test=pr/899 |
Contributor
@@ Benchmark Diff @@
================================================================================
tidb: 1fe25e071cb02bafce8eab288838d412ef358556
--- tikv: 6f4bc8cc29f6bdcaac8f4c2b975ef994abfb3fac
+++ tikv: 41b3e9c8b2fbb2745e49ef4275509a25955382cb
pd: 82bb13a942e32f2fc6311fea66d460586a8924a0
================================================================================
test-1: < oltp_point_select >
* QPS : 138877.25 ± 0.1438% (std=155.53) delta: 43.73% (p=0.000)
* AvgMs : 1.84 ± 0.0000% (std=0.00) delta: -30.57%
* PercentileMs99 : 6.21 ± 0.0000% (std=0.00) delta: -1.74%
test-2: < oltp_read_write >
* QPS : 41579.39 ± 0.4690% (std=123.24) delta: 0.11% (p=0.358)
* AvgMs : 123.61 ± 0.4692% (std=0.36) delta: -0.12%
* PercentileMs99 : 248.83 ± 0.0000% (std=0.00) delta: 1.82%
test-3: < oltp_insert >
* QPS : 23809.54 ± 0.3289% (std=46.00) delta: -0.16% (p=0.885)
* AvgMs : 10.75 ± 0.3164% (std=0.02) delta: 0.17%
* PercentileMs99 : 21.89 ± 0.0000% (std=0.00) delta: 0.00%
test-4: < oltp_update_index >
* QPS : 19242.12 ± 0.1928% (std=27.12) delta: 0.97% (p=0.282)
* AvgMs : 13.28 ± 0.3915% (std=0.04) delta: 0.05%
* PercentileMs99 : 30.81 ± 0.0000% (std=0.00) delta: -0.00%
test-5: < oltp_update_non_index >
* QPS : 32370.31 ± 0.2018% (std=37.23) delta: 1.03% (p=0.002)
* AvgMs : 7.90 ± 0.2024% (std=0.01) delta: -1.03%
* PercentileMs99 : 20.52 ± 1.0820% (std=0.18) delta: -1.07%
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: zhangjinpeng1987 zhangjinpeng@pingcap.com
What have you changed?
Adjust readpool size by the number of cpu core, make it works better under sysbench and other benchmark cases when using default configuration value.
What is the type of the changes?
Pick one of the following and delete the others:
How is the PR tested?
Manual test (add detailed scripts or steps below)
benchmark
Does this PR affect documentation (docs) or should it be mentioned in the release notes?
Does this PR affect
tidb-ansible?No