Skip to content

Commit

Permalink
Update size-your-cluster.md (#16201)
Browse files Browse the repository at this point in the history
  • Loading branch information
qqqdan authored Jan 24, 2024
1 parent 59b0f18 commit 1a2e816
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tidb-cloud/size-your-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ The supported vCPU and RAM sizes include the following:
- 4 vCPU, 16 GiB
- 8 vCPU, 16 GiB
- 16 vCPU, 32 GiB
- 32 vCPU, 64 GiB

> **Note:**
>
Expand Down Expand Up @@ -88,6 +89,7 @@ The supported vCPU and RAM sizes include the following:
- 8 vCPU, 32 GiB
- 8 vCPU, 64 GiB
- 16 vCPU, 64 GiB
- 32 vCPU, 128 GiB

> **Note:**
>
Expand Down Expand Up @@ -169,6 +171,7 @@ The supported node storage of different TiKV vCPUs is as follows:
| 4 vCPU | 200 GiB | 2048 GiB | 500 GiB |
| 8 vCPU | 200 GiB | 4096 GiB | 500 GiB |
| 16 vCPU | 200 GiB | 6144 GiB | 500 GiB |
| 32 vCPU | 200 GiB | 6144 GiB | 500 GiB |

> **Note:**
>
Expand All @@ -186,6 +189,7 @@ The supported vCPU and RAM sizes include the following:

- 8 vCPU, 64 GiB
- 16 vCPU, 128 GiB
- 32 vCPU, 256 GiB

Note that TiFlash is unavailable when the vCPU and RAM size of TiDB or TiKV is set as **4 vCPU, 16 GiB**.

Expand All @@ -209,6 +213,7 @@ The supported node storage of different TiFlash vCPUs is as follows:
|:---------:|:----------------:|:----------------:|:--------------------:|
| 8 vCPU | 200 GiB | 2048 GiB | 500 GiB |
| 16 vCPU | 200 GiB | 2048 GiB | 500 GiB |
| 32 vCPU | 200 GiB | 2048 GiB | 500 GiB |

> **Note:**
>
Expand Down
25 changes: 25 additions & 0 deletions tidb-cloud/tidb-cloud-performance-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,28 @@ Test results:
| Read Only | 300 | 77238.30 | 4827.39 | 62.14 | 102.97 |
| Read Write | 200 | 58241.15 | 2912.06 | 68.67 | 97.55 |
| Write Only | 700 | 68829.89 | 11471.65 | 61.01 | 101.13 |

## 32 vCPU performance

Test scales:

- TiDB (32 vCPU, 64 GiB) \* 1; TiKV (32 vCPU, 128 GiB) \* 3
- TiDB (32 vCPU, 64 GiB) \* 2; TiKV (32 vCPU, 128 GiB) \* 3

Test results:

**TiDB (32 vCPU, 64 GiB) \* 1; TiKV (32 vCPU, 128 GiB) \* 3**

| Transaction model | Threads | QPS | TPS | Average latency (ms) | P95 latency (ms) |
|-------------------|---------|----------|---------|----------------------|------------------|
| Read Only | 300 | 83941.16 | 5246 | 57.20 | 87.6 |
| Read Write | 250 | 71290.31 | 3565 | 70.10 | 105.0 |
| Write Only | 700 | 72199.56 | 12033 | 58.20 | 101.0 |

**TiDB (32 vCPU, 64 GiB) \* 2; TiKV (32 vCPU, 128 GiB) \* 3**

| Transaction model | Threads | QPS | TPS | Average latency (ms) | P95 latency (ms) |
|-------------------|---------|-----------|----------|----------------------|------------------|
| Read Only | 650 | 163101.68 | 10194 | 63.8 | 99.3 |
| Read Write | 450 | 123152.74 | 6158 | 73.1 | 101 |
| Write Only | 1200 | 112333.16 | 18722 | 64.1 | 101 |

0 comments on commit 1a2e816

Please sign in to comment.