From d9fee30b90ee678722f1bdc32e5854e9020a1843 Mon Sep 17 00:00:00 2001 From: lilin90 Date: Thu, 3 May 2018 18:08:59 +0800 Subject: [PATCH] op-guide: fix code block format at website --- op-guide/tidb-v2-upgrade-guide.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/op-guide/tidb-v2-upgrade-guide.md b/op-guide/tidb-v2-upgrade-guide.md index f981c00bcdce7..d9cebaf5832aa 100644 --- a/op-guide/tidb-v2-upgrade-guide.md +++ b/op-guide/tidb-v2-upgrade-guide.md @@ -81,19 +81,19 @@ Pay special attention to the following variables configuration. For variable mea If you have previously customized the configuration file of TiDB cluster components, refer to the backup file to modify the corresponding configuration file in `/home/tidb/tidb-ansible/conf`. -> **Note:** In TiKV configuration, `end-point-concurrency` is changed to three parameters: `high-concurrency`, `normal-concurrency` and `low-concurrency`. -> -> ``` -> readpool: -> coprocessor: -> # Notice: if CPU_NUM > 8, default thread pool size for coprocessors -> # will be set to CPU_NUM * 0.8. -> # high-concurrency: 8 -> # normal-concurrency: 8 -> # low-concurrency: 8 -> ``` -> -> For the cluster topology of multiple TiKV instances on a single machine, you need to modify the three parameters above. Recommended configuration: `number of instances * parameter value = CPU_Vcores * 0.8`. +In TiKV configuration, `end-point-concurrency` is changed to three parameters: `high-concurrency`, `normal-concurrency` and `low-concurrency`. + +``` +readpool: + coprocessor: + # Notice: if CPU_NUM > 8, default thread pool size for coprocessors + # will be set to CPU_NUM * 0.8. + # high-concurrency: 8 + # normal-concurrency: 8 + # low-concurrency: 8 +``` + +For the cluster topology of multiple TiKV instances on a single machine, you need to modify the three parameters above. Recommended configuration: `number of instances * parameter value = CPU_Vcores * 0.8`. ## Download TiDB 2.0 binary to the Control Machine