Skip to content

Commit fb928cd

Browse files
ixzcdataroaring
authored andcommitted
[doc]fix error brpc_num_threads default value (#3115)
## Versions - [x] dev - [x] 4.x - [x] 3.x - [x] 2.1 ## Languages - [x] Chinese - [x] English ## Docs Checklist - [ ] Checked by AI - [ ] Test Cases Built
1 parent 4bf5c14 commit fb928cd

12 files changed

Lines changed: 24 additions & 24 deletions

File tree

docs/admin-manual/config/be-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,9 @@ There are two ways to configure BE configuration items:
253253
254254
#### `brpc_num_threads`
255255
256-
* Description: This configuration is mainly used to modify the number of bthreads for brpc. The default value is set to -1, which means the number of bthreads is #cpu-cores.
256+
* Description: This configuration is mainly used to modify the number of bthreads for brpc. The default value is set to 256.
257257
- User can set this configuration to a larger value to get better QPS performance. For more information, please refer to `https://github.com/apache/incubator-brpc/blob/master/docs/cn/benchmark.md`
258-
* Default value: -1
258+
* Default value: 256
259259
260260
#### `thrift_rpc_timeout_ms`
261261

i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/config/be-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,10 @@ BE 重启后该配置将失效。如果想持久化修改结果,使用如下
257257

258258
#### `brpc_num_threads`
259259

260-
* 描述:该配置主要用来修改 brpc 中 bthreads 的数量。该配置的默认值被设置为 -1, 这意味着 bthreads 的数量将被设置为机器的 cpu 核数
260+
* 描述:该配置主要用来修改 brpc 中 bthreads 的数量。该配置的默认值被设置为 256
261261

262262
- 用户可以将该配置的值调大来获取更好的 QPS 性能。更多的信息可以参考 `https://github.com/apache/doris/blob/master/extension/DataX/doriswriter/doc/doriswriter.md`
263-
* 默认值:-1
263+
* 默认值:256
264264

265265
#### `thrift_rpc_timeout_ms`
266266

i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2/admin-manual/config/be-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,10 @@ BE 重启后该配置将失效。如果想持久化修改结果,使用如下
246246

247247
#### `brpc_num_threads`
248248

249-
* 描述:该配置主要用来修改brpc中bthreads的数量. 该配置的默认值被设置为-1, 这意味着bthreads的数量将被设置为机器的cpu核数
249+
* 描述:该配置主要用来修改brpc中bthreads的数量. 该配置的默认值被设置为 256
250250

251251
- 用户可以将该配置的值调大来获取更好的QPS性能。更多的信息可以参考 `https://github.com/apache/brpc/blob/master/docs/cn/benchmark.md`
252-
* 默认值:-1
252+
* 默认值:256
253253

254254
#### `thrift_rpc_timeout_ms`
255255

i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/admin-manual/config/be-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,10 @@ BE 重启后该配置将失效。如果想持久化修改结果,使用如下
239239

240240
#### `brpc_num_threads`
241241

242-
* 描述:该配置主要用来修改 brpc 中 bthreads 的数量。该配置的默认值被设置为 -1, 这意味着 bthreads 的数量将被设置为机器的 cpu 核数。
242+
* 描述:该配置主要用来修改 brpc 中 bthreads 的数量。该配置的默认值被设置为 256
243243

244244
- 用户可以将该配置的值调大来获取更好的 QPS 性能。更多的信息可以参考 `https://github.com/apache/brpc/blob/master/docs/cn/benchmark.md`
245-
* 默认值:-1
245+
* 默认值:256
246246

247247
#### `thrift_rpc_timeout_ms`
248248

i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/admin-manual/config/be-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,10 @@ BE 重启后该配置将失效。如果想持久化修改结果,使用如下
240240

241241
#### `brpc_num_threads`
242242

243-
* 描述:该配置主要用来修改 brpc 中 bthreads 的数量。该配置的默认值被设置为 -1, 这意味着 bthreads 的数量将被设置为机器的 cpu 核数
243+
* 描述:该配置主要用来修改 brpc 中 bthreads 的数量。该配置的默认值被设置为 256
244244

245245
- 用户可以将该配置的值调大来获取更好的 QPS 性能。更多的信息可以参考 `https://github.com/apache/brpc/blob/master/docs/cn/benchmark.md`
246-
* 默认值:-1
246+
* 默认值:256
247247

248248
#### `thrift_rpc_timeout_ms`
249249

i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/admin-manual/config/be-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,10 @@ BE 重启后该配置将失效。如果想持久化修改结果,使用如下
257257

258258
#### `brpc_num_threads`
259259

260-
* 描述:该配置主要用来修改 brpc 中 bthreads 的数量。该配置的默认值被设置为 -1, 这意味着 bthreads 的数量将被设置为机器的 cpu 核数
260+
* 描述:该配置主要用来修改 brpc 中 bthreads 的数量。该配置的默认值被设置为 256
261261

262262
- 用户可以将该配置的值调大来获取更好的 QPS 性能。更多的信息可以参考 `https://github.com/apache/brpc/blob/master/docs/cn/benchmark.md`
263-
* 默认值:-1
263+
* 默认值:256
264264

265265
#### `thrift_rpc_timeout_ms`
266266

i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/admin-manual/config/be-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,10 @@ BE 重启后该配置将失效。如果想持久化修改结果,使用如下
257257

258258
#### `brpc_num_threads`
259259

260-
* 描述:该配置主要用来修改 brpc 中 bthreads 的数量。该配置的默认值被设置为 -1, 这意味着 bthreads 的数量将被设置为机器的 cpu 核数
260+
* 描述:该配置主要用来修改 brpc 中 bthreads 的数量。该配置的默认值被设置为 256
261261

262262
- 用户可以将该配置的值调大来获取更好的 QPS 性能。更多的信息可以参考 `https://github.com/apache/doris/blob/master/extension/DataX/doriswriter/doc/doriswriter.md`
263-
* 默认值:-1
263+
* 默认值:256
264264

265265
#### `thrift_rpc_timeout_ms`
266266

versioned_docs/version-1.2/admin-manual/config/be-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,9 @@ There are two ways to configure BE configuration items:
238238
239239
#### `brpc_num_threads`
240240
241-
* Description: This configuration is mainly used to modify the number of bthreads for brpc. The default value is set to -1, which means the number of bthreads is #cpu-cores.
241+
* Description: This configuration is mainly used to modify the number of bthreads for brpc. The default value is set to 256.
242242
- User can set this configuration to a larger value to get better QPS performance. For more information, please refer to `https://github.com/apache/incubator-brpc/blob/master/docs/cn/benchmark.md`
243-
* Default value: -1
243+
* Default value: 256
244244
245245
#### `thrift_rpc_timeout_ms`
246246

versioned_docs/version-2.0/admin-manual/config/be-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,9 @@ There are two ways to configure BE configuration items:
229229
230230
#### `brpc_num_threads`
231231
232-
* Description: This configuration is mainly used to modify the number of bthreads for brpc. The default value is set to -1, which means the number of bthreads is #cpu-cores.
232+
* Description: This configuration is mainly used to modify the number of bthreads for brpc. The default value is set to 256.
233233
- User can set this configuration to a larger value to get better QPS performance. For more information, please refer to `https://github.com/apache/brpc/blob/master/docs/cn/benchmark.md`
234-
* Default value: -1
234+
* Default value: 256
235235
236236
#### `thrift_rpc_timeout_ms`
237237

versioned_docs/version-2.1/admin-manual/config/be-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,9 @@ There are two ways to configure BE configuration items:
230230
231231
#### `brpc_num_threads`
232232
233-
* Description: This configuration is mainly used to modify the number of bthreads for brpc. The default value is set to -1, which means the number of bthreads is #cpu-cores.
233+
* Description: This configuration is mainly used to modify the number of bthreads for brpc. The default value is set to 256.
234234
- User can set this configuration to a larger value to get better QPS performance. For more information, please refer to `https://github.com/apache/brpc/blob/master/docs/cn/benchmark.md`
235-
* Default value: -1
235+
* Default value: 256
236236
237237
#### `thrift_rpc_timeout_ms`
238238

0 commit comments

Comments
 (0)