Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ########################################################
- # Server socket backlog size
- # Default: 50
- # See http://www.linuxjournal.com/files/linuxjournal.com/linuxjournal/articles/023/2333/2333s2.html
- ServerBindSocketBacklog = 50
- # IO execution mode
- # Default: POOLED(<cpu_core_count>)
- # - POOLED All IO operations are executed in a special thread IO execution pool.
- # - FIXED All IO operations execution is spread across fixed number of treads
- #
- IOExecutionMode = POOLED
- # Num of IO execution threads.
- # Default: -1 - Num of CPU cores.
- #
- IOExecutionThreadNum = -1
- # Income packet execution mode.
- # Default: DIRECT
- # - DIRECT - The worst. Income packets are directly executed after receiving and decrypting. As packets here implemented terribly, it not only increases latency, but decrease overall performance significant.
- # - OFFLOAD - Offloads execution to a IOExecutor(when IOExecutionMode set to POOLED) or a default ThreadPoolManager. Good option with POOLED IOExec mode. Increases throughput but also may increase context switch count.
- # - QUEUED - Same as OFFLOAD but packets are queued before execution. May decrease latency, may not.
- #
- PacketExecMode = QUEUED
- # Client socket options.
- # Default: SO_SNDBUF(4096);SO_RCVBUF(4096);TCP_NODELAY(true)
- # - SO_SNDBUF - the size of the socket's send buffer. On most systems this the size of a kernel buffer so be careful! See RFC1323.
- # - SO_RCVBUF - the size of the socket's receive buffer. On most systems this the size of a kernel buffer so be careful! See RFC1323.
- # - TCP_NODELAY - The Nagle algorithm. Enabling it increases throughput but also increases latency. See RFC1122.
- ClientSocketOptions = SO_SNDBUF(8192);SO_RCVBUF(8192);TCP_NODELAY(true)
- # Server socket options.
- # Default: SO_REUSEADDR(false);SO_RCVBUF(4096)
- # - SO_REUSEADDR - if true, prevents socket from usage until all opened sockets are really closed. See RFC793.
- ServerSocketOptions = SO_REUSEADDR(true);SO_RCVBUF(4096)
- # Size of buffer for income packets in bytes.
- # Default: 32768
- #
- RecvBufferSize = 32768
- # Type of buffer for income packets. DIRECT or HEAP
- # Default: DIRECT
- #
- RecvBufferType = DIRECT
- # Size of buffer for outcome packets in bytes.
- # Default: 65536
- #
- SendBufferSize = 65536
- # Type of buffer for outcome packets. DIRECT or HEAP
- # Default: DIRECT
- #
- SendBufferType = DIRECT
- # Enables packet logging for teriann hosts. Must be disabled during normal operation.
- # Default: false
- #
- PktDbgEnabled = false
- # Hosts for logging. Delimiters are ';' or ','
- # Example: 127.0.0.1;11.22.33.44;192.168.0.1
- #
- PktDbgHosts = 127.0.0.1
Add Comment
Please, Sign In to add comment