Skip to content
Permalink
Browse files
expose netty threads num config to bk_server.conf (#3173)
### Motivation
#1612 this PR make the Netty io threads number configurable, but doesn't expose to the `bk_server.conf`. This parameter will be usually changed in performance tuning especially deploy this bookie on bare metal which have many cpus. For operation engineer who is unfamiliar with the source code will be hard to do performance tuning.

### Changes
Expose this parameter configuration into `bk_server.conf` and website. And add more explanation about it.
  • Loading branch information
hangc0276 committed Apr 13, 2022
1 parent 78c0ca5 commit 1b648a8be00597094a0ef5005ee4d692d9b8770a
Showing 1 changed file with 5 additions and 0 deletions.
@@ -148,6 +148,11 @@ extraServerComponents=
# reduce the number of threads in the main workers pool and Netty event loop to only have few CPU cores busy.
# enableBusyWait=false

# This is the number of threads used by Netty to handle TCP connections.
# Default is 2 * Runtime.getRuntime().availableProcessors()
# serverNumIOThreads=


#############################################################################
## Long poll request parameter settings
#############################################################################

0 comments on commit 1b648a8

Please sign in to comment.