You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2022/07/20 03:19:22 UTC

[shardingsphere] branch master updated: Refactor performance test doc (#19380)

This is an automated email from the ASF dual-hosted git repository.

panjuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new a3a0d80b950 Refactor performance test doc (#19380)
a3a0d80b950 is described below

commit a3a0d80b9508f464b2e7504831785d96045b1b9c
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Wed Jul 20 11:19:16 2022 +0800

    Refactor performance test doc (#19380)
    
    * Refactor performance test doc
    
    * Refactor performance test doc
---
 .../benchmarksql-proxy-sharding-test.en.md               |  9 ++++-----
 .../performance-test/sysbench-proxy-norules-test.en.md   | 16 ++++++----------
 2 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/docs/document/content/test-manual/performance-test/benchmarksql-proxy-sharding-test.en.md b/docs/document/content/test-manual/performance-test/benchmarksql-proxy-sharding-test.en.md
index 70507c98e06..f67377acbb0 100644
--- a/docs/document/content/test-manual/performance-test/benchmarksql-proxy-sharding-test.en.md
+++ b/docs/document/content/test-manual/performance-test/benchmarksql-proxy-sharding-test.en.md
@@ -1,16 +1,15 @@
 +++
-title = "BenmarkSQL ShardingSphere Proxy Sharding Performance Test"
+title = "BenchmarkSQL ShardingSphere-Proxy Sharding Performance Test"
 weight = 2
 +++
 
-# BenmarkSQL ShardingSphere Proxy Sharding Performance Test
 ## Objective
 
-BenchmarkSQL tool is used to test the sharding performance of ShardingSphere Proxy.
+BenchmarkSQL tool is used to test the sharding performance of ShardingSphere-Proxy.
 
 ## Method
 
-ShardingSphere Proxy supports the TPC-C test through [BenchmarkSQL 5.0](https://sourceforge.net/projects/benchmarksql/).
+ShardingSphere-Proxy supports the TPC-C test through [BenchmarkSQL 5.0](https://sourceforge.net/projects/benchmarksql/).
 In addition to the content described in this document, BenchmarkSQL is operated according to the original document `HOW-TO-RUN.txt`.
 
 ## Fine tuning to test tools
@@ -97,7 +96,7 @@ user=benchmarksql
 password=PWbmsql
 ```
 
-### ShardingSphere Proxy server.yaml parameter recommendations
+### ShardingSphere-Proxy server.yaml parameter recommendations
 
 The default value of `proxy-backend-query-fetch-size` is -1. Changing it to about `50` can minimize the number of fetch for multi-row result sets.
 
diff --git a/docs/document/content/test-manual/performance-test/sysbench-proxy-norules-test.en.md b/docs/document/content/test-manual/performance-test/sysbench-proxy-norules-test.en.md
index 7ba06a4ef44..6e3f627c9c8 100644
--- a/docs/document/content/test-manual/performance-test/sysbench-proxy-norules-test.en.md
+++ b/docs/document/content/test-manual/performance-test/sysbench-proxy-norules-test.en.md
@@ -1,15 +1,13 @@
 +++
-title = "SysBench ShardingSphere Proxy Null Rule Performance Test"
+title = "SysBench ShardingSphere-Proxy Empty Rule Performance Test"
 weight = 1
 +++
 
-# SysBench ShardingSphere Proxy Null Rule Performance Test
-
 ## Objectives
 
 Compare the performance of ShardingSphere-Proxy and MySQL
 1. Sysbench directly carries out stress testing on the performance of MySQL.
-2. Sysbench directly carries out stress testing on ShardingSphere-Proxy (directly connect MySQL). 
+1. Sysbench directly carries out stress testing on ShardingSphere-Proxy (directly connect MySQL). 
 
 Based on the above two groups of experiments, we can figure out the loss of MySQL when using ShardingSphere-Proxy.
 
@@ -18,8 +16,8 @@ Based on the above two groups of experiments, we can figure out the loss of MySQ
 ### Server information
 
 1. Db-related configuration: it is recommended that the memory is larger than the amount of data to be tested, so that the data is stored in the memory hot block, and the rest can be adjusted.
-2. ShardingSphere-Proxy-related configuration: it is recommended to use a high-performance, multi-core CPU, and other configurations can be customized.
-3. Disable swap partitions on all servers involved in the stress testing.
+1. ShardingSphere-Proxy-related configuration: it is recommended to use a high-performance, multi-core CPU, and other configurations can be customized.
+1. Disable swap partitions on all servers involved in the stress testing.
 
 ### Database
 
@@ -76,7 +74,6 @@ dataSources:
     minPoolSize: 200 # The minimum ConnPool is set to ${the number of concurrencies in stress testing}, which is consistent with the number of concurrencies in stress testing to shield the impact of connections initialization in the process of stress testing.
 
 rules: []
-
 ```
 
 ## Test phase
@@ -133,11 +130,10 @@ Latency (ms):
 Threads fairness:
     events (avg/stddev):           6985.9250/34.74                      # On average, 6985.9250 events were completed per thread, and the standard deviation is 34.74
     execution time (avg/stddev):   119.9977/0.01                        # The average time of each thread is 119.9977 seconds, and the standard deviation is 0.01
-
 ```
 
 ### Noticeable features
 
 1. CPU utilization ratio of the server where ShardingSphere-Proxy resides. It is better to make full use of CPU.
-2. I/O of the server disk where the DB resides. The lower the physical read value is, the better.
-3. Network IO of the server involved in the stress testing. 
+1. I/O of the server disk where the DB resides. The lower the physical read value is, the better.
+1. Network IO of the server involved in the stress testing.