Skip to content

Commit

Permalink
Update benchmark-sysbench-v4-vs-v3 (pingcap#3574)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joyinqin authored Aug 7, 2020
1 parent 04a0cbe commit 042b49e
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions benchmark/benchmark-sysbench-v4-vs-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,24 +151,60 @@ sysbench $testname \

### Point Select performance

| Threads | v3.0 QPS | v3.0 95% latency (ms) | v4.0 QPS | v4.0 95% latency (ms) | QPS improvement |
|:----------|:----------|:----------|:----------|:----------|:----------|
| 150 | 117085.701 | 1.667 | 118165.1357 | 1.608 | 0.92% |
| 300 | 200621.4471| 2.615 | 207774.0859 | 2.032 | 3.57% |
| 600 | 283928.9323| 4.569 | 320673.342 | 3.304 | 12.94% |
| 900 | 343218.2624| 6.686 | 383913.3855 | 4.652 | 11.86% |
| 1200 | 347200.2366| 8.092 | 408929.4372 | 6.318 | 17.78% |
| 1500 | 366406.2767| 10.562 | 418268.8856 | 7.985 | 14.15% |

Compared with v3.0, the Point Select performance of TiDB v4.0 has increased by 14%.

![Point Select](/media/sysbench-v4vsv3-point-select.png)

### Update Non-index performance

| Threads | v3.0 QPS | v3.0 95% latency (ms) | v4.0 QPS | v4.0 95% latency (ms) | QPS improvement |
|:----------|:----------|:----------|:----------|:----------|:----------|
| 150 | 15446.41024 | 11.446 | 16954.39971 | 10.844 | 9.76% |
| 300 | 22276.15572| 17.319 | 24364.44689 | 16.706 | 9.37% |
| 600 | 28784.88353| 29.194 | 31635.70833 | 28.162 | 9.90% |
| 900 | 32194.15548| 42.611 | 35787.66078 | 38.942 | 11.16% |
| 1200 | 33954.69114| 58.923 | 38552.63158 | 51.018 | 13.54% |
| 1500 | 35412.0032| 74.464 | 40859.63755 | 62.193 | 15.38% |

Compared with v3.0, the Update Non-index performance of TiDB v4.0 has increased by 15%.

![Update Non-index](/media/sysbench-v4vsv3-update-non-index.png)

### Update Index performance

| Threads | v3.0 QPS | v3.0 95% latency (ms) | v4.0 QPS | v4.0 95% latency (ms) | QPS improvement |
|:----------|:----------|:----------|:----------|:----------|:----------|
| 150 | 11164.40571 | 16.706 | 11954.73635 | 16.408 | 7.08% |
| 300 | 14460.98057| 28.162 | 15243.40899 | 28.162 | 5.41% |
| 600 | 17112.73036| 53.85 | 18535.07515 | 50.107 | 8.31% |
| 900 | 18233.83426| 86.002 | 20339.6901 | 70.548 | 11.55% |
| 1200 | 18622.50283| 127.805 | 21390.25122 | 94.104 | 14.86% |
| 1500 | 18980.34447| 170.479 | 22359.996 | 114.717 | 17.81% |

Compared with v3.0, the Update Index performance of TiDB v4.0 has increased by 17%.

![Update Index](/media/sysbench-v4vsv3-update-index.png)

### Read-write performance

| Threads | v3.0 QPS | v3.0 95% latency (ms) | v4.0 QPS | v4.0 95% latency (ms) | QPS improvement |
|:----------|:----------|:----------|:----------|:----------|:----------|
| 150 | 43768.33633 | 71.83 | 53912.63705 | 59.993 | 23.18% |
| 300 | 55655.63589| 121.085 | 71327.21336 | 97.555 | 28.16% |
| 600 | 64642.96992| 223.344 | 84487.75483 | 176.731 | 30.70% |
| 900 | 68947.25293| 325.984 | 90177.94612 | 257.95 | 30.79% |
| 1200 | 71334.80099| 434.829 | 92779.71507 | 344.078 | 30.06% |
| 1500 | 72069.9115| 580.017 | 95088.50812 | 434.829 | 31.94% |

Compared with v3.0, the read-write performance of TiDB v4.0 has increased by 31%.

![Read Write](/media/sysbench-v4vsv3-read-write.png)

0 comments on commit 042b49e

Please sign in to comment.